[FIX] Windows Script Host Access Is Disabled On This Machine

In this article, learn how to fix Windows Script Host access is disabled on this machine error via simple registry manipulation on Windows 10/8.1/8/7.

Kapil Arya
11x Microsoft MVP · Admin
2 min read
Add as a preferred
source on Google

In Windows family of operating systems (OSes), Windows Script Host provides scripting ability to the machine. It has different features to work on, such as processing of login scripts, administrative management and so on. Windows Script Host settings on the OS can be accessed by running wscript.exe command. Interested users may get to know Windows Script Host in depth, on Wikipedia.

Now, this article talks about a known issue related Windows Script Host. In some cases, users may came around following message while running scripts or while normally operating the OS:

Windows Script Host access is disabled on this machine. Contact your administrator for details.

FIX Windows Script Host Access Is Disabled On This Machine Error In Windows 10

If you’re getting this message, you’re simply blocked from running scripts and in some cases, you machine may not operate normally. So how to fix this problem? Well, there is simple registry solution that you can apply in this situation and fix up the error.

Here’s how:

FIX: Windows Script Host Access Is Disabled On This Machine Error In Windows 10/8.1/8/7

Registry Disclaimer: The further steps will involve registry manipulation. Making mistakes while manipulating registry could affect your system adversely. So be careful while editing registry entries and create a System Restore point first.

1. Press W8K + R and put regedit in Run dialog box to open Registry Editor (if you’re not familiar with Registry Editor, then click here). Click OK.

Windows 10 Registry Editor

2. In left pane of Registry Editor window, navigate to following registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Script Host\Settings

FIX Windows Script Host Access Is Disabled On This Machine Error In Windows 10

3. In the right pane of Settings registry key, look for the Enabled name registry DWORD (REG_DWORD). Its Data might be set to 0 in your case, which is the root cause of this issue. Double click on the DWORD to modify its Value data:

FIX Windows Script Host Access Is Disabled On This Machine Error In Windows 10

4. Finally, set the Value data to 1. Click OK. Close Registry Editor and reboot to make changes effective.

After restart the error message should no longer appear.

Hope this helps!

Share this article
https://www.kapilarya.com/fix-windows-script-host-access-is-disabled-on-this-machine-windows-10

Shareable URL

Article by

Kapil Arya
11x Microsoft MVP · Admin

Kapil holds Microsoft MVP title in Windows IT Pro expertise, 11-times in a row (2014-2025). He is 8-times Windows Insider MVP as well, and author of 'Windows Group Policy Troubleshooting' book. In 2015, Microsoft India accomplished him as 'Windows 10 Champion'. Being passionate Windows blogger, he loves to help others on fixing their system issues. Kapil has worked with official Microsoft Community Engagement Team (CET) on several community projects. You can subscribe him for news/updates and fixes for Windows.

3 Comments
Abongile

HI I DID ALL THE ABOVE INSTRUCTION BUT THERE IS NO ‘ENABLE’ THERE SO WHAT MUST I DO?

Keyns Metellus

This worked. Thank you

Kapil Arya Author

^^ Glad it helped 😊

Leave a Comment

Your email address will not be published. Required fields are marked *