How To Fix Windows Script Host Error
Some users may find the error to be a virus or a malware that their Windows PC has been infected to, however that is not the case. Script Host Error occurs on your Windows 10 PC when there is an error with the VBScript file, the files contains codes that are used to perform administrative and processing functions within Windows. This error usually occurs during the startup of your computer. In this latest installment of our troubleshooting series, we will tackle how to fix Windows 10 Script Host Errors.
Fix Windows Script Host Error
There are several factors that can be the root cause this particular error ranging from a corrupt VBS script file to an error in the Registry Editor that usually occurs when new programs are being installed in your operating system in which in some case older versions of the programs were not completely uninstalled.
Before performing the recommended troubleshooting steps to Fix Windows Script Host Error, its best to restart your computer first. This action refreshes the operating system and remove any corrupt temporary data that could be causing the problem.
Step 1: Run System File Checker
Estimate Cost : 0
Time Needed : 4 minutes
System File Checker is a tool that scans your computer system for any corrupt files and restores them. Try this step as there have been reports from users that this works with numerous computer related problems and this Script Error as well.
Here’s how to Run System File Checker:
Type Command Prompt at the search bar located at the lower left of your Windows 10.
Alternatively, you can just type ‘cmd’.Right click on Command Prompt Result and click Run as Administrator from the drop down menu.
This will give you more admin privileges.At Elevated Command prompt window, type the command “sfc /scannow” and press the Enter Key
Windows will now scan the computer system and will automatically fix corruptions if there are any. Wait for the scan to complete.
Exit Command Prompt window
After scan is complete and Windows Resource Protection did not find any integrity violations.
Tools
- Command prompt
Materials
- Windows 10
After Running System File Checker, check if Windows 10 Script Host Errors still occurs.
Step 2: Set the Default Value of .vbs key
To do this:
- Press Windows key + R on your keyboard to open RUN dialog box.
- At RUN dialog box, type “regedit” and press Enter or click OK to open Registry Editor
- At left pane, double click HKEY_CLASSES_ROOT folder to expand it
- Locate and click .vbs folder at the left pane.
- Double click Default located at the right pane.
- Set the Default Value data to VBSFile Default Value
- Click OK to apply changes made.
- Exit Registry Editor window.
Check if Windows Script Host Error issue still occurs.
Step 3: Deleting the VMapplet and WinStations
To do this:
- Press Windows key + R on your keyboard to open RUN dialog box.
- At RUN dialog box, type “regedit” and press Enter or click OK to open the Registry Editor
- At left pane, click HKEY_LOCAL_MACHINE folder to expand it.
- Click on SOFTWARE folder to expand it.
- Locate and click MICROSOFT folder to expand it.
- Locate and click WINDOWS NT folder to expand it.
- Click CurrentVersion Folder to expand it.
- Locate and click on Winlogon Folder.
- At the Right pane of Winlogon folder, locate VMapplet and WinStationsDisabled entries. These are entries right after the entry userinit exe. Highlight both entries and click Delete from the drop down menu.
- Exit Registry Editor window
- Restart your PC
Check if Windows Script Host Errors still occurs.
Step 4: Perform a Clean Boot Process to fix Windows Script Host Error
A clean boot boot process is a troubleshooting technique that you can do on your Windows 10 PC. It is used to identify an application that can cause Script Host Error to occur. Try to perform a clean boot process and see if the issue will be fixed.
- Press Windows key + R on your keyboard to open RUN dialog box.
- At RUN dialog box, type “msconfig” and press Enter or click OK to open System Configuration.
- At General tab of System Configuration, choose Selective Startup tab.
- Uncheck the option “Load Startup items”
- Click on Services tab
- Click to check Hide all Microsoft services.
- Click Apply to apply changes made
- Click OK to exit system configurations window.
- Restart your PC.
Once computer completely reboots, check if Windows Script Host Errors still occurs.
After following the mentioned steps above, you will successfully Fix Windows Script Host Error issue.