Fix: Windows Script Host access is disabled on this machine
Your system must not be connected to a domain, if so contact your network administrator. These few steps will help you enable the Windows Script Host restriction if you need to run a JavaScript or Vbscript.
Enable Windows Script Host access?
1. Press Windows Key + R, and type regedit.exe
2. Navigate to the following key and delete the value named Enabled from there:
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows Script Host\Settings
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Script Host\Settings
If a key doesn’t exist, ignore and check the next key.
3. Exit the Registry Editor.
Enable Windows Script Host access using command-line
To do this using command-line, run the command prompt as admin and execute these commands:
REG DELETE “HKCU\SOFTWARE\Microsoft\Windows Script Host\Settings” /v Enabled /f
REG DELETE “HKLM\SOFTWARE\Microsoft\Windows Script Host\Settings” /v Enabled /f
Done!
Thanks. It’s Work
THANKS IT WORKED FOR ME
Thanks it worked
Thanks it worked for me