加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Windows > 正文

Fix: Windows Script Host access is disabled on this machine

发布时间:2020-12-14 02:42:24 所属栏目:Windows 来源:网络整理
导读:If you receive this Windows Script Host access is disabled on this machine,Contact your administrator for details message box,on your Windows 10/8/7 computer,then this post may interest you. Today we will see how you can enable or disable

If you receive this Windows Script Host access is disabled on this machine,Contact your administrator for details message box,on your Windows 10/8/7 computer,then this post may interest you. Today we will see how you can enable or disable Windows Script Host.

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 malware” 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_MACHINESoftwareMicrosoftWindows Script HostSettings


In the right 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.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读