Windows: Service Managing Through Command Line
How can I start/stop/pause Windows Services from command Line in win-2000,Win-XP & win-2003
To start a service follow the steps:
1. Go to START—->RUN
2. Type CMD—–> Click on Enter
3. Net Start
Eg:- net start telnet
4. Net Stop
Eg:- net stop telnet
5. Net Pause
Eg:- net pause telnet
6. Net Continue
Eg:- net continue telnet
For more detail contact me at getjafiz@gmail.com








Vampire said on October 7, 2008
Thanks for the post.
I have few questions, and eagerly urge you all for response .
1.But how to RESTART the Services ,because its not possible to learn about the service whether its in STOP mode or not using NET START /NET STOP.
2. Whenever I issue NET STOP ,it prompts for yes/no for all the services. How can I say yes to all the dependent services..as i will not have provision if i execute a batch file in scheduled tasks.
Thanks in Advance.
Vampire.
Alan said on October 17, 2008
net stop servicename /y will suppress prompts. You can also check the return code of the net stop and net start commands. If the command fails, because it is already started or stopped, you get a return code.
suneel kumar said on May 26, 2009
Hi,
How to check the status of the complete services available and also command for an individual service.
Nin said on July 1, 2009
But how to figure out the “Service Name”. The Service properties says Service name: My Service Name Server (a 4 word name). I’ve tried NET START My Service Name Server and NET START “My Service Name Server”, but it keeps telling me that the name is invalid.; I then tried the executable name NET START MySvc and NET START MySvc.exe These also failed.
Nin said on July 1, 2009
My fault. Typo. This DID work: NET START “My Server Name Server”
vikas sharma said on July 7, 2009
I wanted to disable Windows update utility from command line. can you please help me on this?
-Vikas
vikas sharma said on July 7, 2009
I wanted to disable Windows update from command line. can you please help me on this?
MarcC said on August 20, 2009
sc config servicename start=disabled
For the details, have a look at http://www.windows-commandline.com/2009/06/controlling-services-from-command-line.html
Kelly said on November 6, 2009
How can I change a service properties through either command line or through scripting (java or sql )?
I basically wants to change the services –> properties –> Log On as (from Local system account to “This Account”).
Thanks for the help.
Anonymous said on March 24, 2010
How can the same be done in Windows 07 in cmd prompt?
Srini said on July 14, 2010
this has not changed in windows 7, it’s same as xp..check the link above posted by MarcC.
Amit said on October 16, 2010
I would like to know if we can set “Start up Type” for a service from command line..
Thanks
Wasti777 said on July 26, 2011
How will i start/stop the service on remote computer from command line?