'Fix Error 1606
Option Explicit

Dim WSHShell, m, MyBox, p, itemtype, Title
Dim FSO, WinFolder

Set FSO = CreateObject("Scripting.FileSystemObject")
Set WinFolder = fso.GetSpecialFolder(0)
Set FSO = Nothing

WinFolder = Left(WinFolder,3)

Set WSHShell = WScript.CreateObject("WScript.Shell")
p = "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\"
p = p & "Common Administrative Tools"
itemtype = "REG_SZ"
m = WinFolder & "Documents and Settings\All Users\Start Menu\Programs\Administrative Tools"

WSHShell.RegWrite p, m, itemtype
Title = "Common Administrative Tools are now reset." & vbCr
Title = Title & "You may need to ReBoot to take effect"
MyBox = MsgBox(Title,64,"Finished")