What I did will prevent errors to the best of my knowledge (errors with missing vbscript or wscript engine): (This changes the association of vbs file to notepad) Thus if an enduser downloads or trys to open a vbs file it simply opens in notepad (on NT it says can't find the path for notepad.exe)I put the following call in my login script:
REGEDIT.EXE /s J:\VBSNOTEP.REG
Contents of VBSNOTE.REGREGEDIT4
[HKEY_CLASSES_ROOT\VBSFile]
"EditFlags"=hex:00,00,00,00
[HKEY_CLASSES_ROOT\VBSFile\Shell]
@=""
[HKEY_CLASSES_ROOT\VBSFile\Shell\Edit]
"EditFlags"=hex:01,00,00,00
[HKEY_CLASSES_ROOT\VBSFile\Shell\Open]
"EditFlags"=hex:01,00,00,00
[HKEY_CLASSES_ROOT\VBSFile\Shell\Open2]
"EditFlags"=hex:01,00,00,00
[HKEY_CLASSES_ROOT\VBSFile\Shell\Open2\Command]
@="C:\\WINDOWS\\COMMAND\\notepad.exe \"%1\" %*"
[HKEY_CLASSES_ROOT\VBSFile\Shell\Open\Command]
@="C:\\WINDOWS\\Notepad.exe \"%1\" %*"
[HKEY_CURRENT_USER\Software\Microsoft\Windows Scripting Host]
[HKEY_CURRENT_USER\Software\Microsoft\Windows Scripting Host\Settings]
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\UserAssist\{5E6AB780-7743-11CF-A12B-00AA004AE837}\Count]
"HRZR_EHAJZPZQ"=hex:01,00,00,00,12,00,00,00
"HRZR_EHAJZPZQ:0k2,n123"=hex:01,00,00,00,0a,00,00,00
------------------
Steve Agnew
MCSE since 1997
SteveAgnew@aol.com
[This message has been edited by SteveAgnew (edited 01 June 2000).]