Complete detail on WUAHandler.log & fix is linked to registry.pol <check date>, rename or delete registry.pol file & run gpupdate /force & run software update eval cycle & scan cycle.
Check updatestore.log for that particular KB we will see if missing or existing by taking note of unique ID.
Review more logs based on unique id Updatedeployment.log, updatehandler.log, updatestore.log, WUAHandler.log, windowsupdate.log may give us good clue on errors.
To review Windowsupdatelog
Powershell >> get-windowsupdatelog
Another file is created which will have more details.
Logs will have entry like:
ASSIGNMENT_EVALUATE_SUCCESS, ASSIGNMENT_ENFORCE_FAILED or any other message like Failed to attach update to the automation wrapper = 0x87D00215.
If seen as finished installing (0x000000000), means patches are installed.
No pending patches available as of now, kindly find the log details.
<![LOG[EnumerateUpdates for action (UpdateActionInstall) – Total actionable updates = 0]LOG]!><time=”05:02:16.837-60”date=”02-16-2022” component=”UpdatesDeploymentAgent” context=”” type=”1” thread=”27904” file=updatesmanager.cpp:1826”>
STEP 3: Remediation to deploy Patches:
Caused by some update files becoming corrupt while being downloaded. If this happens you can delete or rename the folder & it will be recreated in same location.
Couple of placed observed one in software distribution & ccmcache
Renaming Folders
Softwaredistribution folder located in C:\windows\
If ccmcache, can rename ccmcache folder or specific subfolder if aware
Catroot2 folder located in C:\windows\System32
By default it will not allow as services are running in backend
Stop Windows update service Service name: wuauserv
Stop Cryptographic Services Service name: CryptSvc
Stop Background Intelligent Transfer Service name: bits
Stop Windows Installer Services Service name: msiserver
Post service stopped rename folder
Sometimes few services auto start so you will need to disable it.
Once folders are renamed restart / enable above 4 services & also check status of SMS Agent host service
If windows installer services is giving error while starting check to Unregister and re-register Windows Installer by following command
Msiexec /unregister
Msiexec /regserver
Reboot system & check
Initiate “Software Update Scan Cycle” and “Software Updates deployment evaluation cycle” from configuration manager applet
Review logs
If patches still fail to deploy, there can be windows issue
Sfc/scannow (this is System File Checker)
Windows Update troubleshooter can be accessed thru settings
STEP 4: Patches are deployed as per logs, however reporting is showing as non compliant.
We need client to resend its data to the MP. It’s a convenient way to force some state messages up.
If you would like to share your troubleshooting fix or knowledge on MECM, you are most welcome to share your interest in email. Will look forward to collaborate & share knowledge.
Application do install thru Software Center however there are certain moments when apps fail to install & we see some error codes in Software Center.
Software Center Error Codes:
0x1(1)
Incorrect function
Residuals found in device also app present in Appwiz, uninstall restart, check install , if still problem persist check registry
Deployment Failed
0x87D00213(-2016411117) : Timeout occurred
0x87D0027C (-2016411012) : CI Document download time out
0x800705B4 (-2147023436) : Operation returned because timeout period expired
Install took longer than allowed.
Try install again usually associated with installs that require user input to complete.
Review Install logs
issue observed while reviewing DCMAgent log with bug in MS… I had to rename ccmstore.sdf or reinstall client.. complete video link https://www.youtube.com/watch?v=6qpphPO4AJ0
"Deployment Failed or "Requirments not met" or "Evaluation Failed" or "Failed to locate content"
0x87D00324(-2016410844)
Detection issue
The software package installed successfully, but a software detection rule was not found.
You can verify the application detection method mentioned also by checking install logs , appenforce can also give certain clue.
0x87D00325(-2016410843)
Detection issue
The software package uninstalled successfully, but a software detection rule was still found.
Review uninstall logs, check appwiz.cpl"
112 : Not enough space on the disk
-2147024784 : Not enough space on the disk
-2147023080 : Not enough quota is available to process this command
0x87d01201(-2016407039) : Out of space
Deployment Failed
Download fail, HDD out of space
Check HDD Space
CCMCache max size limitation check
0x652 (1618) : Another installation is already in progress
-2147023278 : Another installation is already in progress
Deployment Failed
Another install in progress
Restart services or computer"
0x80040154 (-2147221164)
Class not registered
Evaluation Failed
CCMRepair, Client Reinstall
-2147010895
Deployment Failed
Application has failed to start because its config is incorrect.
Check event log
Additional Error Codes:
-2147023504
Deployment Failed
The file or directory is corrupted & unreadable
Clear CCMCache repository folder & Run Action cycle
-2016407040
No content request found with the given handle
Failed to download dependent contents
Clear CCMCache repository folder & Run Action cycle
0x87D00607(-2016410105)
Content not found
Could be DP not assigned to Boundary Group Check CITaskMgr, Appdiscovery, appinitEval, appenforce, data transfer, content transfer, CI Agent, DCMagent,
0x87D01106(-2016407290)
Content not available
Check if content is distributed to DP
-2147024809
The parameter is incorrect
Failed to verify the executable file is valid or to construct the associated CMD line
Failed to download dependent contents
Check content in CCMCache or clear ccmcache repository & run action cycles
1619
This installation package could not be opened.
Check content in CCMCache or clear ccmcache repository & run action cycles
0x80041001(-2147217407)
Generic Failure
SMS Agent host service not running, restart service, else repair ccmclient or reinstall client
0x80091007(-2146889721)
Hash value incorrect
Clear ccmcache & retry, check event log if something else is blocking
0x64C (1612)
Deployment Failed
Installation source for this product is not available. Verify that source exists and you can access it
0x643 (1603) : Fatal error during installation
0x87D00443(-2016410557)
-1073741510 : Fatal error during installation
-1073741502 : Fatal error during installation
424 : Fatal error during installation
Deployment Failed
One or more process are running & prevent enforcement action
Conflict of application, restart pc or review services , apps & close it.
5 : Access denied
-2147217405 : Access denied
-2147024891 : Access denied
Deployment Failed or Evaluation Failed or Dependency Installation Failed
Check permission
0x87D01107 (-2016407289)
Failed to access all provided program locations.
Failed to locate content
0x80004004 (-2147467260)
Operation aborted
Failed to download dependent contents
-214718113
Catastrophic failure
Evaluation Failed
-2147217389
Provider load failure
Evaluation Failed
1625
Deployment Failed
Installation forbidden by system policy
1400
Deployment Failed
Invalid Window handle
-2147023446
Deployment Failed
Insufficient System resource exit to complete the requested service
-2146959355
Evaluation Failed
Policy for this program does not exist or is invalid
Troubleshoot to diagnose if Patch scanning is failing.
Assignment of Patches
Scanning of Devices
Deploying of Patches
Log Files to check: WUAHandler.log
Common Error seen in log:
Failed to run BeginSearch() on WUAgent. Error = 0x80070422 It’s a WSUS update source type… adding it Existing WUA Managed server was already set (http://sup.domain:8530) , skipping Group Policy registration. Failed to run BeginSearch() on WUAgent. Error = 0x80070422
OnSearchComplete – Failed to end search job. Error = 0x80248007 Scan failed with error = 0x80248007 GroupPolicyError.
Error Code seen in logs: 0x0005 0x80004005 0x87d00605 0x87d00692 0x800703EE 0x80070422 0x80070570 0x80248007 0x80080005 0xC8000710 0x80244017 0x80040154 0x80240FFF 0x80240438
FIX: 1. To rename or delete REGISTRY.POL file located in
C:\windows\system32\Grouppolicy\Machine
C:\windows\system32\Grouppolicy\User (Optional in certain devices)
Explore Registry.pol thru notepad or thru third party software