Hmmmm... how would I modify the script to leave Explorer AND Systray
running?
| Hi LuDean,
|
| Forcibly killing processes is not the best way of closing the
applications.
| If an app does not terminate correctly, contact the manufacturer to
fix the
| problem.
|
| >> shut down all processes except systray and explorer
|
| **WARNING**: As said above, forcibly killing tasks is not at all
| recommended, and is to be used only as a last resort.
|
| EndItAll utility from PCMag (not a freeware)
|
http://www.google.com/search?&q=enditall
|
| Or you can write your own WMI script. Example:
|
| - - -
| strComputer = "."
| Set objWMIService = GetObject("winmgmts:" _
| & "{impersonationLevel=impersonate}!\\" & strComputer &
"\root\cimv2")
|
| Set colProcessList = objWMIService.ExecQuery _
| ("Select * from Win32_Process")
|
| For Each objProcess in colProcessList
| If objProcess.Name <> "explorer.exe" Then
| objProcess.Terminate()
| End If
| Next
| - - -
|
| This terminates all the running applications (except explorer.exe
| instances). Copy the code to Notepad and save as killproc.vbs and
run it.
|
| **WARNING**: As said above, forcibly killing tasks is not at all
| recommended, and is to be used only as a last resort.
|
| --
| Regards,
|
| Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
| Windows® XP Troubleshooting
http://www.winhelponline.com
|
|
message
| | I have an unruly program that just does not get along with anything
| else. To humor it, I'd like to find a process killer that, with a
| click or two of a mouse, will automatically shut down all processes
| except systray and explorer. Anyone know what program can do this
and
| where I can get it?
|
|
|