How to completely delete the SQL Server Registry: sqlserver
Generally, when you uninstall the database, you want to completely delete the registry information. The following describes how to completely delete the SQL Server registry for your reference.
Start-run after uninstalling SQL Server: Enter regedit to enter the Registry Editor, and then perform the following operations:
1. Completely Delete SQL Server:
Hkey_local_machine \ software \ Microsoft \ MSSQLServer hkey_local_machine \ software \ Microsoft SQL Server hkey_current_user \ software \ Microsoft \ MSSQLServer hkey_local_machine \ system \ currentcontrolset \ control \ sessionmanager \ pendingfileren ameoperations
2. Delete related information in the registry:
HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ MSSQLServer.
HKEY_LOCAL_MACHINE \ System \ CurrentControlSet \ Services \ MSDTC.
Find the PendingFileRenameOperations project in HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \ Session Manager and delete it. In this way, you can clear the temporary installation project
HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ setup
Delete predictioncomponents
3. Run the registry and delete the following items:
HKEY_CURRENT_USER \ Software \ Microsoft SQL Server
HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft SQL Server
HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ MSSQLServer
If you have uninstalled SQL Server, try the method of deleting the SQL Server registry shared by Alibaba Cloud.