CMD运行注册表(regedit),然后找到HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server目录。点击右键,选择删除。再然后找到找HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager目录,在右侧找到PendingFileRenameOperations。点击右键将PendingFileRenameOperations删除。然后重启电脑重装SQL Server