Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to fix endless reboot loop installing Microsoft ODBC Driver 17 - message: A previous installation required a reboot of the machine for changes

Installing Microsoft® ODBC Driver 17 on windows 10. During the install, Microsoft ODBC Driver 17 for SQL Server setup stops and shows "A previous installation required a reboot of the machine for changes to take effect. To proceed, restart your computer then run Setup again. rebooted but not fixed.
4 reboots and then tried install again. Same issue.

Microsoft ODBC 13 driver installs and uninstalls without any issues.

I've reviewed Microsoft support site and found nothing that describes this issue.
There are notes about odbc 13 and 17 causing conflict. odbc 13 is not installed.

checked this potential for SQL Server install requiring reboots, but nothing in my registry for PendingFileRenameOperations.

Has anyone found the clue that Driver 17 is using to think it needs another reboot to continue? I need to get SSMS installed and it has a dependency on ODBC Driver 17.

windows 10 updated to current. doing install as admin.

like image 990
washingon Avatar asked Jun 08 '20 11:06

washingon


People also ask

Can I uninstall Microsoft ODBC driver?

Right-click the Windows Start button and choose Apps and Features. Right-click in the screen's bottom-left corner and choose Programs and Features. Click the Windows Start button and choose Control Panel then choose Programs and Features. Click MYOB ODBC Direct then click Uninstall.

What is the ODBC driver 17 for SQL Server?

The Microsoft ODBC Driver 17 for SQL Server provides native connectivity from Windows, Linux, & macOS to SQL Server and Azure SQL Databases. Note that this driver supports SQL Server 2019 only from version 17.3. More info about this driver can be found at the Microsoft product page.


1 Answers

I have found one another solution under https://www.youtube.com/watch?v=x9pq3fUOO3s that worked for me when I faced problems with ODBC Driver 17 installation while updating Microsoft SQL Server.

It basically requires cleaning the value of PendingFileRenameOperations (replacing the multi-string value with an empty string) under the registry key Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager.

enter image description here

like image 63
olin000 Avatar answered Sep 19 '22 12:09

olin000