Stopping Services for better gaming

Status
Not open for further replies.

SuperCheetah

Posts: 704   +1
I found this little trick over at www.overclockersclub.com . It involves making a batch file that stops all the services and background tasks that aren't necessary when you are gaming. This is supposed to give you the extra memory space taken up by the services and more cpu cycles, etc. It's quite simple really, I just did it having never made a batch file before. Anyway, on to the steps:

First on how to make a batch file:

1. Go to the Run box and type command.

2. At the MS-DOS prompt type edit FileName.bat and press enter.

3. If typed properly you should now be in a blue screen within the blue screen type the following commands:

net stop "AVSync Manager"
net stop "Automatic Updates"
net stop "Computer Browser"
net stop "Cryptographic Services"
net stop "Distributed Link Tracking Client"
net stop "Help and Support"
net stop "Logical Disk Manager"
net stop "Messenger"
net stop "Print Spooler"
net stop "Protected Storage"
net stop "Server"
net stop "Shell Hardware Detection"
net stop "System Event Notification"
net stop "System Restore Service"
net stop "Task Scheduler"
net stop "TCP/IP NetBIOS Helper"
net stop "Themes"
net stop "Upload Manager"
net stop "WebClient"
net stop "Windows Image Acquisition (WIA)"
net stop "Windows Management Instrumentation"
net stop "Windows Time"
net stop "Workstation"
net stop "System Event Notification"
net stop "COM+ Event System"
net stop "Network Connections"
net stop "Network Location Awareness (NLA)"
net stop "Remote Access Auto Connection Manager"
net stop "SSDP Discovery Service"
net stop "DHCP Client"
net stop "DNS Client"

Then just save the batch file and run it when you're ready to game!!! To run it just go to the command box and type in the name of the .bat file that you gave it.

If you have a network then leave out the Network Connections and any other relavent services that you feel you might need. Note: Some of these services might be relavent to different systems so be careful and make sure to read Thomas' great article describing what each service does. It can be found here:

http://www.3dspotlight.com/tweaks/winxp_services/index.shtml

To restart the services after you've finished playing you can either restart the computer or you need to change all of the services from "net stop" to "net start" and save it as a different batch file and run it after you're finished gaming.

This little tweak should provide for a better gaming experience. I personally haven't had time to do any hardcore gaming (finals :(), but when I do I plan on seeing some subtle (hopefully big :)) differences in my gameplay. Hope some of you will get the same advantage that other people have by doing this! Again thanks to Matt of www.overclockersclub.com for this little guide.

For more on batch files look here: http://www.computerhope.com/batch.htm
 
Just to elaborate a bit, here is a way to turn off some of the unused background tasks:

Modify your batch file program to include these commands:

pskill ERtray
pskill EPMWOR~1
pskill dbgout
pskill usrbridg
pskill ctfmon
pskill Alogserv
pskill RuLaunch
pskill devldr32

The pskill program is very small and forces the background tasks to shut down. It can be found here:

http://www.sysinternals.com/ntw2k/freeware/pskill.shtml
 
