I thought this was interesting...feed back? Drawbacks?

From: Mark Minasi's Windows 2000/NT Newsletter
Issue #17 September 2001

An Innovative Way To Combat E-Mail Viruses
I recently whined aloud in the e-mail newsletter that I do for Windows 2000
Magazine (get it free at http://www.win2000mag.net/email/#) about how bloody
tired I was that people are still opening attachments without looking
closely at them.  Reader Brian Davis had a great idea:  redefine the VBS,
Javascript, REG and similar files so that the default when you click on them
is not to EXECUTE... but to OPEN them.  Brilliant and, like most great
ideas, should have obvious from the beginning!  You can, of course, still
run scripts -- but you must do it by right-clicking them and choosing
"Execute" or "Run" instead of "Open."  Here's Brian's Regedit script to make
this happen:

REGEDIT4
[HKEY_LOCAL_MACHINE\Software\CLASSES\WSHFile]
"EditFlags"=hex:00,00,00,00
[HKEY_LOCAL_MACHINE\Software\CLASSES\WSHFile\Shell]
@="Edit"
[HKEY_LOCAL_MACHINE\Software\CLASSES\WSHFile\Shell\Edit]
"EditFlags"=hex:01,00,00,00
[HKEY_LOCAL_MACHINE\Software\CLASSES\WSHFile\Shell\Edit\command]
@="C:\\Windows\\Notepad.exe \"%1\""
[HKEY_LOCAL_MACHINE\Software\CLASSES\VBSFile]
"EditFlags"=hex:00,00,00,00
[HKEY_LOCAL_MACHINE\Software\CLASSES\VBSFile\Shell]
@="Edit"
[HKEY_LOCAL_MACHINE\Software\CLASSES\JSFile]
"EditFlags"=hex:00,00,00,00
[HKEY_LOCAL_MACHINE\Software\CLASSES\JSFile\Shell]
@="Edit"
[HKEY_LOCAL_MACHINE\Software\CLASSES\ShellScrap]
"EditFlags"=hex:00,00,00,00
[HKEY_LOCAL_MACHINE\Software\CLASSES\ShellScrap\shell]
@="Edit"
[HKEY_LOCAL_MACHINE\Software\CLASSES\ShellScrap\shell\Edit]
"EditFlags"=hex:01,00,00,00
[HKEY_LOCAL_MACHINE\Software\CLASSES\ShellScrap\shell\Edit\command]
@="C:\\Windows\\Notepad.exe \"%1\""
[HKEY_LOCAL_MACHINE\Software\CLASSES\regfile]
"EditFlags"=hex:00,00,00,00
[HKEY_LOCAL_MACHINE\Software\CLASSES\regfile\shell]
@="edit"
[HKEY_LOCAL_MACHINE\Software\CLASSES\htmlfile\shell]
@="edit"
[HKEY_LOCAL_MACHINE\Software\CLASSES\mhtmlfile]
"EditFlags"=hex:00,00,00,00
[HKEY_LOCAL_MACHINE\Software\CLASSES\mhtmlfile\shell]
@="Edit"
[HKEY_LOCAL_MACHINE\Software\CLASSES\mhtmlfile\shell\Edit]
"EditFlags"=hex:01,00,00,00
[HKEY_LOCAL_MACHINE\Software\CLASSES\mhtmlfile\shell\Edit\command]
@="C:\\Windows\\Notepad.exe \"%1\""
[HKEY_LOCAL_MACHINE\Software\CLASSES\xmlfile\shell]
@="Edit"
[HKEY_LOCAL_MACHINE\Software\CLASSES\xmlfile\shell\Edit]
"EditFlags"=hex:01,00,00,00
[HKEY_LOCAL_MACHINE\Software\CLASSES\xmlfile\shell\Edit\command]
@="C:\\Windows\\Notepad.exe \"%1\""
[HKEY_LOCAL_MACHINE\Software\CLASSES\xslfile\shell]
@="Edit"
[HKEY_LOCAL_MACHINE\Software\CLASSES\xslfile\shell\Edit]
"EditFlags"=hex:01,00,00,00
[HKEY_LOCAL_MACHINE\Software\CLASSES\xslfile\shell\Edit\command]
@="C:\\Windows\\Notepad.exe \"%1\""
[HKEY_LOCAL_MACHINE\Software\CLASSES\chm.file]
"EditFlags"=hex:00,00,00,00
[HKEY_LOCAL_MACHINE\Software\CLASSES\chm.file\shell]
@="Edit"
[HKEY_LOCAL_MACHINE\Software\CLASSES\chm.file\shell\Edit]
"EditFlags"=hex:01,00,00,00
[HKEY_LOCAL_MACHINE\Software\CLASSES\chm.file\shell\Edit\command]
@="C:\\Windows\\Notepad.exe \"%1\""
[HKEY_LOCAL_MACHINE\Software\CLASSES\VBEFile]
"EditFlags"=hex:00,00,00,00
[HKEY_LOCAL_MACHINE\Software\CLASSES\VBEFile\Shell]
@="Edit"
[HKEY_LOCAL_MACHINE\Software\CLASSES\JSEFile]
"EditFlags"=hex:00,00,00,00
[HKEY_LOCAL_MACHINE\Software\CLASSES\JSEFile\Shell]
@="Edit"
[HKEY_LOCAL_MACHINE\Software\CLASSES\WSFFile]
"EditFlags"=hex:00,00,00,00
[HKEY_LOCAL_MACHINE\Software\CLASSES\WSFFile\Shell]
@="Edit"

List Charter and FAQ at:
http://www.sunbelt-software.com/exchange_list_charter.htm

Reply via email to