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.



Related Articles by Categories


0 comments:

Grab this Widget ~ Blogger Accessories