It seems like your browser didn't download the required fonts. Please revise your security settings and try again.

PRB: 64 Bit Versions of cscript.exe or wscript.exe cannot call functions from the Policy/Compliance SDK

  • Type: Knowledgebase
  • Date changed: 3 years ago
Solution #00007531


ArchiveOne Enterprise, all versions



When running a script that interacts and calls function from the Policy/Compliance SDK on a Windows 2008 (or higher) platform, the script fails to run with an error similar to the following:

"Microsoft VBScript runtime error: ActiveX component can't create object: "


This is caused by Windows 2008 (or higher) using the 64 bit versions of CSCRIPT.EXE or WSCRIPT.EXE by default. Since the Policy/Compliance SDK is 32 bit, these applications have issues when interacting
with the Policy/Compliance SDK.


Run the script from a CMD prompt using 32 bit copies of CSCRIPT.EXE or WSCRIPT.EXE located in "C:\WINDOWS\SYSWOW64"

*Example:  C:\WINDOWS\SYSWOW64\cscript yourscript.js

Running the csript.exe or wscript.exe from the SYSWOW64 folder will call the 32bit version of the program and you will not receive the error mentioned above.