eraser is installed on 15 machines at work, but upon installation it creates these shell extension options on the recycle bin...i found how to remove them, but rather than navigate the registry on each machine, i'd like to use a script (.exe, .bat, whatever...i don't know this stuff) to remove these entries on each machinesee this site for exactly what i'm trying to do: http://forums.majorgeeks.com/showthread.php?t=159224also, let's say that a future version of eraser doesn't install these shell extensions...i would imagine that this script (once it's written) would simply try to remove something that wasn't there anyway, so it wouldn't cause any problems (meaning i could just keep and use this script forever)...yes?thanks!
8/16/2008 8:40:16 PM
http://support.microsoft.com/kb/310516
8/16/2008 8:51:24 PM
^ awesome...if anyone wants it, it's:
Windows Registry Editor Version 5.00[-HKEY_CLASSES_ROOT\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\Shell\Erasext][-HKEY_CLASSES_ROOT\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\Shell\Erasext2][-HKEY_CLASSES_ROOT\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\Shell\Erasext3][-HKEY_CLASSES_ROOT\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\Shell\Erasext4][-HKEY_CLASSES_ROOT\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\Shell\Erasext5][-HKEY_CLASSES_ROOT\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\Shell\Erasext6][-HKEY_CLASSES_ROOT\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\Shell\Erasext7][-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\Shell\Erasext]
8/16/2008 9:01:45 PM
if you use reg.exe, you can do this on remote machines, without having to login to each one. if these are AD machines, just push your reg file that way. also, you can make your own installer for eraser in the future that runs the reg file right after install and push it the same way. if you dont have access to create msi's, use winrar and just add commands to execute after extraction, then add your app and script to the archive
8/16/2008 9:30:49 PM
don't listen to smoothcrim, he's a batch script whore. vbscript is the language of choice for windows scripting.
set objReg = GetObject("winmgmts:\\" & strComputer & "\root\default:StdRegProv")intReturn = objReg.DeleteValue(HKLM, strKey, strName)
8/17/2008 1:30:49 AM
DON'T CALL HIM A BATCH SCRIPT WHORETHEY ARE ALL THAT IS SPECIAL TO ME OK
8/17/2008 1:35:31 AM
8/17/2008 3:33:59 AM
QFT
8/17/2008 8:37:28 AM