When installing software, there will often be a prompt that the software cannot be completely uninstalled and the installation cannot be completed. This makes me very distressed. For example, how to completely uninstall the database SQL SERVER? The following article will introduce to you how to completely uninstall the database sql server. I hope it will be helpful to you.
Steps to completely uninstall the database sql server:
1. From the control panel Program uninstall
1. Click "Start" in the lower right corner of the computer, click "Control Panel", and open "Uninstall a program"
2. Find "Microsoft SQL Server 2012" in the program list, right-click and select "Uninstall" (or double-click).
3. Click "Delete"
4. After selection, the program will prepare
5. After the preparation is completed, the installation rules will be checked
6. After the check is successful and there are no errors, you can delete it in order , the deletion order is: select instance, select function, delete rule, prepare to delete, delete progress, complete
7. Wait for the last step, the deletion progress is completed
8. Uninstall the components related to 2012, start-Control Panel —Uninstall the program. Right-click to uninstall
2. Delete the installation file in the disk
(General databases are installed on the C drive by default) Path "C :\Program Files" Delete the "Microsoft SQL Server" folder
3. Clear the registry
1. On the keyboard "Start R" can quickly enter the run, enter "regedit", open the registry compiler
2. Find HKEY_LOCAL_MACHINE\\SYSTEM \\CurrentControlSet\\Control\\Session Manager, then find the PendingFileRenameOperations value on the right and delete it.
Note, do not click on the " " sign in front of Session Manager. It is either in " " or in Session Manager.
##3. Run the registry and delete the following items:HKEY_CURRENT_USER\Software\Microsoft\Microsoft SQL Server HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSQLServer
The above is the detailed content of How to completely uninstall the database sql server?. For more information, please follow other related articles on the PHP Chinese website!