<p>How do I uninstall a .NET Windows Service if the service files do not exist anymore?</p>
<p>I installed a .NET Windows Service using InstallUtil. I have since deleted the files but forgot to run</p>
<pre><code> InstallUtil /u
</code></pre>
<p>first, so the service is still listed in the Services MMC.</p>
<p>Do I have to go into the registry? Or is there a better way?</p>

From the command prompt, use the Windows "sc.exe" utility.  You will run something like this:
```
```
sc delete <service-name>
```
```
If the service name has one or more spaces, surround the name in double quotes (h/t @geoffc):
```
```
sc delete "<service-name>"
```
```