How to Delete a Service in Windows 10 (Safely)

Uninstalled programs sometimes leave a Windows service behind, which can show errors at startup or clutter the Services list. Windows 10 doesn’t have a “delete” button in the Services app, but you can remove a service with one command. Deleting the wrong service can break Windows or an app, so this guide shows how to find the exact service name, stop it, delete it safely, and when disabling is the better choice.

Quick Answer

Find the service’s Service name in services.msc (double-click the service to see it). Open Command Prompt as administrator and run sc stop ServiceName, then sc delete ServiceName. You should see [SC] DeleteService SUCCESS. Restart to finish removing it.

Administrator Command Prompt stopping a leftover service with sc stop and removing it with sc delete, showing DeleteService SUCCESS
Stop the service first, then run sc delete with its service name (1). DeleteService SUCCESS confirms it was removed (2).

Before You Delete

  • Only delete services you’re sure about, such as leftovers from software you’ve uninstalled. Never delete Microsoft Windows services.
  • Try uninstalling the program first in Settings > Apps. The uninstaller usually removes its services properly.
  • Consider disabling instead (below). It’s reversible.
  • Create a restore point: search for Create a restore point in Start and click Create.

Step 1: Find the Service Name

  1. Press Windows + R, type services.msc, and press Enter.
  2. Find the service and double-click it.
  3. Note the Service name at the top of the General tab. It can differ from the display name in the list (for example, display name “Old Updater Service,” service name “OldUpdaterSvc”).
  4. Also check Path to executable to confirm which program it belongs to.

Step 2: Delete It With sc

  1. Click Start, type cmd, right-click Command Prompt, and choose Run as administrator.
  2. Stop the service: sc stop ServiceName
  3. Delete it: sc delete ServiceName
  4. If the name contains spaces, put it in quotes: sc delete “Service Name”.
  5. Restart your PC.

In PowerShell, use sc.exe (not “sc,” which is an alias for another command): sc.exe delete ServiceName. PowerShell 7 also offers Remove-Service -Name ServiceName.

Disable a Service Instead

  1. In services.msc, double-click the service.
  2. Click Stop.
  3. Set Startup type to Disabled and click OK.

The service stays installed but never runs. You can re-enable it later.

Registry Method (Advanced)

If sc can’t remove it, services are stored in the registry under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ServiceName. Back up the registry (File > Export), delete that key, and restart. Only do this for services you’ve positively identified.

Troubleshooting

  • “Access is denied”: Run Command Prompt as administrator.
  • “The specified service does not exist”: You used the display name. Use the Service name from Properties.
  • “Marked for deletion”: The service will disappear after you close the Services window and restart.
  • Service keeps coming back: A program is reinstalling it. Uninstall that program completely.

Summary

  1. Get the exact Service name from services.msc.
  2. Run sc stop and sc delete in an administrator Command Prompt.
  3. Restart the PC.
  4. Disable instead of deleting if you’re not sure.