How to delete a service in Windows

By FoxLearn 11/5/2024 6:47:32 AM   52
To delete a service in Windows, you need to stop the service first and then remove it from the system.

Press Win + X and select Command Prompt (Admin) from the menu.

cmd

To stop the service, use the following command

sc stop [ServiceName]

Once the service is stopped, delete it by running

sc delete [ServiceName]

To ensure the service is deleted, run the following command to check if the service still exists:

sc qc [ServiceName]

If the service is deleted, you should get an error message saying that the service does not exist.