🚀 NEW in v2.4.29: 35+ Speed Optimizations added today!Download Now →

Home/Fix/Fix Error 0x80070665 — Windows Installer Transaction Failure

How to Fix Fix Error 0x80070665 — Windows Installer Transaction Failure on Windows

Getting error 0x80070665 during software installation? MSI transaction failed? Software update stuck with installer transaction error? Installation and rollback both failing? Fix this Windows Installer transaction failure.

Symptoms

You might be experiencing this problem if you notice:

  • Software installation fails with error 0x80070665
  • MSI installer shows transaction failure in log
  • Multiple installations failing simultaneously
  • Can't install any new software with MSI installer
  • Windows Installer service crashes during transaction
  • Event Viewer shows MsiInstaller transaction errors

Common Causes

  • Windows Installer transaction log corrupted
  • Multiple simultaneous MSI installations attempted
  • Previous MSI transaction didn't commit or rollback properly
  • Temp directory full or inaccessible
  • Windows Installer service in bad state
  • Security software blocking installer file operations

Solutions

Solution 1: Reset Windows Installer Service State

  1. 1Restart the Windows Installer service:
  2. 2CMD as Admin:
  3. 3net stop msiserver
  4. 4Wait 5 seconds
  5. 5net start msiserver
  6. 6If service won't stop:
  7. 7taskkill /f /im msiexec.exe
  8. 8net start msiserver
  9. 9Clear temp files that may contain stale transactions:
  10. 10Delete contents of: %TEMP%
  11. 11Also clear: C:\Windows\Temp (deletable files only)
  12. 12Re-register the installer engine:
  13. 13msiexec /unregister
  14. 14msiexec /regserver
  15. 15Retry the installation

Solution 2: Fix Transaction Log Issues

  1. 1MSI transactions use a log for rollback:
  2. 2Check: C:\Windows\Installer — don't delete this folder!
  3. 3If you see very large .tmp files: these may be stale transactions
  4. 4Reboot PC first — this clears in-progress transactions
  5. 5Ensure only one installation runs at a time:
  6. 6Task Manager → check for multiple msiexec.exe processes
  7. 7If multiple found: end all, wait, then run your installer
  8. 8For stubborn transaction locks:
  9. 9Boot into Safe Mode (no MSI services running)
  10. 10Delete: C:\Windows\Installer\$PatchCache$\Managed (cache only)
  11. 11Restart into normal mode
  12. 12Retry installation

Solution 3: Install Using Alternative Method

  1. 1If MSI installer keeps failing:
  2. 2Try running with logging to find specific failure:
  3. 3msiexec /i "path\to\installer.msi" /l*v "C:\install.log"
  4. 4Check install.log for "Return value 3" (failure point)
  5. 5Common fixes from log analysis:
  6. 6Missing prerequisite: install Visual C++ Redistributables
  7. 7Permission denied: run as Administrator explicitly
  8. 8Disk space: ensure >1GB free on system drive
  9. 9If vendor provides both .msi and .exe installers:
  10. 10Try the .exe version — it may use a different install method
  11. 11For enterprise apps: contact vendor for repair/clean install tool
  12. 12Last resort: clean boot install (msconfig → disable non-MS services)
FIXES THIS IN 5 MINUTES

Fix Fix Error 0x80070665 — Windows Installer Transaction Failure Automatically

RescuePC Toolkit includes 109+ automated repairs that fix this problem with one click. No command line knowledge required.

Download Now - Free Trial

No credit card required • Works on Windows 10 & 11

Automated Repairs for This Issue

Browse More Update & Installation Guides

Share this:XRedditLinkedInEmail