How to Fix Fix Error 0x8007066B — Windows Installer Configuration Data Invalid on Windows
Getting Windows error 0x8007066B? Installer configuration data invalid? Software installation fails with config error? MSI package configuration rejected? Program setup reports invalid configuration? Fix error code 0x8007066B.
📖
Main Troubleshooting Guide
How to Fix Microsoft Store Not Working →Complete symptoms, causes, and step-by-step solutions
Symptoms
You might be experiencing this problem if you notice:
- •Software installation fails with error 0x8007066B
- •Windows Update reports installer configuration invalid
- •MSI packages fail during configuration phase
- •Program updates cannot read configuration data
- •Feature installation aborts with 0x8007066B
- •Repair install of software fails at configuration step
Common Causes
- ⚠Windows Installer configuration database corrupted
- ⚠Registry entries for installer configuration damaged
- ⚠Incomplete previous installation left bad config data
- ⚠Installer service unable to read configuration store
- ⚠Third-party cleanup tool removed needed config entries
- ⚠Group Policy restricting installer configuration changes
Solutions
Solution 1: Reset Windows Installer Service
- 1Re-register Windows Installer:
- 2CMD as Admin:
- 3msiexec /unregister
- 4msiexec /regserver
- 5Clear installer temp data:
- 6Delete contents of C:\Windows\Temp (skip files in use)
- 7Delete contents of %TEMP% folder
- 8Restart Windows Installer service:
- 9Win+R → services.msc
- 10Find "Windows Installer" → Restart
- 11Retry the installation
Solution 2: Repair System Files and Installer Database
- 1Run system file checker:
- 2CMD as Admin:
- 3sfc /scannow
- 4DISM /Online /Cleanup-Image /RestoreHealth
- 5Re-register installer DLLs:
- 6regsvr32 msi.dll
- 7regsvr32 msihnd.dll
- 8regsvr32 msiexec.exe /regserver
- 9If specific software fails, uninstall completely first
- 10Use Microsoft Program Install/Uninstall troubleshooter
- 11Then perform fresh installation
Solution 3: Clean Install of Affected Software
- 1Remove all traces of the failing software:
- 2Settings → Apps → Installed apps → Uninstall
- 3Check for leftover folders in:
- 4C:\Program Files and C:\Program Files (x86)
- 5C:\ProgramData
- 6%APPDATA% and %LOCALAPPDATA%
- 7Remove leftover registry keys (optional, advanced):
- 8HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
- 9Restart PC and install the software fresh
FIXES THIS IN 5 MINUTES
Fix Fix Error 0x8007066B — Windows Installer Configuration Data Invalid Automatically
RescuePC Toolkit includes 109+ automated repairs that fix this problem with one click. No command line knowledge required.
Download Now - Free TrialNo credit card required • Works on Windows 10 & 11