How to resolve error code 0x8024401c: Windows Update encountered an unknown error in Windows Server 2019
There are multiple approaches to resolve error code 0x8024401c in Windows Server 2019:
- Verify your internet connection: Ensure your server has an active internet connection without any issues.
- Restart the Windows Update service: Open the Services app, find the Windows Update service, right-click, and select Restart.
- Run the Windows Update troubleshooter: Open Settings, navigate to Update & Security > Troubleshoot, select Windows Update, and click Run the troubleshooter.
- Clear the Windows Update cache: Open Command Prompt as an administrator and execute the following commands:
- Disable third-party antivirus software: Temporarily disable any installed third-party antivirus software and try running Windows Update again.
- Check for system file corruption: Open Command Prompt as an administrator and run the command:
- Perform a system restore: If none of the previous steps work, you might need to perform a system restore to a previous point when Windows Update was functioning correctly.
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
sfc /scannow
This command will scan for and attempt to repair any corrupted system files.