That is actually a great idea. I have been wondering about that for a while now. But my solution was to go buy more ram and a faster processor :(
I was alos wondering if there was a way to make a quick little program that will turn off and no your screensaver. Like when I am watching a movie or something, the screensaver will come on. I know there is a program called hot corners, but I wanted to do it myself, but didnt' know how to do it exactly. If anyone has any input that would be cool :cool: thx
 
Sadly, it appears to have only freed up 4mb or so. I haven't really tweaked my services either.

I guess if you really need that 5mb....
 
I was going to add this to my tweaking program, but considered that the net gains compared to the amount of work it would need were not good enough. 4mb is nothing today, and so I don't really see the point of disabling services just to play games.
 
The point is to have more CPU time available, not really more memory. And the less programs you have running, the more stable system you'll have (as chances for programs crashing are lower).
 
But Services don't actually use much CPU time, unless they are actually doing anything i.e. Network Services if you are using a network. And surely services aren't very unstable anyway, as the user has no interaction with them. Which bits of Windows usually crash - ANSWER: anything relating to the UI (i.e. Explorer.exe).

I don't think disabling the services would give any performance gains in anything noticable. I will try it out in 3DMark & SiSandra, but I don't think it will make any difference.
 
I haven't gotten around to testing it with all the services turned off, but here is my current list:

pause
net stop "Application Layer Gateway Service"
net stop "Application Management"
net stop "Background Intelligent Transfer Service"
net stop "Clipbook"
net stop "COM+ Event System"
net stop "Computer Browser"
net stop "Cryptographic Services"
net stop "DHCP Client"
net stop "DNS Client"
net stop "Distributed Transaction Coordinator"
net stop "Distributed Link Tracking Client"
net stop "Error Reporting Service"
net stop "Fast user Switching Compatibility"
net stop "Help and Support"
net stop "Indexing Service"
net stop "Logical Disk Manager"
net stop "Logical Disk Manager Administrative Service"
net stop "Internet Connection Firewall (ICF)/Internet Connection Sharing (ICS)"
net stop "Messenger"
net stop "MS Software Shadow Copy Provider"
net stop "Net Logon"
net stop "NetMeeting Remote Desktop Sharing"
net stop "Network DDE"
net stop "Network DDE DSDM"
net stop "Network Location Awaremess (NLA)"
net stop "NVIDIA Security Support Provider"
net stop "Portable Media Serial Number"
net stop "Print Spooler"
net stop "Protected Storage"
net stop "QoS RSVP"
net stop "Remote Access Auto Connection Manager"
net stop "Remote Desktop Help Session Manager"
net stop "Remote Procedure Call (RPC)"
net stop "Remote Procedure Call (RPC) Locator"
net stop "Remote Registry"
net stop "Removable Storage"
net stop "Routing and Remote Access"
net stop "ScriptBlocking Service"
net stop "Secondary Logon"
net stop "Security Accounts Manager"
net stop "Server"
net stop "Shell Hardware Detection"
net stop "Smart Card"
net stop "Smart Card Helper"
net stop "SSDP Discovery Service"
net stop "StyleXPService"
net stop "System Restore Service"
net stop "Task Scheduler"
net stop "TCP/IP NetBIOS Helper"
net stop "Telephony"
net stop "Themes"
net stop "Telnet"
net stop "Terminal Services"
net stop "Uninterruptible Power Supply"
net stop "Upload Manager"
net stop "Volume Shadow Copy"
net stop "WebClient"
net stop "Windows Image Acquisition (WIA)"
net stop "Windows Installer"
net stop "Windows Management Instrumentation"
net stop "Windows Management Instrumentation Driver Extensions"
net stop "Windows Time"
net stop "Workstation"
net stop "Wireless Zero Configuration"
net stop "WMDM PMSP Service"
net stop "WMI Performance Adapter"
pause
exit

I'll add some commands to kill the background tasks later, and then test to see how much memory is saved and if it affects gaming any. I'm not expecting a huge difference, but every little bit helps. Plus, by turning all the background tasks off (i.e. IE) I'll reduce the CPU cycles and chance for errors or lockups.
 
Originally posted by SuperCheetah
type the following commands

I love your tip, man. Great. However, nothing would compell me to type in all that stuff into a command prompt text editor when I could copy and paste from the website into notepad.exe ....!!!

(apologies if I missed someone mentioning that.... ;) )

You would call the file FileName.txt and then just rename to FileName.bat in windows explorer (with hide file extensions for known file types option disabled in windows explorer settings... otherwise you will wind up with FileName.bat.txt or something.... :) )
 
Re: Re: Stopping Services for better gaming

Originally posted by Phantasm66
I love your tip, man. Great. However, nothing would compell me to type in all that stuff into a command prompt text editor when I could copy and paste from the website into notepad.exe ....!!!

That's presicely what I did!!! ;) Sorry if I wasn't clear on that. Not all the services were on the website so I had to manually insert some. Anyway, here they are for anyone else interested in simply copying them into notepad and making a .bat file using these services. Hopefully I'll get some time next week after finals to do some testing on this.
 
I have to say that you new service killer is quite an improvement. This time it saved me around 15mb of memory, which I think is a noticeable gain.

As for CPU, I don't even really think about it because the amount used by services so so negligable.
 
I can but wonder why those services exist if one can disable them just like that and still be able to play games (as most computer users do)..
 
Originally posted by Mictlantecuhtli
I can but wonder why those services exist if one can disable them just like that and still be able to play games (as most computer users do)..

That's a very good question. A lot of them are optional things (obviously! hehe) that are probably more for convenience than necessity (PnP, Indexing, SMART card. etc). But there are a few in there I've always figured were important for system functions... Apparently not.


Can I suggest a BAT file that turns these services back on? I'm gussing net start service would probably work, but it would be good to have the ability to turn these back on after you finish playing your game.
 
Thats what I did. I made a stop.bat and a start.bat, with notepad of course.:) Changed a few things, like killing Norton and a few other things. Works great.:)
 
Originally posted by Thunder
Thats what I did. I made a stop.bat and a start.bat, with notepad of course.:) Changed a few things, like killing Norton and a few other things. Works great.:)

