The SafeGuard Enterprise Scripting API only runs as a 32-bit application. Due to the fact that Win32 base components were not ported to 64 bit, the Scripting API cannot be run as a 64-bit application.

What To Do

Instead of calling cscript.exe /wscript.exe from the command prompt directly, call the scripting API from a 32-bit shell or use %SYSTEMROOT%\SysWOW64\cscript.exe / %SYSTEMROOT%\SysWOW64\cscript.exe instead.