How to solve the error code 0x8024401c: Windows Update encountered an unknown error in Windows Server 2019
There are several steps you can take to solve the error code 0x8024401c in Windows Server 2019:
- Check your internet connection: Ensure that your server is connected to the internet and that there are no connectivity issues.
- Restart the Windows Update service: Open the Services app and locate the Windows Update service. Right-click on it and select Restart.
- Run the Windows Update troubleshooter: Open the Settings app and go to Update & Security > Troubleshoot. Select Windows Update and click on Run the troubleshooter.
- Clear the Windows Update cache: Open the Command Prompt as an administrator and run the following commands:
- Disable third-party antivirus software: Temporarily disable any third-party antivirus software you have installed and try running Windows Update again.
- Check for system file corruption: Open the Command Prompt as an administrator and run the following command:
- Perform a system restore: If none of the above steps work, you may need to perform a system restore to a previous point in time when Windows Update was working 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 will scan your system for any corrupted system files and attempt to repair them.