Quantcast
Channel: Configuration Manager 2012 - Security, Updates and Compliance forum
Viewing all articles
Browse latest Browse all 6382

error=0x8024401 SCCM 2012R2

$
0
0

Hi All

i am having an issue on five servers at one of my clients - 3 of the 5 is at the same physical location while the other 2 is at a different site

i see tht this error refers to a network time out error but the rest of the servers patched fine at the 2 respective sites:

 Error=0x8024401c

however other servers at these sites have patched successfully -

I have ran the following script to try to remediate the issue

@echo off

cls

REM ==================================================================================

REM DESCRIPTION    : This script resets all of Windows Update Agent settings.

REM AUTHOR        : Luca Fabbri

REM VERSION HISTORY: 2.0 - Start

REM ==================================================================================

@echo 1. Stopping Windows Update, BITS, Application Identity, Cryptographic Services and SMS Host Agent services...

net stop wuauserv

net stop bits

net stop appidsvc

net stop cryptsvc

net stop ccmexec

@echo 2. Checking if services were stopped successfully...

sc query wuauserv | findstr /I /C:"STOPPED"

if %errorlevel% NEQ 0 goto END

sc query bits | findstr /I /C:"STOPPED"

if %errorlevel% NEQ 0 goto END

sc query appidsvc | findstr /I /C:"STOPPED"

if %errorlevel% NEQ 0 sc query appidsvc | findstr /I /C:"OpenService FAILED 1060"

if %errorlevel% NEQ 0 goto END

sc query cryptsvc | findstr /I /C:"STOPPED"

if %errorlevel% NEQ 0 goto END

sc query ccmexec | findstr /I /C:"STOPPED"

if %errorlevel% NEQ 0 sc query ccmexec | findstr /I /C:"OpenService FAILED 1060"

if %errorlevel% NEQ 0 goto END

@echo 3. Deleting AU cache folder and log file...

rd /s /q %SystemRoot%\SoftwareDistribution

@echo 4. Re-registering DLL files...

cd /d %WinDir%\system32

regsvr32.exe /s atl.dll

regsvr32.exe /s urlmon.dll

regsvr32.exe /s mshtml.dll

regsvr32.exe /s shdocvw.dll

regsvr32.exe /s browseui.dll

regsvr32.exe /s jscript.dll

regsvr32.exe /s vbscript.dll

regsvr32.exe /s scrrun.dll

regsvr32.exe /s msxml.dll

regsvr32.exe /s msxml3.dll

regsvr32.exe /s msxml6.dll

regsvr32.exe /s actxprxy.dll

regsvr32.exe /s softpub.dll

regsvr32.exe /s wintrust.dll

regsvr32.exe /s dssenh.dll

regsvr32.exe /s rsaenh.dll

regsvr32.exe /s gpkcsp.dll

regsvr32.exe /s sccbase.dll

regsvr32.exe /s slbcsp.dll

regsvr32.exe /s cryptdlg.dll

regsvr32.exe /s oleaut32.dll

regsvr32.exe /s ole32.dll

regsvr32.exe /s shell32.dll

regsvr32.exe /s initpki.dll

regsvr32.exe /s wuapi.dll

regsvr32.exe /s wuaueng.dll

regsvr32.exe /s wuaueng1.dll

regsvr32.exe /s wucltui.dll

regsvr32.exe /s wups.dll

regsvr32.exe /s wups2.dll

regsvr32.exe /s wuweb.dll

regsvr32.exe /s qmgr.dll

regsvr32.exe /s qmgrprxy.dll

regsvr32.exe /s wucltux.dll

regsvr32.exe /s muweb.dll

regsvr32.exe /s wuwebv.dll

@echo 5. Removing WSUS Client Id...

REG DELETE "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate" /v AccountDomainSid /f

REG DELETE "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate" /v PingID /f

REG DELETE "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate" /v SusClientId /f

@echo 6. Resetting Winsock and WinHTTP Proxy...

netsh winsock reset

proxycfg.exe -d

netsh winhttp reset proxy

@echo 7. Starting SMS Host Agent, Cryptographic Services, Application Identity, BITS, Windows Update services...

net start ccmexec

net start cryptsvc

net start appidsvc

net start bits

net start wuauserv

@echo 8. Deleting all BITS jobs...

bitsadmin.exe /reset /allusers

@echo 9. Forcing AU discovery...

wuauclt /resetauthorization /detectnow

:END

these all virtual servers

i get the following error in

scanagent.log

windowsupdate.log

thank you


Viewing all articles
Browse latest Browse all 6382

Trending Articles