
How to Fix Windows Script Host is Access Disabled on This Machine in Windows 10/8/7 – Windows Script Host (WSH) is a default feature from Microsoft to run scripts such as Visual Basic (VB) or Java on your computer.
If the Windows Script House has been activated by default, then it allows the system administrator to automate numerous processes on a Windows through scripts such as network drivers and printer connections.
If the Windows Script Host on your computer is off or disabled, there will be multiple kinds of error depends on the Windows version:
- Windows 7 and 8: host script run.vbs
- Windows 10: Windows Script Host access is disabled on this machine. Contact your administrator for details
So, how do you fix it completely?
How to Fix Windows Script Host Access is Disabled on Windows
Actually, there are 3 effective tips to fix the Windows Script Host error and none of them requires any third-party software:
Fixing Windows Script Host Error Using MSConfig
Do you know what is MSConfig? It’s basically a system utility on Windows to troubleshoot the startup process.
To use it, first, press the Windows + R on your keyboard together, then type ‘msconfig‘ and click OK.

After that, the System Configuration window will appear. Uncheck the Load startup items.

Go to the Services tab and check the Hide all Microsoft services, then click Disable all. Don’t forget to click OK.

Now, the first step to activate the Windows Script Host has been done, if it doesn’t work, go to the next step.
How to Fix Windows Script Host Error Using Registry Editor
Another way to fix the error on Windows Script Host is using Registry Editor, it’s a tool in the Windows 10/8/7 that allows authorized users to view the Windows registry and make some changes.
Run the Registry Editor on your computer/laptop, it’s quite the same as the way to open MSConfig above.
Do the Windows + R combo, type ‘regedit‘, and Enter.

By doing this, the Registry Editor will be opened.

Now find these 2 registry:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows Script Host\Settings
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows Script Host\Settings
You don’t need to search it manually, just copy and paste it into the search bar on Registry Editor, then Enter.
If you have found it, double click on Enabled and change the Value Data to 1, then OK.

- Value Data 1 will enable the Windows Script Host
- Value Data will disable the Windows Script Host
Don’t forget to do the same thing on all 2 registry.
After that, reboot your computer to apply the settings and you won’t see the ‘Windows Script Host Access is disabled on this machine‘ error again.
How to Fix the ‘Enabled’ Option in Registry Editor Doesn’t Exist
Okay, if you can’t find the Enabled option in Registry Editor, don’t worry. Follow our following tips to fix that issue.
Right click on the blank space in Registry Editor, then click on DWORD (32-bit) Value.

Reminder: Even though your computer/laptop is 64-bit, you must select the DWORD (32-bit) Value option.
Next, rename the New Value to Enabled. Just as an image below:

Then, double click on it and change the Value data to 1.

Done! Please go to the third tip to fix the ‘Windows Script Host Access is disabled on this machine‘ error if the problem still remains.
Troubleshooting Windows Script Host Access is Disabled Using Command Prompt
The last effective tip you can try to fix the WHS error is by using Command Prompt or CMD. How to use it?
First, open the CMD by pressing Windows + R together, then type ‘cmd‘ and click OK.
After that, copy this script below one by one and paste it on CMD, then Enter
REG DELETE “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Script Host\Settings” /v Enabled /f
REG DELETE “HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows Script Host\Settings” /v Enabled /f

Wait until the process is finished.
And it’s done! Now the ‘Windows Script Host Access is disabled on this machine‘ error is fixed completely. Please let us know if you have another solution besides our 3 tips above. Hope this is helpful and thanks!