Error: 'The post-migration script failed. hr=0x800a01a8'. (NETIQKB40525)

  • 7740525
  • 02-Feb-2007
  • 14-Dec-2007


Domain Migration Administrator 6.x

Domain Migration Administrator 7.x

Error: 'The post-migration script failed. hr=0x800a01a8'.

Error: 'Script Engine extension returned a Failed result hr=0x800a01a8'.

The error code 0x800a01a8 translates to "Object Required", which means that an object specified in the script is not defined. The undefined object could be a standard scripting object, a custom function, or a subroutine.  This issue could occur if the function, subroutine, or object definition is placed after the End Sub delimiter in the scripting window interface.

Make sure the entire custom script is placed between the Sub Process and End Sub delimiters that exist by default in the Domain Migration Administrator (DMA) Scripting window. The first line in the scripting window should read Sub Process, and the corresponding End Process should be the very last line in the scripting window.


Please refer to the following Microsoft article for more information on this error message:

Additional Information

Formerly known as NETIQKB40525