Why is SQL Server hard to uninstall?

Answered Why is SQL Server hard to uninstall?

  • Monday, October 08, 2012 3:18 AM
     
     

    When I go to uninstall SQL Server, SQL Server is listed about 20 times while all other apps are listed one time. SQL Server should be listed in uninstall exactly like this:

    Uninstall {sqlServer:user, sqlServer:development}

     

    • Edited by Destryalhmns Monday, October 08, 2012 3:23 AM clearer - easier to answer - nicer
    •  

All Replies

  • Monday, October 08, 2012 3:49 AM
    Moderator
     
     Answered

    Hello,

    It seems there are other SQL Server users that think like you, and have found some alternative ways to uninstall.

    http://sqlblog.com/blogs/aaron_bertrand/archive/2010/10/25/fun-with-software-uninstalling-sql-server-2008-r2-evaluation-edition.aspx  

    Hope this helps.

    Regards,

    Alberto Morillo
    SQLCoffee.com

  • Tuesday, October 09, 2012 1:39 AM
     
     Answered

    Hi Destryalhmns,

    Yes, SQL Server is hard to be uninstalled, it has many composes, in order to uninstall SQL Server completely, we not only have to uninstall the SQL Server on the control panel, but also need to clean the leftover, related registry keys and registry entries of it, which is the most difficult part of uninstalling SQL Server .

    If you SQL Server is SQL Server 2005, please try to do the following steps to uninstall the SQL Server 2005.

    1. First open the control panel-->add/remove program, then you should uninstall those composes in the order as follow:
    Microsoft SQL Server VSS Writer
    Microsoft SQL Server Setup Support Files
    Microsoft SQL Server Native Client
    Microsoft SQL Server 2005 Books Online
    Microsoft SQL Server 2005 Backward compatibility
    Microsoft SQL Server 2005

    2. Install the Windows Installer Clean Up(msicuu2.exe). After installing, you can remove the compose in the order as the step 1.

    3. Run the file sevinstw.exe
    choose remove system services-->next-->choose local server-->next-->choose the service name as the step1-->next-->finish.

    4. Run Regedit and delete the follow information

    HKEY_CURRENT_USER/Software/Microsoft/Microsoft SQL Server
    HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Microsoft SQL Server
    HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/MSSQLServer
    HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/SQLXML4

    5. Delete those folders
    C:/Program Files/Microsoft SQL Server
    C:/Program Files/SQLXML 4.0

    After all those steps, restart your computer.

    Please refer to:
    Download the Windows Installer Clean Up(msicuu2.exe): http://www.thewindowsclub.com/microsoft-retires-windows-installer-cleanup-utility .

    Regards,
    Amy Peng

     


    Amy Peng

    TechNet Community Support