Fix- Windows script host error in windows 10

Are you seeing an error message like “Windows Script Host access is disabled on this machine.” while running a script on your computer? If you are indeed facing this issue, there is a very simple registry fix for this problem. Just follow these easy steps-


ADVERTISEMENT

Fix – Modify Registry Editor

You need to enable Microsoft Script Host on your computer through Registry Editor.

NOTE

After opening Registry Editor, click on “File” and then on the “Export” to create the backup.

If anything goes wrong you can retrieve your registry simply by importing the backup.

1. Click on the Search box and then type “regedit“.


ADVERTISEMENT

2. Then, hit ‘Enter‘ key from the keyboard

 

Regedit New Press Enter

 

3. Go to this location-

Computer\HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows Script Host\Settings

 

4. On the right-hand side of the window, double click on “EnabledDWORD value.

 

Double Click Enabled

 

5. Set the ‘Value data:‘ to “1“.

6. Now, click on “OK” to save the change.

 


ADVERTISEMENT

Set The Data Ok

 

Close Registry Editor window.

Reboot your computer.

That’s it! After rebooting your computer you can easily run any script without any error. Your problem is solved.

ADVERTISEMENT