By 26 Giugno 2014

WScript.CreateObject: Could not locate automation class named “WScript.Shell”

Eseguendo un VBS (cscript) si riceve il messaggio di errore:

WScript.CreateObject: Could not locate automation class named “WScript.Shell”.

personalmente ho risolto “registrando” nuovamente queste librerie:

regsvr32.exe jscript.dll
regsvr32.exe vbscript.dll
regsvr32.exe wshom.ocx
regsvr32.exe msxml3.dll
regsvr32.exe -i shell32.dll
regsvr32.exe OLEAUT32.DLL

Posted in: Server, Windows 2003

About the Author:

shared on wplocker.com