To delete a Windows service, open Command Prompt as an administrator and run sc delete followed by the service’s name (not its display name). Only remove services left behind by software you’ve already uninstalled; deleting a Windows or driver service can stop your PC from working. Create a restore point first so you can undo a mistake.
Step 1: Find the service name
- Press Windows + R, type services.msc, and press Enter.
- Find the service in the list, right-click it, and choose Properties.
- Note the Service name at the top of the General tab. This is often different from the friendly Display name shown in the list.
While you’re here, check the Path to executable. If it points to a program folder that no longer exists, the service is probably a leftover.
Step 2: Create a restore point
Search Start for Create a restore point, select Create, name it, and confirm (see how to create a restore point). If something breaks later, you can roll back.
Step 3: Stop and delete the service
- Right-click Start and choose Terminal (Admin), or search for Command Prompt and choose Run as administrator.
- Stop the service:
sc stop ServiceName - Delete it:
sc delete ServiceName - You should see [SC] DeleteService SUCCESS.
If the name contains spaces, put it in quotation marks, for example sc delete "My Old Service".
Using PowerShell?
In PowerShell, sc means something else (Set-Content), so type sc.exe delete ServiceName instead. PowerShell 7 and later also include Remove-Service -Name ServiceName.
Step 4: Restart and confirm
Restart the PC, open services.msc again, and make sure the service is gone.
If the service won’t delete
- “The specified service has been marked for deletion”: close the Services window and any tools that have the service open, then restart. It disappears after the reboot.
- “Access is denied”: you’re not running as administrator, or the service is protected. Protected Windows services shouldn’t be removed.
- The service comes back: part of the program is still installed and recreates it. Uninstall the program fully from Settings > Apps > Installed apps, or use the developer’s removal tool.
- Last resort, registry: each service has a key under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services. Advanced users can open the Registry Editor, export, and then delete the leftover service’s key and restart. Mistakes here can make Windows unbootable, so back up first.
Disable instead of delete
If you’re not sure a service is safe to remove, disable it instead. In services.msc, open the service’s Properties, set Startup type to Disabled, select Stop, and then OK. You can re-enable it any time, which you can’t do after deleting it.
Frequently asked questions
Is it safe to delete services?
Only for leftovers from software you removed. Never delete services from Microsoft, your antivirus, or hardware drivers.
Does uninstalling a program remove its services?
Usually. Leftover services typically come from incomplete uninstalls.

Kermit Matthews runs Live2Tech from just outside Philadelphia. He started on a university help desk, spent years as the IT person for small businesses, and has been writing tech guides full time since 2020. Each guide is checked on a device he owns, and re-checked when a menu moves. More about Kermit.