Batch files to stop junk processes on public Windows XP boxes
21 March 2010
The first thing I do when getting to a new public XP machine is to run a few batch files to
stop a whole bunch of processes that are not needed while I do my work.
This only works if I am an administrator, but sadly enough on most public machines this is still the case.
Also most machines run DeepFreeze, so any changes I make are undone at the next reboot.
The batch files I am using are:
- FixRegistry.cmd fixes some things in the registry, which makes it easier to execute the other batch files.
- saj.cmd (stop-all-junk): stops unneeded services and kills many common unwanted applications
- sas.cmd (stop-all-services): stops additional services that are not really needed.
- sarj.cmd (stop-all-root-junk): Stops some processes that I can not stop as a normal admin,
I need to run it with this special command:
psexec.exe -s C:\bin\sarj.cmd
This runs the batch as the "System" user, make sure you use the full path to the batch file.
You can download the batch files from my download page
If you don't already have the SysInternals PsTools package, you can download it here