Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: simple bat file that stops and starts a service on double click?


08 Mar 2013   #1

Microsoft Windows 7 Ultimate 64-bit 7601 Multiprocessor Free Service Pack 1
 
 
simple bat file that stops and starts a service on double click?

i want to be able to start a service or stop it by simply double clicking a bat file. Does anyone know how to do such a thing?


My System SpecsSystem Spec
.

08 Mar 2013   #2
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Hello Skylais,

You could use OPTION TWO or OPTION THREE in the tutorial below to add the command in a bat file to run when you like. Be sure to use Run as administrator when running the .bat file.

Services - Start or Disable

Hope this helps,
Shawn
My System SpecsSystem Spec
08 Mar 2013   #3

Microsoft Windows 7 Ultimate 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

Quote   Quote: Originally Posted by Brink View Post
Hello Skylais,

You could use OPTION TWO or OPTION THREE in the tutorial below to add the command in a bat file to run when you like. Be sure to use Run as administrator when running the .bat file.

Services - Start or Disable

Hope this helps,
Shawn
Wow thanks that runs smooth and perfectly how i wanted. Really easy too Thanks
Reason being, is when me and my friend switch between these 2 games we play. Well one of them uses a vpn software and messes with the ip address settings in the other game. So we have to stop/start the service of the vpn software switching between the two games and it gets annoying. We lazy
Thanks shawn
My System SpecsSystem Spec
.


08 Mar 2013   #4

Microsoft Windows 7 Ultimate 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

I am going to conver these to .exe so i can put icons and such. Thanks man
My System SpecsSystem Spec
08 Mar 2013   #5
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

You're most welcome.
My System SpecsSystem Spec
Reply

 simple bat file that stops and starts a service on double click?




Thread Tools



Similar help and support threads for2: simple bat file that stops and starts a service on double click?
Thread Forum
automatic delete file when double-click General Discussion
Change double click ACTION - not merely the file association Customization
Double click Excel file may not work Microsoft Office
Many Multimedia Class Scheduler Service stops and starts repeatedly General Discussion
right click on file, open file not work but double click does????? Performance & Maintenance
Double Click No Longer Starts Programs General Discussion
Double click on media file, does not play immediately Sound & Audio

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 11:00 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33