SAP Note 1539676 - Scripting on windows 64 bit: CreateObject fails

Component : Graphical User Interface -

Solution : https://service.sap.com/sap/support/notes/1539676 (SAP Service marketplace login required)

Summary :
SAP Note addresses an issue where VBS scripts using CreateObject("Sapgui.ScriptingCtrl.1") fail with an ActiveX error in 64-bit Windows environments due to compatibility problems with the 32-bit SAP GUI interface. Symptoms include the error message "ActiveX component can't create object, Code: 800A01AD". The underlying issue stems from attempting to execute the script using a 64-bit script engine which is incompatible with the 32-bit SAP GUI scripting interface. To resolve this, users must launch the script using the specifically designed 32-bit versions of wscript.exe or cscript.exe contained within the System32 or SysWOW64 directories depending on the starting context, whether it be via Windows Explorer or command line.

Key words :
general windows 32-64 bit compatibility issue, symptom sap gui scripting, prerequisites program error solution, console based script host, terms sap gui, -click context menu, command line window, \windows\syswow64\cscript, \windows\syswow64\wscript, vbs script file

Related Notes :

1053737Expected release dates for SAP GUI for Windows & ITS Patches
563161SAP GUI, SAP ITS & SAP IGS patches on Service Marketplace
535308How to apply a SAP Front End patch?
330793Downloading patches