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

You may also like...