Clear/Remove SQL Server Services from Services.msc


Problem:- 
One of my friend was installing cluster SQL Server, installation was stopped in the middle of something and he was not able to remove the SQL Server from add/remove programs or SQL Server setup. He has deleted the registry, folder manually but still he can see the SQL Server Services in Services.msc. He called me for the issue, I have provided him the below solution and it will work.

Solution:
1) Go to command prompt and use SC command to delete service

sc delete sqlserveragent
sc delete mssqlserver

2) You have to also delete the services registry entry using regedit
HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services

Advertisements

9 thoughts on “Clear/Remove SQL Server Services from Services.msc

  1. Dolores Tyus

    I read your blog on how to Clear/Remove SQL Server Services from Services.msc. I completed the sc commands but am unsure how to proceed from there. I found the location in regedit but cannot find an msqlserver anything. What should I look for or should I delete the entire services folder?
    I appreciate any help you can provide. I am trying to delete msde from my machine and it will not do it from control panel or uninstall on programs menu.

    Reply
      1. Dolores Tyus

        I have found the path but there are several items in the path. Am I to delete them all?

  2. Koteswar

    Hello Jug
    Thanks for the above qurey
    but
    How remove the name instances

    I have given the sc delete SQL Server (P001) and multiple way i tried but i can’t, So could you please clear on this.

    as i have unistalled SQL 2000 version with out removing the HotFixes from the server after i try to remove but i am getting error like supporting files missed.

    Reply
  3. sabarish

    if we have two instances running in the same server, how we can specifically remove one instance through this method????

    Reply
  4. Fahad Taher

    in the second delete option do I delete everything from the HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services ?

    Reply

Thanks for the comment, will get back to you soon... Jugal Shah

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s