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