Tuesday, May 26, 2009

Windows Services Batch

A quick and effective way to start and stop Windows Services is by using a batch file. There's several reasons why you would want to do this, one of them being to free up gaming resources. This is an alternate method to bringing up the Windows Task Manager, and killing Processes individually. This way, starting and stopping is only one click away.

There is an alternate method (see bottom of page)

There a just a few commands to remember;

Net Stop and Net Start.

Create a new document in notepad. Now for every Service you want to stop:

Example:

Net Stop "Automatic Updates"

Net Stop "Remote Desktop Help Session Manager"

Don't forget the quotes!

In another batch file, do just the opposite to restart them, but by using Net Start.

Net Start "Automatic Updates"

Net Start "Remote Desktop Help Session Manager"

Don't forget the quotes!

Save both of these files in a convenient location, like your Desktop for easy access.

Some Items to remember:

  • What you choose to start and stop is entirely up to you! Research before blindly starting and stopping services. Be smart about it!
  • Save each (Start/Stop) file with the extension bat. For example services_start.bat or services_stop.bat.
  • When saving the file in notepad, change the Save as type: to All files, otherwise you'll have to rename the file to end in bat
  • A quick way to get all of your Services listed is to open Control Panel==> Administrative Tools ==> Services, and in the Action pull-down, choose Export. Now how you do this is entirely up to you. I choose to export as Tab Delimited CSV and opening in Excel. From there I just copied and pasted into notepad.

I prefer to create a Hardware Profile. Easier and cleaner than this method.

No comments:

DISCLAIMER

WE USE LINKS TO SITES AND NOT DIRECT DOWNLOAD LINKS. THERE NO FILES HOSTED ON OUR SERVER,THEY ARE ONLY INDEXED MUCH LIKE GOOGLEWORKS.
The hosting server or the administrator cannot be held responsible for the contents of any linked sites or any link contained in a linked site, or changes / updates to such sites.

BY ENTERING THIS SITE YOU AGREE TO BE BOUND BY THESE CONDITIONS
If you don't like the software posted here, please don't hesitate to let us know and we will unpost it.