How to manually uninstall an instance of SQL Server 2005

Summary

This article describes how to manually uninstall a stand-alone instance of Microsoft SQL Server 2005. Complete the steps in this article only if you cannot uninstall SQL Server 2005 by using Add or Remove Programs. For more information about how to use Add or Remove Programs to uninstall SQL Server 2005, see How to: Uninstall an Existing Instance of SQL Server 2005 (Setup).

When you follow the steps in this article, you also prepare the system so that you can reinstall SQL Server 2008.

Note To maintain or to update an instance of SQL Server 2008, you must be a local administrator who has permission to log on as a service.
What to consider before you uninstall a stand-alone instance of SQL Server 2005
Before you uninstall an instance of SQL Server 2008

How to uninstall a stand-alone instance of SQL Server 2005 manually

Note SQL Server setup is a complicated process. SQL Server setup modifies lots of registry keys and DLL files. SQL Server setup also installs and updates permission entries and service registrations.

We test SQL Server setup procedures, both installation and uninstallation, in many configurations. However, we cannot test all configurations due to the number of third-party products and customer specific changes that can occur at the operating system level. Therefore, you may encounter rare circumstances that prevent successfully installing or uninstalling SQL Server by using the setup program.

Because of these complexities, the SQL Server Support team may recommend that you reinstall the operating system if the procedures outlined in this article do not help perform a clean uninstall of the SQL Server program. This helps provide a clean platform to reinstall SQL server on your system.

If you receive the following error message during the SQL Server 2005 Setup process, a SQL Server 2005 component was not uninstalled from the computer:
A component that you have specified in the ADD_LOCAL property is already installed. To upgrade the existing component, refer to the template.ini and set the UPGRADE property to the name of the component.
Step 1: Make sure that the Microsoft SQL Server Setup Support Files component is installed
Step 2: Run the command to uninstall the SQL Server components
Step 3: Uninstall the support components
Step 4: Uninstall the Microsoft SQL Server Native Client component
Step 5: Uninstall the Microsoft SQL Server Setup Support Files component

If these steps did not uninstall all the components

If the previous steps did not uninstall all the components, follow these steps:
  1. In the "How to uninstall a stand-alone instance of SQL Server 2005 manually" section, follow all steps in Step 1: Make sure that the Microsoft SQL Server Setup Support Files component is installed.
  2. In Add or Remove Programs, uninstall all SQL Server 2005 components in the following order:
    • SQL Server 2005
    • SQL Server 2005 Analysis Services
    • SQL Server 2005 Reporting Services
    • SQL Server 2005 Notification Services
    • SQL Server 2005 Integration Services
    • SQL Server 2005 Tools
    • SQL Server 2005 Books Online
    • MSXML 6.0 Parser
    • SQLXML4
    • SQL Server VSS Writer
    • SQL Server 2005 Backward Compatibility
    • Anything else that is related to SQL Server 2005
    • SQL Server Native Client
    • SQL Server setup support files
If these steps did not uninstall all the components and all files that are related to the instance of SQL Server 2005, contact Microsoft Support.

Additional Resources

For more information about how to manually uninstall a SQL Server 2005 failover cluster, see How to manually uninstall a SQL Server 2005 failover cluster.
For more information about how to uninstall an instance of SQL Server 2000 manually, see How to manually remove SQL Server 2000 default, named, or virtual instance.
Vlastnosti

ID článku: 909967 - Poslední kontrola: 24. 12. 2014 - Revize: 1

Váš názor