Use net.exeand SC .exeProgramStart and Stop Windows Services
Net.exe Utility
The Service Management Unit is easy to use, but the system administrator cannot automate it because it cannot be used in management scripts. To automatically control the service, use the command line tool net.exe. The Net start command displays all running services. Net start servicename starts the service and net stop servicename sends a stop request to the service. In addition, net pause and net continue can be used to suspend and continue the Service (of course, they can only be used when the service permits them ).
SC .exe Utility
SC. cxe is a well-known utility released as part of the operating system. SC .exe is a very
Useful tools. Compared with the net.exe.exe program, the SC .exe utility is more powerful. Use the SC .exe utility
To check the actual status of the service, or to configure, delete, and add a service. You can
Use the SC .exe utility to uninstall the service.