Vitalix Posted January 17, 2005 Share Posted January 17, 2005 Hey guys and gals,Does anyone know how to start and stop Windows services in DOS?We have a lockdown machine that we can enable administrative rights to by modifying the registry.pol file. In that batch file, we want to enable certain services to run when we click on the batch file.Is there a command in DOS where we can invoke certain services when running it?Thanks in advance! Link to comment Share on other sites More sharing options...
MCT Posted January 17, 2005 Share Posted January 17, 2005 net start <servicename> Link to comment Share on other sites More sharing options...
Vitalix Posted January 17, 2005 Author Share Posted January 17, 2005 net start <servicename>Great, thanks!How does this differ from SC STOP/START <SERVICE> command? Link to comment Share on other sites More sharing options...
MCT Posted January 17, 2005 Share Posted January 17, 2005 couldnt tell ya never used SC start/stop Link to comment Share on other sites More sharing options...
Martin Zugec Posted January 17, 2005 Share Posted January 17, 2005 Three ways:Net startsc startwmic service service_name call StartServicePersonally I prefer wmic...BTW dont call command line DOS... It is something absolutely different Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now