If you find receive which says Windows Script Host access is disabled on this machine, Contact your administrator for details on your Windows 10,9 or 7 computer then follow this article to solve this issue.
What is Windows Script Host (WSH)?
WSH is a Software technology it provides scripting abilities like batch files and many more features basically it is an administration tool Windows operating system.You can run such script with two methods using a desktop by double clicking on a script and another method is using the command line.It can also be run from either the protected mode Windows-based host which is Wscript.exe or using the real mode command shell based host which is Cscript.exe.
How to Enable Windows Host Script on Windows Machine
To Enable Windows host script on your Windows machine follow steps
- Go to start menu on your Windows computer and enter Run on its search bar then type Regedit on its panel.
- Now navigate to HKEY_LOCAL_MACHINE\Software\Microsoft\Windows Script Host\Settings.
Now in the left panel, you will see a enabled option if you see an entry with 0 that means Windows script host access is disabled on your computer.
Double click on it and give the value 1 to enable it.
- A value 1 means Windows Script host is enabled in your machine.
- A value 0 means Windows Script host is disabled in your machine.
Now click on OK button and exit the Registry section if you didn’t find this entry on your Windows machine then you have to create this entry it does not exist by default in Windows machine.
In this way, you can disable or enable Windows script host on your Windows machine after that you will no longer see the error the Windows Script host is disabled on this machine so what you think about this setting of windows let us know by your comments.