Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Use the <em>SC</em> command, like this (you need to be on a command prompt to execute the commands in this post):</p> <pre><code>SC STOP shortservicename SC DELETE shortservicename </code></pre> <hr> <p><strong>Note:</strong> You need to run the command prompt as an administrator, not just logged in as the administrator, but also with administrative rights. If you get errors above about not having the necessary access rights to stop and/or delete the service, run the command prompt as an administrator. You can do this by searching for the command prompt on your start menu and then right-clicking and selecting "Run as administrator". <strong>Note to PowerShell users:</strong> <code>sc</code> is aliased to <code>set-content</code>. So <code>sc delete service</code> will actually create a file called <code>delete</code> with the content <code>service</code>. To do this in Powershell, use <code>sc.exe delete service</code> instead</p> <hr> <p>If you need to find the short service name of a service, use the following command to generate a text file containing a list of services and their statuses:</p> <pre><code>SC QUERY state= all &gt;"C:\Service List.txt" </code></pre> <p>For a more concise list, execute this command:</p> <pre><code>SC QUERY state= all | FIND "_NAME" </code></pre> <p>The short service name will be listed just above the display name, like this:</p> <pre><code>SERVICE_NAME: SSDPSRV DISPLAY_NAME: SSDP Discovery Service </code></pre> <p>And thus to delete that service (<strong>it is not recommended to delete the SSDPSRV service btw</strong>):</p> <pre><code>SC STOP SSDPSRV SC DELETE SSDPSRV </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload