dist/test-windowsupdatehealth_log2.txt
|
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved. Try the new cross-platform PowerShell https://aka.ms/pscore6 PS C:\WINDOWS\system32> install-module WindowsUpdateTools -allowclobber -force PS C:\WINDOWS\system32> import-module WindowsUpdateTools PS C:\WINDOWS\system32> test-windowsupdatehealth [2025-12-18 12:13:59] [Info] === Windows Update Health Assessment Started === [2025-12-18 12:13:59] [Info] Version: 1.5.88 [2025-12-18 12:13: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-18 12:13:59] [Info] Collecting comprehensive system information [2025-12-18 12:14:34] [Info] System: HP HP ProDesk 600 G5 Desktop Mini [2025-12-18 12:14:34] [Info] OS: Microsoft Windows 10 Business Build 19045.6456 (22H2) [2025-12-18 12:14:34] [Info] RAM: 7.78 GB, Disk Free: 65.32 GB (27.5%) [2025-12-18 12:14:34] [Info] Uptime: 201.2 hours, Domain: Workgroup WARNING: Pending reboot detected [2025-12-18 12:14:34] [Info] System information collected successfully [2025-12-18 12:14:34] [Info] Analyzing Windows Update services [2025-12-18 12:14:34] [Info] Checking service: Windows Update (wuauserv) [2025-12-18 12:14:34] [Info] Status: Stopped, StartType: Manual, Issues: 0 [2025-12-18 12:14:34] [Info] Checking service: Background Intelligent Transfer Service (BITS) [2025-12-18 12:14:36] [Info] Status: Stopped, StartType: Manual, Issues: 0 [2025-12-18 12:14:36] [Info] Checking service: Cryptographic Services (cryptsvc) [2025-12-18 12:14:37] [Info] Status: Running, StartType: Auto, Issues: 0 [2025-12-18 12:14:37] [Info] Checking service: Windows Installer (msiserver) [2025-12-18 12:14:37] [Info] Status: Stopped, StartType: Manual, Issues: 0 [2025-12-18 12:14:37] [Info] Checking service: Windows Modules Installer (TrustedInstaller) [2025-12-18 12:14:38] [Info] Status: Stopped, StartType: Manual, Issues: 0 [2025-12-18 12:14:38] [Info] Checking service: Themes (Themes) [2025-12-18 12:14:38] [Info] Status: Running, StartType: Auto, Issues: 0 [2025-12-18 12:14:38] [Info] Checking service: Application Identity (AppIDSvc) [2025-12-18 12:14:38] [Info] Status: Running, StartType: Manual, Issues: 0 [2025-12-18 12:14:38] [Info] Performing additional Windows Update system checks... [2025-12-18 12:14:38] [Info] Windows Update Medic Service found: Running [2025-12-18 12:14:38] [Info] Service analysis complete: [2025-12-18 12:14:38] [Info] Total services checked: 7 [2025-12-18 12:14:38] [Info] Critical services down: 0 [2025-12-18 12:14:38] [Info] Non-critical services down: 0 [2025-12-18 12:14:38] [Info] Services with issues: 0 [2025-12-18 12:14:38] [Info] Overall healthy: True [2025-12-18 12:14:38] [Info] Checking for pending Windows Updates [2025-12-18 12:14:39] [Info] Searching for pending updates... [2025-12-18 12:14:50] [Info] No pending updates found [2025-12-18 12:14:50] [Info] Analyzing Windows Update history for last 30 days [2025-12-18 12:14:50] [Info] Retrieving Windows Update history... [2025-12-18 12:14:50] [Info] Found 100 update history entries [2025-12-18 12:14:50] [Info] Update history analysis completed: [2025-12-18 12:14:50] [Info] Total updates: 100 [2025-12-18 12:14:50] [Info] Successful: 100 [2025-12-18 12:14:50] [Info] Failed: 0 [2025-12-18 12:14:50] [Info] Aborted: 0 [2025-12-18 12:14:50] [Info] With errors: 0 [2025-12-18 12:14:50] [Info] Success rate: 100% [2025-12-18 12:14:50] [Info] Last successful update: 2025-12-18 16:45:57 (0 days ago) [2025-12-18 12:14:51] [Info] Analyzing Windows Update events from last 30 days [2025-12-18 12:14:51] [Info] Found 1 events across logs: WUClient-Operational: 1 [2025-12-18 12:14:52] [Info] Analyzing 1 relevant events for patterns... [2025-12-18 12:14:52] [Info] Event log analysis summary: [2025-12-18 12:14:52] [Info] Total relevant events: 1 [2025-12-18 12:14:52] [Info] Critical: 0, Errors: 1, Warnings: 0 [2025-12-18 12:14:52] [Info] Update attempts: 0, Successful: 0, Failed: [2025-12-18 12:14:52] [Info] Last successful update: Not found in analysis period [2025-12-18 12:14:52] [Info] Testing Component Store health [2025-12-18 12:14:52] [Info] Running DISM CheckHealth... [2025-12-18 12:14:53] [Info] DISM CheckHealth exit code: 0 [2025-12-18 12:14:53] [Info] DISM CheckHealth passed - no corruption detected [2025-12-18 12:14:53] [Info] Running DISM ScanHealth for thorough analysis... [2025-12-18 12:17:58] [Info] DISM ScanHealth exit code: 0 [2025-12-18 12:17:58] [Info] DISM ScanHealth passed - no corruption detected [2025-12-18 12:17:58] [Info] Analyzing CBS.log for corruption indicators... [2025-12-18 12:17:59] [Info] No corruption indicators found in recent CBS.log entries [2025-12-18 12:17:59] [Info] Component Store health test completed: [2025-12-18 12:17:59] [Info] Corruption detected: False [2025-12-18 12:17:59] [Info] Health check passed: True [2025-12-18 12:17:59] [Info] Scan health passed: True [2025-12-18 12:17:59] [Info] CBS log issues: 0 [2025-12-18 12:17:59] [Info] Total issues found: 0 [2025-12-18 12:17:59] [Info] Analyzing Windows Update configuration [2025-12-18 12:17:59] [Info] Device is MDM enrolled (Intune managed) [2025-12-18 12:17:59] [Info] Checking WSUS configuration... [2025-12-18 12:17:59] [Info] Found AutoUpdate registry configuration at: HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windo wsUpdate\AU [2025-12-18 12:17:59] [Info] Registry: NoAutoUpdate = 0 [2025-12-18 12:17:59] [Info] Registry: AUOptions = 4 [2025-12-18 12:17:59] [Info] Auto Update Policy: AUOptions=4 (Auto download and scheduled install) [2025-12-18 12:17:59] [Info] Found WindowsUpdate registry configuration at: HKLM:\SOFTWARE\Policies\Microsoft\Windows\Wi ndowsUpdate [2025-12-18 12:17:59] [Info] Checking Windows Update for Business / Intune Update Ring configuration... WARNING: Device is MDM-managed but has no Update Ring enrollment - updates may not be managed [2025-12-18 12:17:59] [Info] Checking Windows 11 24H2 compatibility... [2025-12-18 12:17:59] [Info] Checking for additional configuration issues... [2025-12-18 12:17:59] [Info] Windows Update configuration analysis completed: [2025-12-18 12:17:59] [Info] Update Source: Windows Update [2025-12-18 12:17:59] [Info] Policy Source: MDM/Intune [2025-12-18 12:17:59] [Info] WSUS Configured: False [2025-12-18 12:17:59] [Info] Auto Update Enabled: True [2025-12-18 12:17:59] [Info] WUfB Configured: False [2025-12-18 12:17:59] [Info] Intune Update Ring Enrolled: NO - Device not receiving managed updates! [2025-12-18 12:17:59] [Info] Windows 11 24H2 Compatible: True [2025-12-18 12:17:59] [Info] Configuration Issues: 1 [2025-12-18 12:17:59] [Info] Configuration issues found: WARNING: - @{Type=Configuration; Severity=Critical; Description=Device is Intune-enrolled but NOT enrolled in any Wind ows Update for Business Update Rings; Details=System.Collections.Hashtable; Remediation=Assign device to an Intune Updat e Ring in Endpoint Manager: Devices > Windows > Update rings; Timestamp=12/18/2025 12:17:59; Id=4fb263ea} [2025-12-18 12:17:59] [Info] Starting SetupDiag analysis [2025-12-18 12:18:00] [Info] .NET Framework Version: 4.8 [2025-12-18 12:18:00] [Info] Checking Windows Setup log availability for SetupDiag analysis [2025-12-18 12:18:00] [Info] Found 2 log files in: C:\WINDOWS\Panther [2025-12-18 12:18:00] [Info] Found 2 log files in: C:\WINDOWS\Panther\UnattendGC [2025-12-18 12:18:00] [Info] 1 recent logs (< 90 days old) [2025-12-18 12:18:00] [Info] Found 1 log files in: C:\WINDOWS\inf\setupapi.dev.log [2025-12-18 12:18:00] [Info] 1 recent logs (< 90 days old) [2025-12-18 12:18:00] [Info] Found 7 log files in: C:\WINDOWS\logs\CBS [2025-12-18 12:18:00] [Info] 7 recent logs (< 90 days old) [2025-12-18 12:18:00] [Info] Found 2 log files in: C:\$Windows.~BT\Sources\Panther [2025-12-18 12:18:00] [Info] Attempting to download SetupDiag from: https://go.microsoft.com/fwlink/?linkid=870142 [2025-12-18 12:18:00] [Info] SetupDiag downloaded successfully (786 KB) [2025-12-18 12:18:01] [Info] SetupDiag path validated: C:\Windows\Temp\SetupDiag.exe [2025-12-18 12:18:01] [Info] Running SetupDiag with output: C:\Windows\Temp\SetupDiagResults-20251218-121801.json [2025-12-18 12:18:01] [Info] SetupDiag arguments: /Output:C:\Windows\Temp\SetupDiagResults-20251218-121801.json /Format: json /ZipLogs:False [2025-12-18 12:18:01] [Info] Starting SetupDiag execution at 12:18:01 - this may take several minutes [2025-12-18 12:18:08] [Info] SetupDiag completed in 00:07 with exit code: 0 [2025-12-18 12:18:08] [Info] SetupDiag completed successfully [2025-12-18 12:18:08] [Info] Parsing SetupDiag results from: C:\Windows\Temp\SetupDiagResults-20251218-121801.json [2025-12-18 12:18:08] [Info] SetupDiag System Info - Host: 10.0.19045, Target: 10.0.22621.1 (ni_release.220506-1250) [2025-12-18 12:18:08] [Info] SetupDiag detected 3 failure(s) [2025-12-18 12:18:08] [Info] Enhancing SetupDiag results with direct log analysis... [2025-12-18 12:18:08] [Info] Starting direct Windows Setup log analysis [2025-12-18 12:18:08] [Info] Auto-detected setup logs at: C:\$Windows.~BT\Sources\Panther [2025-12-18 12:18:09] [Info] Analyzing setuperr.log for critical error patterns... [2025-12-18 12:18:09] [Info] Analyzing ScanResult.xml for compatibility blocks... [2025-12-18 12:18:09] [Info] Analyzing diagwrn.xml for software conflicts... [2025-12-18 12:18:09] [Info] Checking diagerr.xml for additional error details... [2025-12-18 12:18:09] [Info] Additional error from diagerr.xml: CDlpActionImpl<class CDlpErrorImpl<class CDlpObjec tInternalImpl<class CUnknownImpl<class IMoSetupDlpAction> > > >::Suspend(1253): Result = 0xC1800104 [2025-12-18 12:18:09] [Info] Additional error from diagerr.xml: CDlpTask::CheckUserInterruptEx(3060): Result = 0x800704D 3 [2025-12-18 12:18:09] [Info] Additional error from diagerr.xml: CDlpTask::CheckUserInterrupt(3112): Result = 0x800704D3 [2025-12-18 12:18:09] [Info] Additional error from diagerr.xml: CSetupManager::ExecuteInstallMode(1006): Result = 0x8007 05BB [2025-12-18 12:18:09] [Info] Additional error from diagerr.xml: CSetupManager::ExecuteDownlevelMode(569): Result = 0x800 705BB [2025-12-18 12:18:09] [Info] Additional error from diagerr.xml: CSetupManager::Execute(313): Result = 0x800705BB [2025-12-18 12:18:09] [Info] Additional error from diagerr.xml: CSetupHost::Execute(454): Result = 0x800705BB [2025-12-18 12:18:09] [Info] Additional error from diagerr.xml: CSetupResponseTemplate<class IDlpResponse>::OnCanc el(238): Result = 0x800704C7 [2025-12-18 12:18:09] [Info] Additional error from diagerr.xml: CSetupResponseTemplate<class IDlpResponse>::Execut eRoutine(143): Result = 0x800704C7 [2025-12-18 12:18:09] [Info] Additional error from diagerr.xml: CDlpResponseImpl<class CDlpErrorImpl<class CDlpObj ectInternalImpl<class CUnknownImpl<class IDlpResponse> > > >::Execute(1923): Result = 0x800704C7 [2025-12-18 12:18:09] [Info] Direct log analysis completed: [2025-12-18 12:18:09] [Info] Critical errors found: 0 [2025-12-18 12:18:09] [Info] Blocking items: 0 [2025-12-18 12:18:09] [Info] Blocking drivers resolved: 0 [2025-12-18 12:18:09] [Info] Software conflicts: 0 [2025-12-18 12:18:09] [Info] Targeted remediation functions: 0 [2025-12-18 12:18:09] [Info] Enhanced SetupDiag with 0 detailed driver analyses [2025-12-18 12:18:09] [Info] SetupDiag analysis completed - found 3 failure(s) [2025-12-18 12:18:09] [Info] Failure reasons identified: WARNING: - Error: SetupDiag reports abrupt down-level failure.Last Operation: Error: 0xC1900201 - 0x40008 WARNING: - LogEntry: 2024-01-03 19:43:57, Error MOUPG CDlpActionCompat::ExecuteSysReqScan(809): Resul t = 0xC1900201 WARNING: - Refer to "https://docs.microsoft.com/en-us/windows/desktop/Debug/system-error-codes" for error information. [2025-12-18 12:18:09] [Info] SetupDiag analysis completed successfully [2025-12-18 12:18:09] [Info] SetupDiag detected 3 upgrade failure(s) [2025-12-18 12:18:09] [Info] Running Windows Update troubleshooter... [2025-12-18 12:18:09] [Info] Found Windows Update troubleshooting pack [2025-12-18 12:18:28] [Info] Windows Update troubleshooter completed [2025-12-18 12:18:29] [Info] === ASSESSMENT SUMMARY === [2025-12-18 12:18:29] [Info] Issues Found: True [2025-12-18 12:18:29] [Info] Critical Issues: 2 [2025-12-18 12:18:29] [Info] Warnings: 0 [2025-12-18 12:18:29] [Info] Assessment Errors: 0 [2025-12-18 12:18:29] [Info] ISSUES DETECTED: ERROR: Configuration: Device is Intune-enrolled but NOT enrolled in any Windows Update for Business Update Rings ERROR: SetupDiag: 3 upgrade failures detected by SetupDiag [2025-12-18 12:18:29] [Info] Log file saved to: C:\Windows\Temp\WU-HealthCheck-20251218-121359.log [2025-12-18 12:18:29] [Info] === Windows Update Assessment Completed === === Windows Update Assessment Results === Critical Issues: 2 Remediation Recommendations: Critical Issues (2): - Configuration: Device is Intune-enrolled but NOT enrolled in any Windows Update for Business Update Rings Remediation: Assign device to an Intune Update Ring in Endpoint Manager: Devices > Windows > Update rings - Setup Failures: Run '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-20251218-121359.log PS C:\WINDOWS\system32> |