Calling the SafeGuard Enterprise API from the command line or double clicking a SafeGuard Enterprise API script results in an error:
Error: Could not create object named "Utimaco.SafeGuard.AdministrationConsole.Scripting.Base".
Source: WScript.CreateObject / CScript.CreateObject
First seen in
SafeGuard Management Center / Local Policy Editor
SafeGuard Enterprise Server
Windows 7 x64
Windows Server 2008 x64
Windows Server 2008 R2 x64
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.