Article ID: 290991 - Last Review: June 11, 2007 - Revision: 14.3 How to manually remove SQL Server 2000 default, named, or virtual instance
This article was previously published under Q290991 On This PageSUMMARY The steps in this article describe how you prepare your
system for a reinstallation of the SQL Server program. The correct way (and the way that Microsoft recommends you use) to remove Microsoft SQL Server 2000 is to use the Uninstall option that is available in the Microsoft SQL Server 2000 Setup program. However, if an installation fails, the Uninstall option may not be available. If the Uninstall option is not available, you must get the system to a clean, stable installation point before you try to reinstall the SQL Server program. Note The Microsoft SQL Server 2000 (64-bit) setup program uses the Windows Installer to completely integrate the installation of SQL Server features in a single feature tree. The minimum and the typical installation modes are no longer implemented. By default, the Setup program displays the feature tree with all the available features selected. Administrators can customize an installation by selecting items on the feature tree and by changing installation paths. For more information, see the SQL Server 2000 (64-bit) documentation. Things to consider before you remove Microsoft SQL Server 2000IMPORTANT WARNING: You may have databases that you want to save in their present state. You may also want to save changes that were made to the default databases. If either is true, before you follow the steps in this article, make sure that you have a known good backup of the data or that you save a copy of all the data and log files in a folder other than the MSSQL folder, because you must delete the MSSQL folder.The files you must save include these database files that Microsoft SQL Server 2000 installs:
Warning If the SQL Server installation is also being used in conjunction with Microsoft SQL Server Reporting Services, make sure that the following folders and the sub-folders are also saved or renamed:
Microsoft also recommends that:
Steps to remove SQL ServerImportant This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:322756
(http://support.microsoft.com/kb/322756/
)
How to back up and restore the registry in Windows Depending on your specific environment, you can use one, or more, of the steps that follow. After you successfully remove SQL Server, you do not have to continue with the remaining steps in this list.
Note If this is a clustered instance of SQL Server 2000, repeat these steps for each node in the cluster. Remove a specific instance of SQL ServerTo remove a specific instance of SQL Server, follow these steps:
Note If this is a clustered instance of SQL Server 2000, repeat these steps for each node in the cluster. Remove all known instances of SQL ServerTo remove all known instances of SQL Server, follow these steps:
Note If this is a clustered instance of SQL Server 2000, repeat these steps for each node in the cluster. Remove a default instance of SQL ServerTo remove a default instance of SQL Server locate, and then delete these registry keys:
Remove a named instance of SQL ServerTo remove a named instance of SQL Server, follow these steps:
Note If this is a clustered instance of SQL Server 2000, repeat these steps for each node in the cluster. How to include full-text removalTo include full-text removal, follow these steps:
[sqlclusterSetup.cpp:464]: 2 (0x2): The system cannot find the
file specified. Problem in the resource name SQL Server
Fulltext. [clushelp.cpp:1238]: 5007 (0x138f): The cluster resource could not be found. [sqlclusterSetup.cpp:1059]: 5007 (0x138f): The cluster resource could not be found. If you receive these error messages, restart your servers, follow the steps to remove MSSearch, and then try the installation again. Note: Because the removal process did not complete previously, if you are concerned about being able to remove an instance in the future, you can perform the following step to verify that you have resolved all the issues that can cause a recurrence of this problem. You do not have to perform this step just to make sure that this particular removal completed; it only checks whether the automatic removal process is working. Run the SQL Server Setup program and use the Uninstall option to verify the removal process now instead of waiting until you must have this functionality. If this step fails, you must continue to investigate to determine and resolve the cause of the failure. Run Setup for the installation, and then use the Uninstall option to verify that there are no configuration problems or errors that may still exist because of the failed removal. Note: In some cases, the folder %drive%:"\Program Files\Microsoft SQL Server\80 may not be deleted, and you must manually delete the folder. When you reinstall SQL Server 2000, the following error message may occur: A previous
program installation created pending file operations on the installation
machine. You must restart the computer before running setup Follow these steps to see if the files are Read-only:
Delete contents of Temp folders before you reinstall SQL ServerDelete all contents from the Temp folder of both the System Temp and the Temp folder of the installing user. To determine the location of the Temp folder for the user, type the following command at a command prompt:C:\Documents and Settings\username>set t
The results should include the following:C:\Documents and Settings\username\Local Settings\Temp
The typical path for the System Temp path is %systemroot%\temp.REFERENCES If the pending file operations error message persists, see
the following article in the Microsoft Knowledge Base:
312995
(http://support.microsoft.com/kb/312995/
)
SQL Server 2000 installation fails with "...previous program installation..." error message
| Other Resources Other Support Sites
CommunityGet Help NowArticle Translations
|






Windows Live
Facebook
Twitter
Linkedin
Digg it
Yahoo
Delicious
StumbleUpon
Yammer
Reddit
Technorati
FriendFeed
Email
Back to the top
