SQL server - Patch installation failure

Error Cause Resolution
Error code: - 2067919934 System requires reboot due to possible pending file operations or other system changes requiring a restart Restart your computer up to two times to ensure all pending operations have completed. After restarting, run the installation again. If the issue persists, you can modify or delete the registry keys referenced below, which may contain orphaned values that are preventing you from installing your product.
  • Open the Windows Registry Editor (click Start, Run, type regedit, and click Enter):
  • Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager.
  • Right-click the PendingFileRenameOperations value and select Delete from the context menu. When prompted, click Yes to confirm the delete operation.
  • Close Registry Editor
  • Restart your computer and attempt to run the installation again.
Error code: 2068119551 Anti-Virus software is blocking deployment Exclude the respective folders from Anti-Virus scans or disable Anti-Virus and deploy the patches.
Error code: 2145124330, 2068054016, 2068054016 Pending reboot Reboot is pending in the client machine, Restart the machine and re-deploy the patches.
Error code: 2068709374 Windows installer cache files missing

Procedure 1

  • Download FixMissingMSI tool OR FindSQLInstalls.vbs script from Github Repository.
  • Use either the tool OR script to identify missing MSI files from Windows Installer Cache.
  • Take from source media and re-add missing files into Cache.

Procedure 2

  • Manually identify missing files using error messages, setup log files or registry entries.
  • Download the patch package from corresponding KB article from support.microsoft.com
  • Add contents of the patch package to Windows Installer Cache.
Error code: 2061893607 Database engine not in online
  • Uninstall SQL server completely using add/remove programs. All components from failed installation attempts should also be deleted.
  • Navigate to the SQL Installation Directory and locate the setup.exe file. Start a fresh installation.
Function could not be executed Issue with application Repair the application in client machine and deploy the patches