The 0x8e5e0247 error typically appears when Windows Update or the Microsoft Store fails to install an update, often due to corrupted cache files, service misconfigurations, or permission issues. This guide walks you through proven fixes to resolve the error and get your system updating normally again.
What You’ll Need
- Administrator access to your Windows PC (you’ll need to run some commands as admin).
- A stable internet connection.
- About 15–30 minutes of time.
Step-by-Step
- Run the Windows Update Troubleshooter – Go to Settings > System > Troubleshoot > Other troubleshooters (Windows 11) or Settings > Update & Security > Troubleshoot (Windows 10). Select Windows Update and click Run. Follow the prompts; this often fixes common update issues automatically.
- Clear the SoftwareDistribution and catroot2 folders – These folders hold temporary update files. Corrupted files here are a common cause of error 0x8e5e0247.
- Press Win + R, type
services.msc, and press Enter. - Right-click Windows Update and select Stop. Also stop Cryptographic Services and Background Intelligent Transfer Service (BITS).
- Open File Explorer and navigate to
C:\Windows\SoftwareDistribution. Delete everything inside the folder (select all with Ctrl+A, then Delete). - Go to
C:\Windows\System32\catroot2and delete its contents as well. - Return to Services, right-click each service you stopped, and select Start.
- Press Win + R, type
- Run DISM and SFC scans – These repair system corruption that can interfere with updates.
- Open Command Prompt as administrator (search “cmd”, right-click, choose Run as administrator).
- Run
DISM /Online /Cleanup-Image /RestoreHealthand wait for it to finish (may take 10–20 minutes). - Then run
sfc /scannowand wait for completion. - Restart your PC.
- Reset the Windows Update components manually – If the above doesn’t work, open Command Prompt as admin and run these commands one by one, pressing Enter after each:
net stop wuauserv net stop cryptSvc net stop bits net stop msiserver ren C:\Windows\SoftwareDistribution SoftwareDistribution.old ren C:\Windows\System32\catroot2 catroot2.old net start wuauserv net start cryptSvc net start bits net start msiserver
Then restart your PC and try updating again.
- Check date and time settings – Incorrect system time can break SSL connections used by Windows Update. Right-click the clock in the taskbar, select Adjust date/time, and ensure Set time automatically is on. Also check the time zone is correct.
- Run the Microsoft Store troubleshooter (if the error appears in Store) – Go to Settings > System &em; Troubleshoot > Other troubleshooters and run the Microsoft Store Apps troubleshooter. Alternatively, use
wsreset.exefrom the Run dialog to clear the Store cache. - Perform a clean boot – Background programs can conflict with updates. Type
msconfigin Run, go to the Services tab, check Hide all Microsoft services, then click Disable all. In the Startup tab, open Task Manager and disable all startup items. Restart and try updating. Afterward, re-enable everything.
Common Mistakes
- Deleting folders while services are still running – If you don’t stop Windows Update and BITS first, the files are locked and the deletion fails, leaving the corruption in place.
- Skipping the DISM scan before SFC – SFC can’t fix corrupted system files if the underlying image is damaged; DISM must run first.
- Using third-party “update fix” tools – These often make things worse; stick to built-in Windows tools.
- Not restarting after the steps – Some changes only take effect after a reboot.
Tips
- Always create a system restore point before making major changes (search “create a restore point” in Start).
- If you have a VPN or proxy, temporarily disable it – they can interfere with Windows Update.
- Keep your drivers updated, especially network drivers, as outdated drivers can cause update failures.
- If the error appears only for a specific update, try downloading that update manually from the Microsoft Update Catalog and installing it.
Troubleshooting
If the error persists after following all steps:
- Check for disk space – Windows Update needs free space. Open File Explorer and ensure your system drive has at least 20 GB free.
- Review the update history – Go to Settings > Windows Update > Update history. Look for the failed update and note its KB number. Search online for that specific KB to see if there are known issues.
- Use the Media Creation Tool – As a last resort, you can use the Windows Media Creation Tool to perform an in-place upgrade, which reinstalls Windows while keeping your files and apps. This often fixes deep corruption.
- Check for malware – Run a full scan with Windows Defender or your preferred antivirus. Malware can block updates.
Frequently Asked Questions
What causes error 0x8e5e0247?
It’s usually caused by corrupted Windows Update cache files, damaged system files, or services that aren’t running properly. Sometimes third-party security software or incorrect system time can trigger it.
Will I lose my files if I clear the SoftwareDistribution folder?
No. That folder only contains temporary update files. Deleting its contents is safe and does not affect your personal data or installed programs.
How long does the DISM scan take?
It can take anywhere from 5 to 30 minutes depending on your system speed and the extent of corruption. Let it run to completion without interrupting.
Can I fix this error without admin rights?
No. All the effective fixes require administrator privileges. If you’re on a work or school computer, contact your IT administrator.
Is there a risk of breaking my system with these commands?
The commands used here are standard Windows repair tools. As long as you follow the steps exactly, the risk is minimal. Always create a restore point beforehand for extra safety.
Why does the error keep coming back after a few weeks?
Recurring errors often indicate underlying hardware issues (like failing RAM) or a corrupted Windows installation. If it keeps returning, consider running a memory diagnostic or performing a repair install.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- Fix Unfortunately App Has Stopped: Step-by-Step
- Restart a Frozen Samsung Galaxy A12
- HomePod Stereo Pair with AirPlay 2 from iPhone
- Pixel & Pixel XL No Sound: Solved?
- How to Edit Playlists on iPhone
- Open Apps From Anywhere on macOS Sierra