Some commands based on sc are:
sc /query
- displays the list of services and information about their state and flagssc /queryex
- displays the list of services and the extended information about their state and flagssc /start service_name
same as net start service_name
; starts a serviceSimilar the /pause, /continue and /stop switches will pause, resume and stop a service
Now comes the interesting part...
sc /delete service_name
deletes a service from registrysc /create service_name
creates a service into registryTo get extended help type sc at the command prompt...
No comments:
Post a Comment