DISCOVER
×

How to Fix Windows Script Host

Updated April 17, 2017

If you are experiencing script host issues, you might notice error messages such as "Library not registered." Script host issues occur when scripting components do not exist in the Windows registry, according to Microsoft. Your version of Windows determines how the missing scripting components affect your system. You can repair script host problems by using your PC's native features.

Press the "Windows" key. Type "cmd" in the dialogue box and press "Enter." This will open the Command Prompt.

Type the following commands at the prompt one at a time and press "Enter:"

regsvr32 %systemroot%\system32\vbscript.dll

regsvr32 %systemroot%\system32\jscript.dll

regsvr32 %systemroot%\system32\dispex.dll

regsvr32 %systemroot%\system32\scrobj.dll

regsvr32 %systemroot%\system32\scrrun.dll

regsvr32 %systemroot%\system32\wshext.dll

regsvr32 %systemroot%\system32\wshom.ocx

Exit the Command Prompt.

Press the "Windows" key. Type "cmd" in the dialogue box and press "Enter." This will open the Command Prompt.

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

Exit the Command Prompt.

Cite this Article A tool to create a citation to reference this article Cite this Article

About the Author

A family therapist and graduate of the University of Louisville, Tyran DeWalt has written relationship and holistic self-care practice advice for close to a decade. DeWalt relishes in being able to combine his zeal for writing and his commitment to assisting people manage everyday life challenges.