Delete a Service in Windows  

    Delete a Service in Windows

    Delete a Service in Windows

    How to Delete a Service in Windows 7, Windows 8, and Windows 10
    Published by Category: Performance & Maintenance
    06 Jan 2020
    Designer Media Ltd


    How to Delete a Service in Windows 7, Windows 8, and Windows 10


    A service is an application type that runs in the system background without a user interface and is similar to a UNIX daemon process. Services provide core operating system features, such as Web serving, event logging, file serving, printing, cryptography, and error reporting.

    Sometimes you may need to delete a service. For example, when installed software doesn't uninstall properly, and leaves its service in the Services list.

    This tutorial will show you how to delete a service in Windows 7, Windows 8, and Windows 10.

    You must be signed in as an administrator to delete a service.

    It is not recommended to delete any default Windows services. Doing so could make Windows very unstable.



    Contents







    OPTION ONE

    To Delete a Service using Command Prompt


    1 Press the Win + R keys to open Run, type services.msc into Run, and click/tap on OK to open Services.

    2 Right click or press and hold on the service (ex: "My Example Service") you want to delete, and click/tap on Properties. (see screenshot below)

    Delete a Service in Windows-service_name-1.jpg

    3 Make note of the Service name (ex: "Example Service") for this service, and close Services. (see screenshot below)

    Delete a Service in Windows-service_name-2.png

    4 Open an elevated command prompt.

    5 Type the command below into the elevated command prompt, and press Enter. (see screenshot below)

    sc delete "Service Name"

    Substitute Service Name in the command above with the actual service name (ex: "Example Service") from step 3 above.

    For example: sc delete "Example Service"

    Delete a Service in Windows-delete_service_command.png

    6 When finished, you can close the elevated command prompt.






    OPTION TWO

    To Delete a Service using Registry Editor


    1 Press the Win + R keys to open Run, type services.msc into Run, and click/tap on OK to open Services.

    2 Right click or press and hold on the service (ex: "My Example Service") you want to delete, and click/tap on Properties. (see screenshot below)

    Delete a Service in Windows-service_name-1.jpg

    3 Make note of the Service name (ex: "Example Service") for this service, and close Services. (see screenshot below)

    Delete a Service in Windows-service_name-2.png

    4 Press the Win + R keys to open Run, type regedit into Run, and click/tap on OK to open Registry Editor.

    5 Navigate to the registry key below in the left pane of Registry Editor. (see screenshot below step 6)

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services

    6 Under the Services key, right click or press and hold on the service name (ex: "Example Service") from step 3 above, and click/tap on Delete. (see screenshot below)

    Delete a Service in Windows-delete_service_regedit-1.png

    7 Click/tap on Yes to confirm. (see screenshot below)

    Delete a Service in Windows-delete_service_regedit-2.png

    8 When finished, close Registry Editor.

    9 Restart the computer to apply.


    That's it,
    Shawn



  1. vgchat's Avatar
    Posts : 381
    Windows 10 Pro
       #1

    Trying to delete the Optimize drives task doesn't work for me using Elevated Command Prompt.

    Delete a Service in Windows-untitled.png
      My Computer

  2. Brink's Avatar
    Posts : 48,962
    64-bit Windows 10 Pro for Workstations build 19640
    Thread Starter
       #2

    Hey mate,

    The command should be this below instead for that service.

    sc delete "defragsvc"
      My Computers

  3. vgchat's Avatar
    Posts : 381
    Windows 10 Pro
       #3

    Alright thanks, got tired of it running it every time I left the computer for 5 minutes. And I have Defraggler to defrag that anyways.
      My Computer

  4. Brink's Avatar
    Posts : 48,962
    64-bit Windows 10 Pro for Workstations build 19640
    Thread Starter
       #4

      My Computers


 

Tutorial Categories

Delete a Service in Windows Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone


Related Threads
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 16:49.
Find Us




Windows 10 Forums