DPTSI

DIREKTORAT PENGEMBANGAN TEKNOLOGI DAN SISTEM INFORMASI
August 09, 2018 02:08

How to Enable Windows Script Host

Oleh : ernis | | Source : -

Fixing: “Windows Script Host access is disabled on this machine”

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.

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

Some “HTML malware” has been reported because it uses WSH objects, people who don’t need this feature, tend to disable it. 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.

Enable, Disable Windows Script Host

To activate or deactivate the Windows Script Host, type regedit.exe in the Run box and press Enter to open the Registry Editor.
Navigate to the following keywords:
“HKEY_LOCAL_MACHINE\Software\Microsoft\Windows Script Host\Settings”

WSH-2

In the right panel, you will see Enable. If you see 0 entries, it means that Windows Script Host access is disabled on your Windows.
Double Click and in Data Value type 1 to activate it.

  • Value 1 will activate the Windows Script Host
  • A value of 0 will disable the Windows Script Host.

Click OK and exit the registry editor. If you don’t see this registry editor, then you need to make it because it doesn’t exist by default in Windows.
And now you are no longer receiving the message “Windows Script Host access is disabled on this machine”. This way you can activate or deactivate the Windows Script Host.

Source: http://www.thewindowsclub.com/windows-script-host-access-is-disabled-on-this-machine

Related News