command line to enable services

To enable a service from a command line, open a command line and type the following commands:sc config servicename start= auto net start servicename If you want to create a .bat file to enable a service and then start it, use the following code:@echo off cls sc config servicename start= auto net start servicename exit

0 0 votes
Article Rating

You may also like...

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x