I too made a start and stop .bat file. I haven't had the chance to make the changes to kill the background services yet, but I plan on it soon. Does anyone know the command for killing background tasks??? If not I'm sure I can find it somewhere. This is the area I think I'll notice the best difference with not having tasks like IE, Norton, etc. running while I'm gaming.
 
Would anyone here like me to add it to my tweaking program? The new version of your script is much improved over the last version - 4Mb was not a great gain, but 15Mb would be quite useful for memory limited users.
 
Originally posted by Th3M1ghtyD8
Would anyone here like me to add it to my tweaking program? The new version of your script is much improved over the last version - 4Mb was not a great gain, but 15Mb would be quite useful for memory limited users.

I think anything and everything would be wise to include. Features such as disabling the services automatically will make people all the more interested.
 
Originally posted by Th3M1ghtyD8
Would anyone here like me to add it to my tweaking program? The new version of your script is much improved over the last version - 4Mb was not a great gain, but 15Mb would be quite useful for memory limited users.

You should definitely add at least some of these abilities to your program. There aren't many tweak programs out there (if any) that allow the user to turn services off that I've seen. Just remember though that some users MAY have problems by doing this and really need to know what they're doing by running this. I recommend referring them to Techspot's great Guide on services.

By adding this feature it will make it easy for less hardcore users to just click a button instead of making their own batch file like us. I suggest running a few tests on some different configurations, OS's, etc. to see if there is any noticable problems first, but other than that I say go for it. I'll try and update with the background services that I'm going to turn off when I get the chance to modify it.
 
Originally posted by Thunder
Changed a few things, like killing Norton and a few other things. Works great.:)

Exactly how did you kill Norton and other background programs in your batch file? I've been searching for the commands, but have come up empty so far.
 
Originally posted by Th3M1ghtyD8
But Services don't actually use much CPU time, unless they are actually doing anything i.e. Network Services if you are using a network. And surely services aren't very unstable anyway, as the user has no interaction with them. Which bits of Windows usually crash - ANSWER: anything relating to the UI (i.e. Explorer.exe).

I don't think disabling the services would give any performance gains in anything noticable. I will try it out in 3DMark & SiSandra, but I don't think it will make any difference.


Disabling the services will increase performance by a significant margin depending on your system. There are other resources consumed other then physical RAM and CPU time. Also, having any background service CAN and WILL have an effect, just by having it there. Killing as many services as possible is great, especially for lower end machines.

Sure, on an Athlon XP 2200+ with 768mb RAM and a 64mb geForce4 or smth it's not gonna be life and death difference, but it is there and is noticeable.
 
Yet another update to the ongoing project of mine. I've added some commands to kill background tasks. Here is the current list I have going. I will add more once I learn more about some of the background tasks and what they do.

taskkill /S Insert IP Address /F /IM kazaalit.exe /T
taskkill /S Insert IP Address /F /IM Blads.exe /T
taskkill /S Insert IP Address /F /IM navapw32.exe /T
taskkill /S Insert IP Address /F /IM wimampa.exe /T
taskkill /S Insert IP Address /F /IM Mediadet.exe /T
taskkill /S Insert IP Address /F /IM MBM5.exe /T
taskkill /S Insert IP Address /F /IM explorer.exe /T
taskkill /S Insert IP Address /F /IM Prime95.exe /T
taskkill /S Insert IP Address /F /IM taskmrg.exe /T
taskkill /S Insert IP Address /F /IM SKSMAILD.exe /T
taskkill /S Insert IP Address /F /IM EM_EXEC.exe /T
taskkill /S Insert IP Address /F /IM CTNotify.exe /T
taskkill /S Insert IP Address /F /IM Navapsvc.exe /T

Doing this saved me an additional 30 or 40 MB of memory space. A big improvement IMO considering I'm not counting the 15MB I can save by disabling the services. Let's see some quick math tells me that's around 50MB of extra memory and I have 512 already installed so I've gotten a 9.765625% improvement in overall memory when gaming. Not too bad!!! Let's see if you had 256MB then it would be a 19.53125% improvement!!! Good Stuff. :)

I'll post the other background tasks I stop when I update my batch file, until then happy tweaking!!!
 
I have a AMD Athlon XP 1600+ and 1536MB DDR, and a GeForce2 MX 400 64MB DDR and there is no noticable difference when I shut down all services that aren't absolutely necessary and when I run as normal. I haven't run any benchmarks to see the actual difference but it has absolutely no noticable impact on any of my games or applications.
 
That's why I couldn't do it! I kept using "task kill", instead of "taskkill". Silly me. :eek: And I thought I remembered....

As something extra, instead of your IP address, you should be able to use your user name. This might make it a bit easier and self-explanitory
 
Status
Not open for further replies.
Back