Category: PowerShell & Command-line Scripts
Author: Microsoft Support / Modified for PCHF
Version: 3.0 (October 2025)
Summary:
Resets Windows Update components, clears the SoftwareDistribution and Catroot2 folders, and re-registers core update services.
Usage:
Code:
net stop bits net stop wuauserv net stop cryptsvc Del "%systemroot%\SoftwareDistribution" /s /q Del "%systemroot%\System32\catroot2" /s /q net start bits net start wuauserv net start cryptsvc
• Useful for 0x800f081f / 0x8024a105 errors.
• Run from elevated CMD or PowerShell.
• Combine with DISM and SFC for best results.
Last updated: October 2025 • Verified by PCHF Staff