Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 56253
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T17:30:20+00:00 2026-05-10T17:30:20+00:00

How do I uninstall a .NET Windows Service if the service files do not

  • 0

How do I uninstall a .NET Windows Service if the service files do not exist anymore?

I installed a .NET Windows Service using InstallUtil. I have since deleted the files but forgot to run

 InstallUtil /u 

first, so the service is still listed in the Services MMC.

Do I have to go into the registry? Or is there a better way?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T17:30:21+00:00Added an answer on May 10, 2026 at 5:30 pm

    You have at least three options. I have presented them in order of usage preference.

    Method 1 – You can use the SC tool (Sc.exe) included in the Resource Kit. (included with Windows 7/8)

    Open a Command Prompt and enter

    sc delete <service-name> 

    Tool help snippet follows:

    DESCRIPTION:         SC is a command line program used for communicating with the         NT Service Controller and services.  delete----------Deletes a service (from the registry). 

    Method 2 – use delserv

    Download and use delserv command line utility. This is a legacy tool developed for Windows 2000. In current Window XP boxes this was superseded by sc described in method 1.

    Method 3 – manually delete registry entries (Note that this backfires in Windows 7/8)

    Windows services are registered under the following registry key.

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services 

    Search for the sub-key with the service name under referred key and delete it. (and you might need to restart to remove completely the service from the Services list)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

What I have installed... Windows Vista Ultimate Service Pack 1 Visual Studio 2008 Service
Currently I have to uninstall the old version of my service before I install
How do I uninstall a Windows Service when there is no executable for it
In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ is the list of installed programs in my machine (at least most
I often get a problem with Windows Installer trying to uninstall a package, but
Any ideas on how to disable, but not uninstall Resharper 4.x or above?
I have an application consisting of an ASP.NET web application, a couple of Windows
I'm using pre and post build events of my service to uninstall and install
I have a couple old services that I want to completely uninstall. How can
The MSI stores the installation directory for the future uninstall tasks. Using the INSTALLPROPERTY_INSTALLLOCATION

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.