How to completely uninstall sql2005?

Source: Internet
Author: User
Tags mssqlserver microsoft website

"Statement" The following content for Baidu excerpt.

I think many of you have encountered SQL Server installation failure or error when you need to uninstall SQL Server, but SQL Server full uninstall is a very troublesome problem, often uninstall dirty, not which process did not kill, that is, which service did not uninstall, and no ready tools, uninstall incomplete , and reload the problem. What to do? Now, in my experience, let me introduce you to a method:

The first step, download the uninstall tool Msicuu2.exe file from the Microsoft website, you can download this tool from http://www.support.microsoft.com/default.aspx?kbid=290301, after downloading the installation

Click on the SQL Server 2005 related program and click the Remove button to uninstall.

Or, download SRVINSTW from the website, which is also a good tool to uninstall Windows services,


Uninstall the SQL Server service so that it is much cleaner.

In the second step, click "Run" in the "Start" menu and enter Regedit to enter the registration form:
Put HKEY_CURRENT_USER\Software\Microsoft\Microsoft SQL Server
HKEY_LOCAL_MACHINE\Software\Microsoft\MSSQLServer
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ Microsoft SQL Server
Hkey_local_machine\system\currentcontrolset\services\mssqlserver
Hkey_local_machine\system\currentcontrolset\services\sqlserver AGENT
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services \mssqlserveradhelper
All deleted, but generally, if you use the Uninstall tool, it will not be available in the registry.


Third, to get the most insurance, make sure that the Start menu and the "Control Panel/Add removal program" Do not have SQL Server folders and files, and then delete the SQL Server files that are left in the C:\Program files\ or D:\Program Files folder. If you cannot delete it, please install the Unlocker tool and remove it.


Fourth step, restart the computer, install SQL SERVER 2005, should be OK.
But, if! If! If you encounter a COM + directory warning, find distributed Transaction Coordinator This service, start, if this does not start it may be distributed Transaction Coordinator This service relies on the MSDTC this server is disabled, starting the MSDTC service is OK.
Open the MSDTC service method:
Click start → run → enter command "msdtc-resetlog" to run the command.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.