How to Fix 0x8007045D When Updating Windows
The 0x8007045D error is one of the most common Windows errors. It typically appears during Windows Update, system setup or when installing drivers, and it is usually caused by corrupted system files, blocked services or network problems. Follow the fixes below in order; most users resolve it within 30 minutes.
What causes the 0x8007045D error?
The 0x8007045D error usually points to damaged Windows Update components, incorrect system time, a full system drive or security software blocking the connection. Occasionally it follows a failed update that left services in a half-configured state.
Fix it now
1. Run System Restore
If the error started recently, restore Windows to a point before the problem appeared via Control Panel > Recovery > Open System Restore.
2. Install the update manually
Visit the Microsoft Update Catalog, search for the failing KB number, download the matching .msu file and install it manually.
3. Reset the Windows Update components
Open Command Prompt as administrator and run: net stop wuauserv, net stop cryptSvc, net stop bits. Then rename the SoftwareDistribution and Catroot2 folders, and restart the services with the matching net start commands.
4. Use the Media Creation Tool
For persistent errors, download the Windows Media Creation Tool and choose 'Upgrade this PC now'. It keeps your files and apps while repairing the OS.
5. Run SFC and DISM scans
Open Command Prompt as administrator and run sfc /scannow. If issues are found, follow up with DISM /Online /Cleanup-Image /RestoreHealth. Restart your PC afterwards.
Related guides
Frequently asked questions
It usually points to corrupted system files, blocked update services, network problems or a full disk. The fixes in this guide cover all the common causes.
The fixes here keep your files. The Media Creation Tool repair reinstalls the OS, but it keeps your files and apps.
Most cases take under 30 minutes. SFC and DISM scans can take longer depending on disk speed.