Forever Breathes The Lonely Word
Peter Hahndorf's IT Blog
Navigation for Forever Breathes The Lonely Word - Batch files to stop junk processes on public Windows XP boxes
Content
Sidebar
Footer
March 21, 2010
@ 11:08 PM
Comments [0]
Batch files to stop junk processes on public Windows XP boxes
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
Categories:
IT Pro
|
Work on the road
Related posts:
Windows Media Center tries to connect to missing Windows Home Server
Changing the location of Windows Special Folders on the command line
Keylogger on Hostel computers
A small tool to monitor Windows Scheduled Tasks
A portable virtual Windows via Linux on a bootable USB drive
Intellitype disappeared and wouldn't come back
« Work around Sysinternals license pop-ups...
|
Home
|
Stopping resistant Windows services. »
All comments require the approval of the site owner before being displayed.
Name
E-mail
Home page
Remember Me
Comment (Some html is allowed:
a@href@title, b
) where the @ means "attribute." For example, you can use <a href="" title=""> or <blockquote cite="Scott">.
Enter the code shown (prevents robots):
Live Comment Preview
Search
About the Author
Short biography
-
Contact Me
RSS/Subscribe
Categories
ASP.Net (25)
Community (4)
IT Pro (19)
Security (1)
SQL Server (3)
Tools (9)
Web (4)
Work on the road (11)
Archives
All dates
-
All Posts
Latest Posts
Windows Media Center tries to connect to missing Windows Home Server
Using the Google Custom Search API via jQuery
Changing the location of Windows Special Folders on the command line
Keylogger on Hostel computers
Manually installing Glimpse 0.82 for web forms
Return a limited but random selection of rows per category
Use the Glimpse beta with asp.net web forms
A small tool to monitor Windows Scheduled Tasks
A portable virtual Windows via Linux on a bootable USB drive
Categories
ASP.Net
Community
IT Pro
Security
SQL Server
Tools
Web
Work on the road
Archives
January, 2012 (2)
December, 2011 (2)
May, 2011 (4)
April, 2011 (1)
March, 2011 (1)
February, 2011 (1)
January, 2011 (2)
December, 2010 (1)
October, 2010 (1)
July, 2010 (2)
March, 2010 (4)
October, 2009 (3)
September, 2009 (1)
June, 2009 (3)
April, 2009 (1)
March, 2009 (1)
February, 2009 (1)
June, 2008 (1)
May, 2008 (1)
March, 2008 (1)
February, 2008 (1)
November, 2007 (1)
October, 2007 (2)
September, 2007 (1)
July, 2007 (2)
December, 2006 (4)
November, 2006 (2)
October, 2006 (1)
September, 2006 (2)
August, 2006 (4)
July, 2006 (9)
BlogRoll
Chris Sells
Clemens Vasters
Coding Horror
Dot Net Kicks
Leaning Into Windows
Least Privilege
Mark's Blog
MSDN
MSDN Magazine
Nikhil Kothari
Non-Admin
Onion Blog
Patterns and Practice
Scott Guthrie
Scott Hanselman
Windows Server Division