dist/test-windowsupdatehealth_log3.txt
|
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved. Install the latest PowerShell for new features and improvements! https://aka.ms/PSWindows PS C:\windows\system32> install-module windowsupdatetools -allowclobber -force; import-module windowsupdatetools; test-w indowsupdatehealth [2025-12-19 14:08:59] [Info] === Windows Update Health Assessment Started === [2025-12-19 14:08:59] [Info] Version: 1.5.102 [2025-12-19 14:08:59] [Info] Parameters: OutputPath=C:\Windows\Temp, SkipSetupDiag=False, SkipLogAnalysis=False, SkipTro ubleshooter=False, SkipDetailedEventLogs=False, SkipServicesCheck=False, SkipComponentStoreCheck=False, SkipPendingUpdat esCheck=False [2025-12-19 14:08:59] [Info] Collecting comprehensive system information [2025-12-19 14:09:14] [Info] System: HP HP EliteOne 840 23.8 inch G9 All-in-One Desktop PC [2025-12-19 14:09:14] [Info] OS: Microsoft Windows 11 Business Build 26100.7171 (24H2) [2025-12-19 14:09:14] [Info] RAM: 31.68 GB, Disk Free: 297.56 GB (67.1%) [2025-12-19 14:09:14] [Info] Uptime: 77.3 hours, Domain: bgh.bradfordgreenhouses.com WARNING: Pending reboot detected [2025-12-19 14:09:14] [Info] System information collected successfully [2025-12-19 14:09:14] [Info] Analyzing Windows Update services [2025-12-19 14:09:14] [Info] Checking service: Windows Update (wuauserv) [2025-12-19 14:09:14] [Info] Status: Running, StartType: Manual, Issues: 1 [2025-12-19 14:09:14] [Info] Checking service: Background Intelligent Transfer Service (BITS) [2025-12-19 14:09:15] [Info] Status: Stopped, StartType: Manual, Issues: 0 [2025-12-19 14:09:15] [Info] Checking service: Cryptographic Services (cryptsvc) [2025-12-19 14:09:15] [Info] Status: Running, StartType: Auto, Issues: 0 [2025-12-19 14:09:15] [Info] Checking service: Windows Installer (msiserver) [2025-12-19 14:09:15] [Info] Status: Stopped, StartType: Manual, Issues: 0 [2025-12-19 14:09:15] [Info] Checking service: Windows Modules Installer (TrustedInstaller) [2025-12-19 14:09:15] [Info] Status: Stopped, StartType: Manual, Issues: 0 [2025-12-19 14:09:15] [Info] Checking service: Themes (Themes) [2025-12-19 14:09:15] [Info] Status: Running, StartType: Auto, Issues: 0 [2025-12-19 14:09:15] [Info] Checking service: Application Identity (AppIDSvc) [2025-12-19 14:09:16] [Info] Status: Stopped, StartType: Manual, Issues: 0 [2025-12-19 14:09:16] [Info] Performing additional Windows Update system checks... [2025-12-19 14:09:16] [Info] Windows Update Medic Service found: Stopped [2025-12-19 14:09:16] [Info] Service analysis complete: [2025-12-19 14:09:16] [Info] Total services checked: 7 [2025-12-19 14:09:16] [Info] Critical services down: 0 [2025-12-19 14:09:16] [Info] Non-critical services down: 0 [2025-12-19 14:09:16] [Info] Services with issues: 0 [2025-12-19 14:09:16] [Info] Overall healthy: False [2025-12-19 14:09:16] [Info] Checking for pending Windows Updates [2025-12-19 14:09:16] [Info] Searching for pending updates... [2025-12-19 14:09:23] [Info] Found 3 pending updates [2025-12-19 14:09:23] [Info] Update: Security Intelligence Update for Microsoft Defender Antivirus - KB2267602 (Versio n 1.443.218.0) - Current Channel (Broad) [2025-12-19 14:09:23] [Info] Size: 1620.4 MB, Status: Not Downloaded (0%), Importance: Important [2025-12-19 14:09:23] [Info] State: Pending Download [2025-12-19 14:09:23] [Info] Previous attempts: 27, Last: 12/19/2025 14:12:28 - Succeeded [2025-12-19 14:09:23] [Info] Update: Brother - Printer - 1.12.0.0 [2025-12-19 14:09:23] [Info] Size: 20.7 MB, Status: Not Downloaded (0%), Importance: Optional [2025-12-19 14:09:23] [Info] State: Pending Download [2025-12-19 14:09:23] [Info] Reboot required after installation [2025-12-19 14:09:23] [Info] Update: 2025-12 Security Update (KB5072033) (26100.7462) [2025-12-19 14:09:23] [Info] Size: 91171.7 MB, Status: Downloaded (100%), Importance: Important [2025-12-19 14:09:23] [Info] State: Pending Install [2025-12-19 14:09:23] [Info] Reboot required after installation [2025-12-19 14:09:23] [Info] Debug: downloadedCount=1, importantCount=2, rebootRequiredCount=2 [2025-12-19 14:09:23] [Info] Debug: First update IsDownloaded=False, Importance=Important, RebootRequired=False [2025-12-19 14:09:23] [Info] Pending updates summary: [2025-12-19 14:09:23] [Info] Total updates: 3 [2025-12-19 14:09:23] [Info] Total size: 92812.8 MB [2025-12-19 14:09:23] [Info] Pending download: 2 [2025-12-19 14:09:23] [Info] Downloading: 0 [2025-12-19 14:09:23] [Info] Ready to install: 1 [2025-12-19 14:09:23] [Info] Important/Critical: 2 [2025-12-19 14:09:23] [Info] Requiring reboot: 2 WARNING: SUSPICIOUS: KB5072033 reports 89.0 GB but should be ~3-5 GB WARNING: This is often caused by stale Orchestrator registry after feature updates (UUP metadata issue) WARNING: Recommendation: Run 'Repair-WindowsUpdate -ClearCache' to fix Orchestrator state and clear cache WARNING: updates are over 30 days old [2025-12-19 14:09:23] [Info] Found 3 pending updates [2025-12-19 14:09:23] [Info] Analyzing Windows Update history for last 30 days [2025-12-19 14:09:23] [Info] Retrieving Windows Update history... [2025-12-19 14:09:23] [Info] Found 100 update history entries [2025-12-19 14:09:23] [Info] Update history analysis completed: [2025-12-19 14:09:23] [Info] Total updates: 23 [2025-12-19 14:09:23] [Info] Successful: 23 [2025-12-19 14:09:23] [Info] Failed: 0 [2025-12-19 14:09:23] [Info] Aborted: 0 [2025-12-19 14:09:23] [Info] With errors: 0 [2025-12-19 14:09:23] [Info] Success rate: 100% [2025-12-19 14:09:23] [Info] Last successful update: 2025-12-19 14:12:28 (0 days ago) [2025-12-19 14:09:23] [Info] Analyzing Windows Update events from last 30 days [2025-12-19 14:09:24] [Info] Found 81 events across logs: WUClient-Operational: 9, System: 2, Application: 70 [2025-12-19 14:09:24] [Info] Analyzing 81 relevant events for patterns... [2025-12-19 14:09:24] [Info] Event log analysis summary: [2025-12-19 14:09:24] [Info] Total relevant events: 81 [2025-12-19 14:09:24] [Info] Critical: 0, Errors: 26, Warnings: 55 [2025-12-19 14:09:24] [Info] Update attempts: 2, Successful: 0, Failed: 11 [2025-12-19 14:09:24] [Info] Top error codes: [2025-12-19 14:09:24] [Info] 0x80070002 (54x): ERROR_FILE_NOT_FOUND - The system cannot find the file specified (usu ally missing update payload) [2025-12-19 14:09:24] [Info] 0x80004005 (12x): E_FAIL - Unspecified error generic catch-all [2025-12-19 14:09:24] [Info] 0x80240438 (9x): WU_E_PT_ENDPOINT_UNREACHABLE - No route or network connectivity to the Windows Update endpoint [2025-12-19 14:09:24] [Info] Last successful update: Not found in analysis period [2025-12-19 14:09:24] [Info] Last failed update: 2025-12-19 14:06 (0 days ago) [2025-12-19 14:09:24] [Info] Common failure patterns: [2025-12-19 14:09:24] [Info] 27x: The user 'Navision (Retail)' preference item in the 'NAV-Rem... [2025-12-19 14:09:24] [Info] 27x: The user 'Navision (Wholesale)' preference item in the 'NAV-... [2025-12-19 14:09:24] [Info] Issues identified: WARNING: - High number of error events (26) may indicate persistent issues WARNING: - More failed updates (11) than successful ones (0) [2025-12-19 14:09:24] [Info] Testing Component Store health [2025-12-19 14:09:24] [Info] Running DISM CheckHealth... [2025-12-19 14:09:24] [Info] DISM CheckHealth exit code: 0 WARNING: Component store corruption detected by CheckHealth [2025-12-19 14:09:24] [Info] Running DISM ScanHealth for thorough analysis... [2025-12-19 14:10:43] [Info] DISM ScanHealth exit code: 0 WARNING: Component store corruption confirmed by ScanHealth [2025-12-19 14:10:43] [Info] DISM detected corruption - analyzing CBS.log for details... [2025-12-19 14:10:43] [Info] Found 3 corruption details in CBS.log [2025-12-19 14:10:43] [Info] CBS Log Corruption Details: [2025-12-19 14:10:43] [Info] 2025-12-19 14:10:43, Info CBS Total Detected Corruption: 449 [2025-12-19 14:10:43] [Info] 2025-12-19 14:10:43, Info CBS CSI Payload Corruption: 449 [2025-12-19 14:10:43] [Info] 2025-12-19 14:10:43, Info CBS Count of times corruption detected: 1 [2025-12-19 14:10:44] [Info] Component Store health test completed: [2025-12-19 14:10:44] [Info] Corruption detected: True [2025-12-19 14:10:44] [Info] Health check passed: False [2025-12-19 14:10:44] [Info] Scan health passed: False [2025-12-19 14:10:44] [Info] CBS log issues: 3 [2025-12-19 14:10:44] [Info] Total issues found: 3 WARNING: RECOMMENDATION: Run component store repair (DISM RestoreHealth) [2025-12-19 14:10:44] [Info] Component store issues detected but update success rate is 100% - downgrading to Warning [2025-12-19 14:10:44] [Info] Analyzing Windows Update configuration [2025-12-19 14:10:44] [Info] Device is MDM enrolled (Intune managed) [2025-12-19 14:10:44] [Info] Checking for third-party RMM patch management... [2025-12-19 14:10:44] [Info] Third-party RMM detected: NinjaRMM/NinjaOne (service: NinjaRMMAgent) [2025-12-19 14:10:44] [Info] Note: Checking if RMM is managing patches (NoAutoUpdate registry)... [2025-12-19 14:10:44] [Info] Checking WSUS configuration... [2025-12-19 14:10:44] [Info] Found AutoUpdate registry configuration at: HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windo wsUpdate\AU [2025-12-19 14:10:44] [Info] Registry: NoAutoUpdate = 1 [2025-12-19 14:10:44] [Info] Registry: AUOptions = 1 [2025-12-19 14:10:44] [Info] Auto-update disabled by NinjaRMM/NinjaOne - RMM is managing patches [2025-12-19 14:10:44] [Info] Auto Update Policy: AUOptions=1 (Disabled - Never check for updates) [2025-12-19 14:10:44] [Info] Found WindowsUpdate registry configuration at: HKLM:\SOFTWARE\Policies\Microsoft\Windows\Wi ndowsUpdate [2025-12-19 14:10:44] [Info] Checking Windows Update for Business / Intune Update Ring configuration... [2025-12-19 14:10:44] [Info] MDM Update Ring: Quality Updates (Security/Cumulative) = NOT ENROLLED (Provider: Intune) [2025-12-19 14:10:44] [Info] MDM Update Ring: Driver Updates = NOT ENROLLED (Provider: Intune) [2025-12-19 14:10:44] [Info] MDM Update Ring: Feature Updates (Version Upgrades) = NOT ENROLLED (Provider: Intune) [2025-12-19 14:10:44] [Info] Device updates managed by NinjaRMM/NinjaOne (quality and feature updates) [2025-12-19 14:10:44] [Info] MDM Setting: AllowRebootlessUpdates = 0 [2025-12-19 14:10:44] [Info] WUfB GPO Setting: DeferFeatureUpdates = 0 [2025-12-19 14:10:44] [Info] WUfB GPO Setting: DeferQualityUpdates = 0 [2025-12-19 14:10:44] [Info] Device already on Windows 11 24H2+ (build 26100) - skipping 24H2 compatibility check [2025-12-19 14:10:44] [Info] Checking for additional configuration issues... [2025-12-19 14:10:44] [Info] Windows Update configuration analysis completed: [2025-12-19 14:10:44] [Info] Update Source: Windows Update [2025-12-19 14:10:44] [Info] Policy Source: MDM/Intune [2025-12-19 14:10:44] [Info] WSUS Configured: False [2025-12-19 14:10:44] [Info] Auto Update Enabled: False WARNING: Update Policy: Disabled - Never check for updates [2025-12-19 14:10:44] [Info] WUfB Configured: True [2025-12-19 14:10:44] [Info] Patch Management: NinjaRMM/NinjaOne [2025-12-19 14:10:44] [Info] Windows 11 24H2 Compatible: True [2025-12-19 14:10:44] [Info] Configuration Issues: 1 [2025-12-19 14:10:44] [Info] Configuration issues found: WARNING: - [Info] Windows auto-update disabled - managed by NinjaRMM/NinjaOne [2025-12-19 14:10:44] [Info] Remediation: No action needed - patches are managed by NinjaRMM/NinjaOne. Verify patch policies in RMM console. [2025-12-19 14:10:44] [Info] Starting SetupDiag analysis [2025-12-19 14:10:44] [Info] .NET Framework Version: 4.8 [2025-12-19 14:10:44] [Info] Checking Windows Setup log availability for SetupDiag analysis [2025-12-19 14:10:44] [Info] Found 3 log files in: C:\windows\Panther [2025-12-19 14:10:44] [Info] 1 recent logs (< 90 days old) [2025-12-19 14:10:44] [Info] Found 2 log files in: C:\windows\Panther\UnattendGC [2025-12-19 14:10:44] [Info] 2 recent logs (< 90 days old) [2025-12-19 14:10:44] [Info] Found 1 log files in: C:\windows\inf\setupapi.dev.log [2025-12-19 14:10:44] [Info] 1 recent logs (< 90 days old) [2025-12-19 14:10:44] [Info] Found 2 log files in: C:\windows\logs\CBS [2025-12-19 14:10:44] [Info] 2 recent logs (< 90 days old) [2025-12-19 14:10:44] [Info] Attempting to download SetupDiag from: https://go.microsoft.com/fwlink/?linkid=870142 [2025-12-19 14:10:44] [Info] Using existing SetupDiag (less than 7 days old) [2025-12-19 14:10:44] [Info] SetupDiag path validated: C:\Windows\Temp\SetupDiag.exe [2025-12-19 14:10:44] [Info] Running SetupDiag with output: C:\Windows\Temp\SetupDiagResults-20251219-141044.json [2025-12-19 14:10:44] [Info] SetupDiag arguments: /Output:C:\Windows\Temp\SetupDiagResults-20251219-141044.json /Format: json /ZipLogs:False [2025-12-19 14:10:44] [Info] Starting SetupDiag execution at 14:10:44 - this may take several minutes [2025-12-19 14:10:45] [Info] SetupDiag completed in 00:01 with exit code: -2146233079 ERROR: SetupDiag .NET runtime exception (exit code -2146233079) - .NET Framework 4.8 is present but SetupDiag encountere d a runtime error WARNING: RECOMMENDATION: Try running 'sfc /scannow' to check system file integrity, or consider .NET Framework repair if the issue persists [2025-12-19 14:10:45] [Info] SetupDiag failed - attempting fallback direct log analysis... [2025-12-19 14:10:45] [Info] Starting direct Windows Setup log analysis [2025-12-19 14:10:45] [Info] Auto-detected setup logs at: C:\Windows\Panther [2025-12-19 14:10:45] [Info] Analyzing setuperr.log for critical error patterns... [2025-12-19 14:10:45] [Info] Analyzing diagwrn.xml for software conflicts... [2025-12-19 14:10:45] [Info] Checking diagerr.xml for additional error details... [2025-12-19 14:10:45] [Info] Additional error from diagerr.xml: [setup.exe] PBRImage was not set [2025-12-19 14:10:45] [Info] Direct log analysis completed: [2025-12-19 14:10:45] [Info] Critical errors found: 0 [2025-12-19 14:10:45] [Info] Blocking items: 0 [2025-12-19 14:10:45] [Info] Blocking drivers resolved: 0 [2025-12-19 14:10:45] [Info] Software conflicts: 0 [2025-12-19 14:10:45] [Info] Targeted remediation functions: 0 [2025-12-19 14:10:45] [Info] Fallback direct log analysis found 0 issue(s) [2025-12-19 14:10:45] [Info] SetupDiag analysis completed successfully [2025-12-19 14:10:45] [Info] SetupDiag did not detect any upgrade failures [2025-12-19 14:10:45] [Info] Running Windows Update troubleshooter... [2025-12-19 14:10:45] [Info] Found Windows Update troubleshooting pack [2025-12-19 14:10:49] [Info] Windows Update troubleshooter completed [2025-12-19 14:10:49] [Info] === ASSESSMENT SUMMARY === [2025-12-19 14:10:49] [Info] Issues Found: True [2025-12-19 14:10:49] [Info] Critical Issues: 0 [2025-12-19 14:10:49] [Info] Warnings: 2 [2025-12-19 14:10:49] [Info] Assessment Errors: 0 [2025-12-19 14:10:49] [Info] ISSUES DETECTED: [2025-12-19 14:10:49] [Info] PendingUpdates: 3 pending updates found WARNING: EventLogs: High number of error events (26) in recent logs WARNING: ComponentStore: Component store corruption detected: 3 corruption indicators found in CBS.log, DISM health ch eck failed, DISM scan health failed (updates succeeding - may be benign) [2025-12-19 14:10:49] [Info] CBS Log Corruption: 3 indicators found [2025-12-19 14:10:49] [Info] 2025-12-19 14:10:43, Info CBS Total Detected Corruption: 449 [2025-12-19 14:10:49] [Info] 2025-12-19 14:10:43, Info CBS CSI Payload Corruption: 449 [2025-12-19 14:10:49] [Info] 2025-12-19 14:10:43, Info CBS Count of times corruption detected: 1 [2025-12-19 14:10:49] [Info] Configuration: Windows auto-update disabled - managed by NinjaRMM/NinjaOne [2025-12-19 14:10:49] [Info] Log file saved to: C:\Windows\Temp\WU-HealthCheck-20251219-140859.log [2025-12-19 14:10:49] [Info] === Windows Update Assessment Completed === === Windows Update Assessment Results === Warnings: 2 Patch Management: Managed by: NinjaRMM/NinjaOne Remediation Recommendations: Warning Issues (2): - Event Log Errors: Review Windows Update history and consider 'Repair-WindowsUpdate -Comprehensive' General Recommendation: - For comprehensive repair: Run 'Repair-WindowsUpdate -Comprehensive' - This will address all detected issues systematically Log file: C:\Windows\Temp\WU-HealthCheck-20251219-140859.log PS C:\windows\system32> |