I'm not much of a gamer, but I am partial to the occasional Pirates! or Patrician II.
Before playing those games, I run a Windows batch file that turns off un-needed services and applications so my computer is in top gaming shape. Ideally I'd love to shut down anti-virus checkers, my firewall software, desktop search engines, etc. - all the stuff that runs in the background using CPU cycles or RAM - but the reality is that I need most of those functions of my computer to keep running.
I have seen tips (for example, here and there) showing how to use NET STOP to stop unnecessary services. There's even a complete tool for the job called FSAutoStart (I haven't tried it though).
I use NET STOP (as detailed in the links above) from a batch file, and another batch file and a REG file to stop my screensaver. My disclaimer is, “It works on my machine!“ (Windows 2003 Server). Here's the batch file to stop the screensaver (I call it “screen saver off.bat“):
REG DELETE "HKCU\Control Panel\Desktop" /v SCRNSAVE.EXE /f
REG IMPORT "screen saver off.reg"
It calls a REG file “screen saver off.reg”:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Control Panel\Desktop]
"ScreenSaveActive"="0"
Of course, don't go running these files unless you understand the consequences! The first file removes a key in the registry called “SCRNSAVE.EXE“ that points to the current screensaver (usually an SCR file), and the REG file sets the screen saver to “None”. Doing one of these steps alone is not enough.
The problem is that once I have executed “screen saver off.bat”, I need to go into my Display properties and turn the screen saver back on the next time the computer starts. Well, not really...there is a script to do the reverse (I have called it “screen saver on.bat”):
REG IMPORT "screen saver on.reg"
This file calls “screen saver on.reg”:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Control Panel\Desktop]
"ScreenSaveActive"="1"
"SCRNSAVE.EXE"="C:\\PROGRA~1\\Webshots\\webshots.scr"
The “screen saver on.bat“ batch file simply imports the second file, which sets the screen saver to be active, and also adds a key to tell Windows which SCR file to run (in my case, Webshots). I believe you have to use the MS-DOS name for the SCRNSAVE.EXE key.
Apart from that, all screensaver settings are kept (like amount of time before starting). To put my computer back to normal after running “screen saver off.bat“, I have put a shortcut to “screen saver on.bat“ in my Startup folder. In a small way, I have found these simple scripts helpful to get my PC ready for gaming.