Vitalix Posted January 17, 2005 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!
Vitalix Posted January 17, 2005 Author Posted January 17, 2005 net start <servicename>Great, thanks!How does this differ from SC STOP/START <SERVICE> command?
Martin Zugec Posted January 17, 2005 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
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