VbScrirpt Registry Modification

This article describes how to fix the IconWindow shutdown problem using VBScript. The shutdown problem occurs on computers with the Symantec Ghost Client installed.

Step 1

Before making any changes to the registry we need to make a backup copy of the registry by exporting it. Open the registry editor by clicking on Start and clicking Run. Type "regedit" without the quotes and press 'Enter'

Step 2
Export the registry as PreIconWindowFix.reg by clicking on File, Export, and typing "PreIconWindowFix" without the quotes in the 'File name:' box. Make sure 'All' is selected under 'Export range' and click Save.

Step 3
Open Notepad by clicking on Start and clicking Run. Type "regedit" without the quotes and press 'Enter'

Step 4
Copy and paste the following script into Notepad:

strKey = "SOFTWARE\Microsoft\Windows\CurrentVersion\Run"
strValue = "NGTray"
strComputer = "."

Const HKLM = &H80000002

Set oReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & strComputer & "\root\default:StdRegProv")

'Deletes the registry entry which starts NGTray.exe
oReg.DeleteValue HKLM,strKey,strValue

Step 5
Save the file as IconWindowFix.vbs by clicking on File, Save As, and typing "IconWindowFix.vbs" without the quotes in the 'File name:' box. Next click the drop down arrow next to the 'Save as type:' box, select 'All Files', and click Save.

Step 6

Exit out of Notepad and double click on IconWindowFix.vbs to run the script.

Post a Comment

Previous Post Next Post