What to do if sql server fails to be uninstalled - What to do if sql server fails to be uninstalled

Time: 2021-04-09Source: Huajun Software TutorialAuthor: Aotuman

Maybe some friends are still not sure what to do if SQL Server uninstallation fails? Then the editor will bring you the solution to SQL Server Uninstallation failure. I hope it can help friends in need.

1. Enter services.msc during operation, then find all services related to Sql Server and stop these services. (Be sure to stop the service before uninstalling, otherwise the subsequent file uninstallation process will fail)

1.jpg

2. Enter the control panel and click "Program Uninstall"

2.jpg

3. Find "Microsoft SQL Server 2014 (64-bit)" in the list, right-click and select "Uninstall" (or double-click).

3.jpg

4.jpg

5.jpg

(1) Special attention needs to be paid here. When it comes to the "Select Instance" item, the number of instance IDs will be deleted as many times as there are. In other words, if there are two instance IDs, then after this round of deletion, , then go back to Microsoft SQL Server 2014 (64-bit) and uninstall it again.

6.jpg

7.jpg

8.jpg

(2) Deletion takes a long time.

(3) After all statuses are "successful", the deletion is successful, and click Close.

4. Find "Microsoft SQL Server 2012 Native Client" in the program list. This item is the client of the database. Right-click and select "Uninstall" (or double-click).

9.jpg

5. Press the "Win+R" keys simultaneously on the keyboard and enter the "regedit" command.

10.jpg

(1) Find HKEY_LOCAL_MACHINESYSTEMControlSet001ControlSession Manager and delete the "PendingFileRenameOperations" item on the right.

(2) Delete HKEY_CURRENT_USERSOFTWAREMicrosoftMicrosoft SQL Server

(3) Delete all subkeys about Microsoft SQL Server under HKEY_LOCAL_MACHINESOFTWAREMicrosoft

(4) Delete HKEY_LOCAL_MACHINESOFTWAREMicrosoftMSSQLServer.

6. Delete related folders.

(1) Delete the physical path to install the Microsoft SQL Server database. Everyone's installation path is different and depends on personal circumstances.

(2) Delete the system default installation folder. If the software is not installed on the C drive, this folder in the C drive must also be deleted.

11.jpg

(3) If you forget to close the service in the first step, the folder may not be deleted in this step. You can click "win+R" and enter services.msc to enter the service and manually close the corresponding service.

7. After the uninstallation is completed, you need to restart the computer.

The above is the solution to the failure to uninstall solidworks shared by the editor. Friends who are not sure yet can take a look.

Related articles更多>>

Popular recommendations