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.
Problem:
I had recently had this error in WSUS where my Windows Server 2016 servers would NOT report into the WSUS Server. I would get an error stating 0x8024401c when manually performing a report now to the WSUS Server using:
Solution:
Go to IIS Manager on the WSUS Server
Goto Advanced Settings of WsusPool.
Make sure following settings are present/configured on the Pool, if not change it to below:
|
Queue Length: 25000 Limit Interval (minutes): 15 «Service Unavailable» Response: TcpLevel Private Memory Limit (KB): 0 |
Make sure, the WSUS Entry in the Registry is having fully qualified domain name of WSUS Server.
NOTE: If you have Group Policy managing the WSUS Settings, then make sure you change the settings in the WSUS Policy to use the FQDN of the WSUS Server and run a gpupdate /force on the clients.
i.e. “http://wsus.domain.com:8530”
Stop IIS on the WSUS Server
Edit the web.config located at following location on WSUS Server:
|
C:\Program Files\Update Services\WebServices\ClientWebService\web.config |
Replace the following lines in the config file and save in the same directory:
|
«<httpRuntime maxRequestLength=»4096» />» with «<httpRuntime maxRequestLength=»204800» executionTimeout=»7200«/>» |
Restart IIS on the WSUS Server
Try updating the clients again. They should be able to report and update successfully.
HAPPY TROUBLESHOOTING!
POSITIVE OUTCOMES ARISE FROM POSITIVE ATTITUDES!
REFERENCES:
Fixed | WSUS 2016 | Error Code 0x8024401c | Windows 10 | Windows Server 2016
Cookies Notice for itblog.ldlnet.net
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Do not sell my personal information.
У одного из заказчиков столкнулись с проблемой обновлений новых ПК с Windows 10 1607 и Windows Server 2016 с внутреннего WSUS сервера (на Windows Server 2012 R2). Компьютеры Windows 10 появляются в консоли WSUS, но при запуске поиска обновлений, клиент очень долго пытается их найти и возвращает ошибку 0x8024401c.
There were some problems installing updates, but we’ll try again later. If you keep seeing this and want to search the web or contact support for information, this may help: (0x8024401c)
Согласно списка кодов ошибок центра обновления Windows ошибка 0x8024401C означает превышение таймаута ответа от клиента: WU_E_PT_HTTP_STATUS_REQUEST_TIMEOUT — HTTP status 408 — the server timed out waiting for the request.
В новом журнале логов службы Windows Update Windows 10 при этом также периодически фиксируется ошибка, связанная с таймаутом ответа WSUS.
2017-05-30 14:11:24:870 816 1244 WS WARNING: There was an error communicating with the endpoint at 'http://msk-wsus:8530/ClientWebService/client.asmx'.
2017-05-30 14:11:24:870 816 1244 WS WARNING: There was an error receiving the HTTP reply.
2017-05-30 14:11:24:870 816 1244 WS WARNING: The operation did not complete within the time allotted.
2017-05-30 14:11:24:870 816 1244 WS WARNING: The operation timed out
Сама страница ‘
http://msk-wsus:8530/ClientWebService/client.asmx
‘ при этом с клиента доступна и открывается, т.е. возникает такое ощущение, что сервер WSUS или клиент просто не успевают выполнить некую операцию и клиент отваливается по таймауту. Возможно при инициирующем сканировании, новому клиенту WSUS прилетает слишком большой список обновлений, в результате чего достигаются некие лимиты рабочего процесса IIS.
Чтобы решить проблему с клиентами, мне пришлось сначала установить на сервере WSUS обновление KB3159706 (на сервере должен быть установлен Wndows Server 2012 R2 Update 1).
В статье KB3159706 (Update enables ESD decryption provision in WSUS in Windows Server 2012 and Windows Server 2012 R2) обратите внимание на ручные действия, которые нужно выполнить после установки обновления (иначе может перестать открываться консоль WSUS).
- Выполнить команду
"C:\Program Files\Update Services\Tools\wsusutil.exe" postinstall /servicing - Проверить, установлен ли компонент.NET Framework 4.5 -> HTTP Activation (
Get-WindowsFeature -Name NET-WCF-HTTP-Activation45
), и если он отсутствует, установить:
<httpRuntime maxRequestLength="4096" />на
<httpRuntime maxRequestLength="204800" executionTimeout="7200"/>
Get-Service -Name WsusService | Restart-Service -Verbose
Далее с помощью консоли IIS Manager нужно внести следующие изменения в настройки пула WsusPool (Application Pools -> WsusPool -> Advanced settings)
- Private Memory Limit (KB) – 0 (было 1258015, убирается лимит на использование памяти рабочим процессов WSUS, в результате служба может использовать более 1,2 Гб памяти)
- Queue Length — 25000 (увеличиваем длину очереди к пулу приложения с 10000)
- Limit Interval (minutes) — 15 (увеличиваем с 5 минут до 15 минут время для сброса счетчиков и выполнения CPU Throttling)
- Service Unavailable Response — TcpLevel (при старом значение HttpLevel клиенту возвращается ошибка HTTP 503, теперь соединение просто сбрасывается)
Затем в настройках сайта WSUS Administration -> Advanced settings нужно изменить значение Connection Time-out со 180 до 320.
Осталось перезапустить IIS:
IISReset
Теперь мы увеличили таймауты и ресурсы сервера, требуемые клиентам Windows 10 для поиска и проверки обновлений на сервере обновлений WSUS. На следующий день – все клиенты смогли обнаружить и установить все требуемые обновления.
