Program/.bat that closes services/processes?


Recommended Posts

No idea which forum to put this post in so I'll post it in General Dicussion.

Is there a program/.bat etc. that will close all unnecasarry services/processes etc. so I can free up RAM and CPU before playing games such as F.E.A.R.?

I remember a .bat being posted a year or two back here on Neowin.

ok I did a little more looking and you can use net in the cmd prompt

like:

net stop "print spooler"

services with two words need the quotation marks ""

to restart the service:

net start "print spooler"

to see the list of running services type net start

Oops sorry I didn't look at the above link before this

looks like net start and stop is the way to go for services

Since this is for gaming purposes, services.msc would not be an easy way to do it.

Use taskkill (if you don't have it, find it on Google) for running processes and the net stop command for services.

here's my pregame killer .bat file.

@ECHO OFF
Echo JiveMasterT Pre-Game App Killer Script
Echo.
TASKKILL /F /IM rklauncher.exe
TASKKILL /F /IM konfabulator.exe
TASKKILL /F /IM 3r-1c.exe
TASKKILL /F /IM hotsync.exe
TASKKILL /F /IM gnotify.exe
NET STOP "VNC Server"
NET STOP "print spooler"
NET STOP "bluetooth service"
NET STOP "messenger"
NET STOP "automatic updates"
NET STOP "vmware authorization service"
NET STOP "vmware dhcp service"
NET STOP "vmware nat service"
NET STOP "AntiVir PersonalEdition Classic Service"
NET STOP "AntiVir Scheduler"

Echo All apps have been closed.  You can now start your game.
@PAUSE

and after a game, I have this one...

@ECHO OFF
Echo JiveMasterT Post-Game App Starter Script
Echo.
@START "" "C:\Program Files\RK Launcher\RKLauncher.exe"
@START "" "C:\Program Files\Pixoria\Konfabulator\Konfabulator.exe"
@START "" "C:\Program Files\pogrelz.com\3r-1c\3r-1c.exe"
@START "" "C:\Program Files\Palm\HOTSYNC.EXE"
@START "" "C:\Program Files\Google\Gmail Notifier\gnotify.exe"
NET START "print spooler"
NET START "bluetooth service"
NET START "messenger"
NET START "automatic updates"
NET START "vmware authorization service"
NET START "vmware dhcp service"
NET START "vmware nat service"
NET START "AntiVir PersonalEdition Classic Service"
NET START "AntiVir Scheduler"
Echo All apps have been restored.
@pause

hope this helps.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.