Managing windows services using sc command
From Notes_Wiki
Revision as of 07:22, 11 June 2023 by Saurabh (talk | contribs) (Created page with "Home > Windows > Windows Desktop Tools or Utilities > Managing windows services using sc command Normally we can go to Services option in control panel (or under computer management) to look at status of various services and start/stop them. However there is also option to start/stop service via commandline. =Finding name of service= Look at servicename in properties of service when opened using services under control panel =Start service fr...")
Home > Windows > Windows Desktop Tools or Utilities > Managing windows services using sc command
Normally we can go to Services option in control panel (or under computer management) to look at status of various services and start/stop them. However there is also option to start/stop service via commandline.
Finding name of service
Look at servicename in properties of service when opened using services under control panel
Start service from command-line
To start service use:
sc start <service-name>
Refer:
Find services dependent on current service
We can find dependent services via registry https://www.partitionwizard.com/clone-disk/error-1068.html Other option is to use:
sc enumdepend <service-name>
Learn more about on sc command from:
Home > Windows > Windows Desktop Tools or Utilities > Managing windows services using sc command