The fastest way to remove a Windows service

The quickest method is to open Command Prompt as administrator, then run sc delete ServiceName, replacing ServiceName with the exact name of the service you want to remove. Windows will delete the service immediately and remove it from the Services list. This works for most services that are not currently running.

If the service is still running, stop it first by typing net stop ServiceName before you delete it. Some services will not delete while active, and stopping it prevents errors during removal.

You can find the exact service name by opening Services (search "Services" in the Windows search box), right-clicking the service you want to remove, and looking at the service name field in its properties — it is often different from the display name shown in the list.

Key Takeaways

  • Use sc delete ServiceName in Command Prompt (run as administrator) to remove a service permanently from Windows.
  • Stop the service first with net stop ServiceName if it is currently running, or the deletion may fail.
  • Find the exact service name in the Services app by right-clicking the service and checking its properties, since the display name often differs.
  • Deleting a service does not remove the program files themselves — you may need to uninstall the program separately if you want it completely gone.
  • If deletion fails with a "service marked for deletion" error, restart Windows and try again, or use the Registry Editor to remove the service key manually.

Finding the service name in the Services app

Open the Services application by typing "Services" into the Windows search box and clicking Services (Desktop app). Scroll through the list to find the service you want to delete. The display name (what you see in the list) is often different from the service name (what you use in the command).

Right-click the service and select Properties. The service name appears in the first field at the top of the Properties window. Copy this exact text — it is case-sensitive in some contexts, though Windows command-line tools usually ignore case. Write it down or copy it to a text editor so you have it ready for the command.

Stopping the service before deletion

If the service is currently running (the Status column shows "Running"), stop it before you delete it. Open Command Prompt as administrator by right-clicking the Command Prompt app and selecting "Run as administrator," or by searching "cmd" and pressing Ctrl+Shift+Enter.

Type net stop ServiceName and press Enter. Windows will stop the service. Wait for the confirmation message before moving to the deletion step. If you see an error that the service is not running, you can proceed directly to deletion.

Deleting the service with the sc command

In the same Command Prompt window (still running as administrator), type sc delete ServiceName and press Enter, replacing ServiceName with the exact name from the Properties window. Windows will delete the service and remove it from the registry.

You should see a message confirming the service was deleted. If you see an error saying the service is marked for deletion, restart your computer and the removal will complete on the next boot. If the command returns "Access Denied," make sure Command Prompt is running as administrator — right-click it and select "Run as administrator" again.

Removing the service from the Registry manually

If the sc delete command fails or the service still appears in the Services list after deletion, you can remove it through the Registry Editor. Press Windows key + R, type regedit, and press Enter. Click "Yes" when prompted to allow changes to your device.

Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services. Find the folder with the service name you want to delete, right-click it, and select Delete. Confirm the deletion. Close the Registry Editor and restart your computer for the change to take effect.

Only use this method if the sc delete command does not work — editing the Registry directly carries more risk if you delete the wrong key. Make sure you have the exact service name before you proceed.

What happens to the program files after deletion

Deleting a Windows service removes only the service registration from Windows — it does not delete the program files themselves. If you want to completely remove the software, you will need to uninstall it through Control Panel or Settings.

Go to Settings > Apps > Apps & features, find the program in the list, click it, and select Uninstall. Some programs have their own uninstaller in the Start menu under the program name. If the service was part of a larger application, uninstalling the program will remove both the service and the program files.

Troubleshooting deletion errors

If you see "The specified service does not exist as an installed service," you have either typed the service name incorrectly or the service has already been deleted. Double-check the name in the Services app and try again.

If you see "The service is marked for deletion," Windows is in the process of removing the service but has not finished yet. Restart your computer and the deletion will complete. Do not try to delete it again immediately after restarting.

If you see "Access Denied," Command Prompt is not running with administrator privileges. Close the window, right-click Command Prompt, select "Run as administrator," and try the deletion command again.

Frequently Asked Questions

Can I delete a Windows service that came with the operating system?

You can delete most built-in services, but some are required for Windows to run properly. Before deleting a service you did not install yourself, search for its name online to confirm it is safe to remove. If you delete a critical service, you may need to repair Windows or restore from a backup.

What if I delete a service and then need it back?

If the service was part of a program, reinstalling the program will restore it. If it was a built-in Windows service, you can restore it by running a Windows repair or by reinstalling Windows. There is no undo button for service deletion, so make sure you want it gone before you run the delete command.

Do I need to restart Windows after deleting a service?

Most services delete immediately without requiring a restart. However, if you see a "marked for deletion" message, restart your computer to complete the removal. Some services may not fully disappear from the Services list until after a restart.

Can I delete a service that is currently in use by another program?

If a program is actively using the service, deletion may fail or cause the program to stop working. Stop the service first with net stop ServiceName, then close any programs that depend on it before attempting deletion.