Starting the AD mapping operation.
Failed to create the GPR Scripting object. Please make sure you are running this script on machine that has a GPA installation. ERROR:80040154:Could not create object named "faGPRRoot.faGPRRoot".
If you are running GPA on a 64-bit platform, you need to run the offline mirror batch file using a 32-bit command prompt window. On a 64-bit computer, you can access the 32-bit command prompt window from the %WINDIR%\SysWOW64 folder.
Before you run the offline mirror batch file, you need to add the domain in the GP Repository corresponding to the Active Directory domain. The GP Repository domain will contain the GPOs you synchronize from Active Directory. If you have already added this domain and if it contains the DomainName - Unlinked GPOs category or a category with the same name as the source domain in Active Directory, you need to either rename or delete this category before running the offline mirror batch file located on Appendix B of User Guide from a GPA Console installed on x64 machine, these script will only executed from x86 command line console located on c:\WINDOWS\SysWOW64\cmd.exe
The workaround is to use the 32 bit command prompt when executing the scripts, and script based batch files when running on 64-bit machines.
The failures occur because the default command prompt (cmd.exe) on a x64 box is a 64 bit process. The scripting host that is being used is also a 64 bit process. Since the GPA components run under emulation mode on a 64 bit platform, APIs that create the GPA COM objects will fail when invoked from a 64 bit process. It would be necessary to use a 32 bit command prompt to execute the batch file and any other scripts