hi all, is there a way to make mru-blaster run at shutdown without installing a shutdown launcher or similar programs? thanks
Code: On Error Resume Next Dim WshShell, oNet, fso, usr Set WshShell = Wscript.CreateObject("Wscript.Shell") Set oNet=createobject("WScript.Network") Set fso = CreateObject("Scripting.FileSystemObject") usr=oNet.UserName strCmd = ("mrublaster.exe -silent") WshShell.CurrentDirectory = "C:\Program Files\MRU-Blaster" WshShell.Run strCmd,1,TRUE fso.DeleteFile "C:\Documents And Settings\" & usr & "\Local Settings\Temp\*.*" fso.DeleteFolder "C:\Documents and settings\" & usr & "\Local Settings\Temp\*.*", True Yes. I call it in my logoff script. For info about adding a logoff script see http://www.microsoft.com/windows2000/en/server/help/default.asp?url=/windows2000/en/server/help/gptext_logoffscripts.htm http://www.microsoft.com/technet/treeview/default.asp?url=/technet/prodtechnol/winxppro/proddocs/gptext_logoffscripts.asp Only works for XP/2K. Copy the above text and save it as logoff.vbs then add it to the local Group Policy as described on the above pages.