Skip to main content
30 events
when toggle format what by license comment
Oct 28, 2023 at 11:33 comment added Edwin Use "sc.exe" instead of just "sc" if it does or says nothing.
Jun 12, 2023 at 10:26 history edited Fabio says Reinstate Monica CC BY-SA 4.0
Added a way to check that the name is right
Feb 20, 2019 at 22:58 comment added Lasse V. Karlsen @eglasius Thank @zelusp for that, as he was the one editing it in.
Feb 19, 2019 at 10:25 comment added eglasius Thanks! that note about powershell was epic, quite scary how much time I could have lost without it.
Feb 14, 2019 at 1:24 history edited G S CC BY-SA 4.0
Removed a potential harmful reference to deleting an important service
Jan 24, 2019 at 10:24 comment added MovGP0 on PowerShell, use "C:\Windows\System32\sc.exe" (or "sc.exe") instead of "SC"
Jul 23, 2018 at 3:01 comment added Jayani Sumudini SC STOP shortservicename SC DELETE shortservicename
Apr 6, 2018 at 9:37 comment added JohnLBevan FYI: For PS fans it looks like this has recently been added to PowerShell Core (NB: different to standard PowerShell). Pull Request: github.com/PowerShell/PowerShell/pull/4858 Code: github.com/PowerShell/PowerShell/blob/master/src/…
S Jul 17, 2017 at 9:00 history suggested zelusp CC BY-SA 3.0
@KFL's comment is valuable enough it should be included in the answer to save on user confusion when their Powershell session doesn't actually do what the original answer implies it would.
Jul 17, 2017 at 6:48 review Suggested edits
S Jul 17, 2017 at 9:00
May 10, 2017 at 9:17 comment added Jan 'splite' K. Please note that if service have spaces in name, you have to wrap full name into quotation marks - sc delete "Amazon Assistant Service". Also, the exact service name is to be found in registry HKLM\SYSTEM\CurrentControlSet\Services\{xxyy}\DisplayName
Feb 24, 2017 at 14:45 comment added andrew pate If your using powershell... substitute sc.exe instead of sc, otherwise the function returns without removing the service.
S Oct 4, 2015 at 17:38 history suggested CommunityBot CC BY-SA 3.0
Command Prompt still, even under Windows 10, doesn't let you scroll up very far so a lot of services will be unviewable within Command Prompt. My suggestion is to have the data output to a txt file where you can view all the data properly.
Oct 4, 2015 at 17:05 review Suggested edits
S Oct 4, 2015 at 17:38
Oct 2, 2015 at 5:14 comment added KFL Note that if you're using PowerShell, sc is aliased to set-content. So sc delete service will actually create a file called delete with the content service. To do this in Powershell, use sc.exe delete service instead.
S Mar 10, 2015 at 22:57 history suggested Greg Dubicki CC BY-SA 3.0
imcorporated last comment into the answer
Mar 10, 2015 at 22:52 comment added Greg Dubicki @tricasse Thank you! I have added your remark to the original answer.
Mar 10, 2015 at 22:52 review Suggested edits
S Mar 10, 2015 at 22:57
Jan 26, 2015 at 7:10 history edited Lasse V. Karlsen CC BY-SA 3.0
added note about administrative rights
Jan 25, 2015 at 15:54 review Suggested edits
Jan 25, 2015 at 16:27
Sep 2, 2014 at 21:05 comment added tricasse Use sc query state= all to get the full list of services; basic sc query will not return inactive (aka. disabled) services.
Jul 17, 2014 at 19:29 comment added Highway of Life It should be noted that you have to run CMD as Administrator. (Right click on CMD and choose Run as Administrator) to run many of these commands.
Jun 11, 2014 at 8:52 comment added Vincent Vancalbergh I wonder how many sysadmins have already accidentally deleted their SSDPSRV service purely because of this answer :p
Oct 15, 2008 at 14:56 history edited Lasse V. Karlsen CC BY-SA 2.5
clarification
Sep 16, 2008 at 20:07 comment added sgwill Oooh, I see, yes. I thought you meant deleting services wasn't recommended. Thanks for the answer!
Sep 16, 2008 at 20:00 comment added Lasse V. Karlsen Deleting the SSDP Discovery Service? It is used for detecting and configuring UPnP devices on the local network, you should not delete it. It was just used as an example.
Sep 16, 2008 at 19:57 vote accept sgwill
Sep 16, 2008 at 19:52 history edited Lasse V. Karlsen CC BY-SA 2.5
added 41 characters in body
Sep 16, 2008 at 19:47 history edited Lasse V. Karlsen CC BY-SA 2.5
added 276 characters in body
Sep 16, 2008 at 19:41 history answered Lasse V. Karlsen CC BY-SA 2.5