Homepage 5 How-to Articles 5 Ways To Delete Windows Service In Command-Line or Registry

Ways To Delete Windows Service In Command-Line or Registry

Manage remote endpoints, deploy software and patches with Action1 cloud RMM solution.

Sign up and use free on up to 50 endpoints with no functionality limits or expiration.

July 26, 2019

If you are a fan of tweaking your system and disabling services, you might find that over time your Windows Services list becomes large and unwieldy. It’s easy enough to delete a Windows service using the Command Prompt or Registry editor.

Before you remove a service, you need to understand a few points:

When you delete a service, it will disappear forever from the system, and it is not easy to restore it, and in some cases it is simply impossible.

Removing certain services can cause the inactivity of certain programs. Therefore you should not delete the service if you are not 100% sure what it is responsible for.

Do not remove the Windows 10 system services, as this may lead to the inoperability of the entire system.

You also need to understand when it is necessary to remove the Windows service:

Frequently, programs when uninstalled leave their services intact, and every time the computer starts up, the system tries to start such a service, but due to the lack of executable or library files, it cannot do so, generating an error.

Some viruses and trojans to disguise their destructive actions can create a new service in the system.

And even if your antivirus removes the body of the virus, the service may remain, and you will have to manually remove it.

It is also possible that the system performance decreases due to the large number of processes running as services, and you decide to remove (and not just stop) a number of unnecessary services in Windows 10.

1. Open Services With Help of Windows Search Box

Hit Start, type “services” into the search dialog box, and then click the “Services” to get a list of services.

Step 1 to delete Windows service is to Open Services

2. Find the Service and Move to Properties

In the “Services” window, scroll down and find the service you’re after. Right-click the service and choose the “Properties” command.

Find the service

3. The next Step Is to Copy the Service Name

In the service’s properties window, copy (or write down) the text to the right of the “Service name” entry.

Step 3 to delete Windows service is to Copy the Service name

4. Open Command Line With Administrative Privileges

Click Start, and then type “cmd” into the search box. Right-click the “Command Prompt” result, and then choose the “Run as administrator” command.

Open Command line

5. Input and Execute Following Command

At the Command Prompt, you’ll use the following syntax:

sc delete ServiceName

So, to delete the “RetailDemo” service we’re using in our example, we’d type the following text, and then hit Enter:

sc delete RetailDemo

Step 4 to delete Windows service is to Input command

6. Start Windows Registry Editor

Start Regedit.exe and navigate to the following branch:


Start Regedit

7. Delete Service with Help of Regedit.Exe

Each sub-key under the above registry key represents a driver or a Service. The key name is also the short name of the service. Also, you should be able to identify the entry easily by looking at the DisplayName and ImagePath values in the right-pane in the Registry Editor. Find the entry you want to delete. Right-click the appropriate key, and choose Delete. Exit the Registry Editor.

Consider Using Action1 to Delete Windows Service if:

  • You need to perform an action on multiple computers simultaneously.
  • You have remote employees with computers not connected to your corporate network.

Action1 is a cloud-based platform for patch management, software distribution tools, remote desktop, software and hardware inventory, endpoint management, and reporting.

Related Articles

How To Delete User Profiles Remotely with PowerShell

When a user logs onto the computer for the first time (not via the network to access shared folders or printers), Windows creates a user profile. Among its contents are the NTUSER.DAT file (user profile settings), user-specific folders (My Documents, Desktop, etc.),...

About Action1 RMM

Action1 RMM is a cloud-based IT solution for remote monitoring and management, patching, and remote support.

Start your free two-week trial of Action1, or use RMM tools for free forever on 50 endpoints with no functionality limitations!


Submit a Comment

Your email address will not be published.

cloud patch management solutions action1

MSP Solution

Centralize endpoint management and boost efficiency of IT service delivery.

automated server patch management action compliance

Patch Management

Identify and deploy missing OS and third-party software updates.

cloud software deployment tools windows

Software Deployment

Distribute software and updates across managed endpoints.

software distribution tools software inventory action1

IT Asset Inventory

Keep a detailed inventory and manage hardware and software assets.

web client remote desktop

Remote Desktop

Support users via seamless remote desktop connection.

web based rdp client

Unattended Access

Provide administrative support and manage remote devices.

automated patch management action1

Endpoint Management

Run PowerShell, custom scripts, reboot computers and restart services.

API integrations action1


Integrate Action1 RMM to your IT ecosystem.

computer inventory tool for compliance

Reports and Alerts

Conduct endpoint security audits with comprehensive reporting.