Using Command

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

using command-line

REG DELETE "HKCU\SOFTWARE\Microsoft\Windows Script Host\Settings" /v Enabled /f

REG DELETE "HKLM\SOFTWARE\Microsoft\Windows Script Host\Settings" /v Enabled /f

Using the Registry Editor

Press WinKey + R to bring up the Run dialog.

Type regedit.exe

Delete the value named Enabled in following keys:

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.

Exit the Registry Editor.

Use Task Manager to find the script file name

Let the script error window be on the screen. Don’t dismiss it yet.

Disconnect your computer from the internet.

Open Task Manager (Ctrl + Shift + Esc) and click the Details tab.

Right-click the column header, click Select Columns.

Enable the Command line checkbox and click OK.

You might also like