Friday, May 25, 2012

How to Fix Windows Script Host


Register Components on 32-Bit Systems
1. Press the 'Windows' key. Type 'cmd' in the dialog box and press 'Enter.' This will open the Command Prompt.
2. Type the following commands at the prompt one at a time and press 'Enter:'regsvr32 %systemroot%\system32\vbscript.dllregsvr32 %systemroot%\system32\jscript.dllregsvr32 %systemroot%\system32\dispex.dllregsvr32 %systemroot%\system32\scrobj.dllregsvr32 %systemroot%\system32\scrrun.dllregsvr32 %systemroot%\system32\wshext.dllregsvr32 %systemroot%\system32\wshom.ocx
3. Exit the Command Prompt.
Register Components on 64-bit Systems
4. Press the 'Windows' key. Type 'cmd' in the dialog box and press 'Enter.' This will open the Command Prompt.
5. Type the following commands at the prompt one at a time and press 'Enter:'%systemroot%\system32\regsvr32 %systemroot%\system32\vbscript.dll%systemroot%\system32\regsvr32 %systemroot%\system32\jscript.dll%systemroot%\system32\regsvr32 %systemroot%\system32\dispex.dll%systemroot%\system32\regsvr32 %systemroot%\system32\scrobj.dll%systemroot%\system32\regsvr32 %systemroot%\system32\scrrun.dll%systemroot%\system32\regsvr32 %systemroot%\system32\wshext.dll%systemroot%\system32\regsvr32 %systemroot%\system32\wshom.ocx
6. Exit the Command Prompt.