To activate or deactivate the Windows Script Host, type regedit.exe in the Run box and press Enter to open the Registry Editor. But disabling WSH will prevent users from running scripts, including VBScript and JScript scripts, which rely on this technology – and some software may require this feature to be activated. Some “HTML malware” has been reported because it uses WSH objects, people who don’t need this feature, tend to disable it. This can be run either from wscript.exe protected-mode Windows-based host, or cscript.exe real-command shell-based host mode. The script can be run directly from the desktop by double-clicking the script file, or from the command prompt. Windows Script Host or WSH, is a Microsoft technology that provides scripting capabilities such as batch files, but includes more features.
If you receive the message “Windows Script Host access is disabled on this machine, contact your administrator for details” on Windows 10/8/7 on your computer, then to enable or disable the Windows Script Host. Fixing: “Windows Script Host access is disabled on this machine”