gpt-4.1-mini-2025-04-14· OpenAI
WildChat-4.8M (AI2)
delete service created with sc create
- User
delete service created with sc create
- Assistant
To delete a Windows service that was created with
sc create, you can use thesc deletecommand followed by the service name.Steps to delete the service:
-
Open Command Prompt as Administrator:
- Click Start, type
cmd - Right-click Command Prompt and select Run as administrator
- Click Start, type
-
Find the exact service name (not display name):
- Run:
sc queryor check services withservices.mscto find the service name.
- Run:
-
Run the delete command:
sc delete ServiceNameReplace
ServiceNamewith the actual name of the service you want to delete.Example
If your service name is
MyService:sc delete MyServiceYou should see a message like:
[SC] DeleteService SUCCESS
Note:
-