Fix: Windows Script Host access is disabled on this machine

If you receive this Windows Script Host access is disabled on this machine, Contact your administrator for details message box, then this post will show you how to enable Windows Script Host.

Windows Script Host access is disabled on this machine

Windows Script Host access is disabled on this machine

Windows Script Host or WSH, is a Microsoft technology that provides scripting abilities like batch files, but includes many more features. Such Scripts can be run directly from the desktop by double-clicking a script file, or from a command prompt. It can be run from either the protected-mode Windows-based host wscript.exe, or the real-mode command shell-based host cscript.exe.

Several “HTML viruses” have been reported to use WSH objects as a result of which, those who do not require this feature, tend to disable it. But disabling WSH, will prevent users from running any scripts, including VBScript and JScript scripts, that rely on this technology – and some software may require this feature to be enabled.

Enable, disable Windows Script Host

To enable or disable Windows Script Host, type regedit.exe in Run box and hit Enter to open the Registry Editor.

Navigate to the following key:

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows Script Host\Settings

enable disable Windows Script Host
In the left panel, you will see Enabled. If you see the entry 0, it means that the Windows Script Host access is disabled on your Windows machine.

Double Click on it and give it Value Data 1 to enable it.

  • A value of 1 will enable Windows Script Host
  • A value of 0 will disable Windows Script Host.

Click on OK and exit the Registry. If you don’t see this entry, then you may need to create it, as it does not exist by default in Windows.

You will now, no longer receive the Windows Script Host access is disabled on this machine. In this way you can enable or disable Windows Script Host.

Posted by on , in Category Windows with Tags
Anand Khanse aka HappyAndyK is an end-user Windows enthusiast, a Microsoft MVP in Windows, since 2006, and the Admin of TheWindowsClub.com. Please create a System Restore Point before trying out any software & be careful about any third-party offers while installing freeware. Add me on Google+.
  • http://maryleedesigns.com/wh2h-radio.html MsLavender

    Thanks so much for the simple instructions with screenshots. I usually create a System Restore point before changing anything in the registry, but I got the “access is disabled” message with no access to System Restore. No idea why – I’ve used it before, and I know my cat didn’t change it.
    ~ML, Windows 8.1; HP Pavilion p6-2330 PC

  • http://www.thewindowsclub.com Anand Khanse

    Glad it helped you. :)

  • vibha

    sir actually in my laptop there is no any option of run or command prompt.. i searched every where in the machine so how can i open run window or command prompt.. and command prompt is also not found in accessories folder.. plz help me how can i fix ths problm

  • http://www.thewindowsclub.com Anand Khanse

    Which Windows version are you using?

  • MkayEcribCArtman

    YOU. YOU SIR. ARE MY SAVIOR. everytime i’m playing league for the past hour, the windows script came up every godamn 30 secondsnow its gone c:

  • http://www.thewindowsclub.com Anand Khanse

    Thank you for the kind words. :)

  • Santhosh

    I have a similar prob as Vibha. I am using Windows xp. Could you please let know a way out of this. :-)

  • http://www.thewindowsclub.com Anand Khanse

    Can you search for CMD ?

  • santhosh h

    sir actually i was using windows 8
    when i run that regedit.exe it was not running and i was not getting any windows opened what may be the reason………
    and no application in my system is opening

  • Recent Comments