1. Run CHKDSK to Repair Disk Errors
Since this error often stems from disk corruption, start with a disk integrity check:
- Open Command Prompt (Admin).
- Type the following command and press Enter:
- chkdsk C: /f /r
- Press Y to schedule the scan and restart your PC.
- Allow Windows to scan and repair bad sectors before retrying the update.
2. Use the System File Checker (SFC) Tool
- To repair missing or corrupted system files:
sfc /scannow
- This ensures critical Windows components required for updates are intact.
3. Repair the Windows Component Store
- Corrupted Windows images often cause this error. Run the following commands:
DISM /Online /Cleanup-Image /CheckHealth
DISM /Online /Cleanup-Image /ScanHealth
DISM /Online /Cleanup-Image /RestoreHealth
- These commands verify and repair damaged files within the Windows component store.
4. Rebuild the SoftwareDistribution Folder
Corrupted cache files can trigger this error.
- Open Command Prompt (Admin) and run:
net stop wuauserv
net stop bits
ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
net start wuauserv
net start bits
- Retry Windows Update — the system will recreate the folder with fresh content.
5. Update or Reinstall Storage Drivers
- Press Win + X → Device Manager → IDE ATA/ATAPI Controllers.
- Right-click your disk controller → Update Driver.
- If issues persist, reinstall the driver or download the latest version from your motherboard or SSD manufacturer’s site.
6. Perform Disk Cleanup and Clear Temp Files
Removing temporary and residual files can prevent update conflicts:
- Open Run → cleanmgr.
- Select Windows Update Cleanup and Temporary Files.
- Click OK to delete them.
7. Run Windows Memory Diagnostic
- Press Win + R, type mdsched.exe, and hit Enter.
- Choose Restart now and check for problems.
- Allow the scan to complete — faulty RAM modules may need replacement.
8. Check Drive Health Using WMIC
- Quickly inspect disk health through the command line:
wmic diskdrive get status
- If the output shows anything other than “OK,” consider running manufacturer-specific diagnostics or replacing the drive.
9. Reset Windows Update Components via Script (Advanced)
For persistent cases, use an advanced reset script:
- Save the following commands as a .bat file and run as administrator:
net stop wuauserv
net stop bits
net stop cryptsvc
del /f /s /q %windir%\SoftwareDistribution\*.*
del /f /s /q %windir%\system32\catroot2\*.*
net start cryptsvc
net start bits
net start wuauserv
- Retry Windows Update after execution.