After you uninstall SQL Server 3721 or install software such as, if you reinstall SQL Server, sometimes the following occurs: "a previous program has been installed on the computer to create a suspended file. You must restart the computer before running the installer,
The solution is as follows:
Open the registry editor, 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.
Please refer to the online materials to get it done. Steps:
1) add/delete programs to completely delete SQL server.
2) delete the SQL server directory that has not been deleted.
3) open the registry editor, 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.
4) delete the SQL server-related keys in the registry.
In fact, it is estimated that only step 1 can be done, so that you can clear the installation of temporary projects. I did this by leaving for 1, 2, 4, and 3. So it is estimated that 3 is the most critical