dist/test-windowsupdatehealth_log4.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 install-module : The 'install-module' command was found in the module 'PowerShellGet', but the module could not be loaded. For more information, run 'Import-Module PowerShellGet'. At line:1 char:1 + install-module windowsupdatetools -allowclobber -force; import-module ... + ~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (install-module:String) [], CommandNotFoundException + FullyQualifiedErrorId : CouldNotAutoloadMatchingModule import-module : The specified module 'windowsupdatetools' was not loaded because no valid module file was found in any module directory. At line:1 char:57 + ... etools -allowclobber -force; import-module windowsupdatetools; test-w ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ResourceUnavailable: (windowsupdatetools:String) [Import-Module], FileNotFoundException + FullyQualifiedErrorId : Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand test-windowsupdatehealth : The term 'test-windowsupdatehealth' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:91 + ... er -force; import-module windowsupdatetools; test-windowsupdatehealth + ~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (test-windowsupdatehealth:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException PS C:\WINDOWS\system32> [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 PS C:\WINDOWS\system32> PS C:\WINDOWS\system32> # Manually import PowerShellGet PS C:\WINDOWS\system32> Import-Module PowerShellGet -Force -ErrorAction SilentlyContinue Import-Module : File C:\Program Files\WindowsPowerShell\Modules\PackageManagement\1.4.8.1\PackageManagement.psm1 cannot be loaded because running scripts is disabled on this system. For more information, see about_Execution_Policies at https:/go.microsoft.com/fwlink/?LinkID=135170. At line:1 char:1 + Import-Module PowerShellGet -Force -ErrorAction SilentlyContinue + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : SecurityError: (:) [Import-Module], PSSecurityException + FullyQualifiedErrorId : UnauthorizedAccess,Microsoft.PowerShell.Commands.ImportModuleCommand PS C:\WINDOWS\system32> set-executionpolicy unrestricted PS C:\WINDOWS\system32> Import-Module PowerShellGet -Force -ErrorAction SilentlyContinue PS C:\WINDOWS\system32> install-module windowsupdatetools -allowclobber -force; import-module windowsupdatetools; test-w indowsupdatehealth [2025-12-19 14:14:28] [Info] === Windows Update Health Assessment Started === [2025-12-19 14:14:28] [Info] Version: 1.5.102 [2025-12-19 14:14:28] [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:14:28] [Info] Collecting comprehensive system information [2025-12-19 14:14:47] [Info] System: HP HP EliteBook 845 14 inch G11 Notebook PC [2025-12-19 14:14:47] [Info] OS: Microsoft Windows 11 Pro Build 26200.7309 (25H2) [2025-12-19 14:14:47] [Info] RAM: 15.28 GB, Disk Free: 390.08 GB (82.1%) [2025-12-19 14:14:47] [Info] Uptime: 353 hours, Domain: ctc.local WARNING: Pending reboot detected [2025-12-19 14:14:47] [Info] System information collected successfully [2025-12-19 14:14:47] [Info] Analyzing Windows Update services [2025-12-19 14:14:47] [Info] Checking service: Windows Update (wuauserv) [2025-12-19 14:14:48] [Info] Status: Running, StartType: Manual, Issues: 1 [2025-12-19 14:14:48] [Info] Checking service: Background Intelligent Transfer Service (BITS) [2025-12-19 14:14:53] [Info] Status: Stopped, StartType: Manual, Issues: 0 [2025-12-19 14:14:53] [Info] Checking service: Cryptographic Services (cryptsvc) [2025-12-19 14:14:54] [Info] Status: Running, StartType: Auto, Issues: 0 [2025-12-19 14:14:54] [Info] Checking service: Windows Installer (msiserver) [2025-12-19 14:14:54] [Info] Status: Stopped, StartType: Manual, Issues: 0 [2025-12-19 14:14:54] [Info] Checking service: Windows Modules Installer (TrustedInstaller) [2025-12-19 14:14:55] [Info] Status: Stopped, StartType: Manual, Issues: 0 [2025-12-19 14:14:55] [Info] Checking service: Themes (Themes) [2025-12-19 14:14:55] [Info] Status: Running, StartType: Auto, Issues: 0 [2025-12-19 14:14:55] [Info] Checking service: Application Identity (AppIDSvc) [2025-12-19 14:14:55] [Info] Status: Stopped, StartType: Manual, Issues: 0 [2025-12-19 14:14:55] [Info] Performing additional Windows Update system checks... [2025-12-19 14:14:55] [Info] Windows Update Medic Service found: Stopped [2025-12-19 14:14:55] [Info] Service analysis complete: [2025-12-19 14:14:55] [Info] Total services checked: 7 [2025-12-19 14:14:55] [Info] Critical services down: 0 [2025-12-19 14:14:55] [Info] Non-critical services down: 0 [2025-12-19 14:14:55] [Info] Services with issues: 0 [2025-12-19 14:14:55] [Info] Overall healthy: False [2025-12-19 14:14:55] [Info] Checking for pending Windows Updates [2025-12-19 14:14:55] [Info] Searching for pending updates... [2025-12-19 14:15:04] [Info] Found 3 pending updates [2025-12-19 14:15:04] [Info] Update: Advanced Micro Devices, Inc Driver Update (1.0.19.2) [2025-12-19 14:15:04] [Info] Size: 0.1 MB, Status: Not Downloaded (0%), Importance: Optional [2025-12-19 14:15:04] [Info] State: Pending Download [2025-12-19 14:15:04] [Info] Reboot required after installation [2025-12-19 14:15:04] [Info] Update: 2025-12 Security Update (KB5072033) (26200.7462) [2025-12-19 14:15:04] [Info] Size: 91172.0 MB, Status: Downloading (~50%), Importance: Important [2025-12-19 14:15:04] [Info] State: Downloading [2025-12-19 14:15:04] [Info] Reboot required after installation [2025-12-19 14:15:04] [Info] Update: Xerox Driver Update (9.99.13.0) [2025-12-19 14:15:04] [Info] Size: 0.0 MB, Status: Not Downloaded (0%), Importance: Optional [2025-12-19 14:15:04] [Info] State: Pending Download [2025-12-19 14:15:04] [Info] Reboot required after installation [2025-12-19 14:15:04] [Info] Debug: downloadedCount=0, importantCount=1, rebootRequiredCount=3 [2025-12-19 14:15:04] [Info] Debug: First update IsDownloaded=False, Importance=Optional, RebootRequired=True [2025-12-19 14:15:04] [Info] Pending updates summary: [2025-12-19 14:15:04] [Info] Total updates: 3 [2025-12-19 14:15:04] [Info] Total size: 91172.1 MB [2025-12-19 14:15:04] [Info] Pending download: 2 [2025-12-19 14:15:04] [Info] Downloading: 1 [2025-12-19 14:15:04] [Info] Ready to install: 0 [2025-12-19 14:15:04] [Info] Important/Critical: 1 [2025-12-19 14:15:04] [Info] Requiring reboot: 3 WARNING: updates have partial downloads (may indicate download issues) 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 [2025-12-19 14:15:04] [Info] Found 3 pending updates [2025-12-19 14:15:04] [Info] Analyzing Windows Update history for last 30 days [2025-12-19 14:15:04] [Info] Retrieving Windows Update history... [2025-12-19 14:15:04] [Info] Found 100 update history entries [2025-12-19 14:15:04] [Info] Update history analysis completed: [2025-12-19 14:15:04] [Info] Total updates: 100 [2025-12-19 14:15:04] [Info] Successful: 78 [2025-12-19 14:15:04] [Info] Failed: 22 [2025-12-19 14:15:04] [Info] Aborted: 0 [2025-12-19 14:15:04] [Info] With errors: 0 [2025-12-19 14:15:04] [Info] Success rate: 78% [2025-12-19 14:15:04] [Info] Last successful update: 2025-12-19 18:05:51 (0 days ago) [2025-12-19 14:15:04] [Info] Update history issues: WARNING: - High number of failed updates (22) indicates persistent issues [2025-12-19 14:15:04] [Info] Analyzing Windows Update events from last 30 days WARNING: Error accessing Application: The specified resource type cannot be found in the image file [2025-12-19 14:15:05] [Info] Found 54 events across logs: WUClient-Operational: 53, System: 1 [2025-12-19 14:15:05] [Info] Analyzing 54 relevant events for patterns... [2025-12-19 14:15:05] [Info] Event log analysis summary: [2025-12-19 14:15:05] [Info] Total relevant events: 54 [2025-12-19 14:15:05] [Info] Critical: 0, Errors: 54, Warnings: 0 [2025-12-19 14:15:05] [Info] Update attempts: 48, Successful: 0, Failed: 54 [2025-12-19 14:15:05] [Info] Top error codes: [2025-12-19 14:15:05] [Info] 0x80240438 (6x): WU_E_PT_ENDPOINT_UNREACHABLE - No route or network connectivity to the Windows Update endpoint [2025-12-19 14:15:05] [Info] 0x80073D02 (1x): ERROR_PACKAGE_IN_USE - Package install failed; resources currently in use [2025-12-19 14:15:05] [Info] Last successful update: Not found in analysis period [2025-12-19 14:15:05] [Info] Last failed update: 2025-12-18 01:08 (1.5 days ago) [2025-12-19 14:15:05] [Info] Common failure patterns: [2025-12-19 14:15:05] [Info] 47x: Windows Update failed to download an update. [2025-12-19 14:15:05] [Info] 6x: Windows Update failed to check for updates with error 0x8024... [2025-12-19 14:15:05] [Info] Issues identified: WARNING: - High number of error events (54) may indicate persistent issues WARNING: - More failed updates (54) than successful ones (0) [2025-12-19 14:15:05] [Info] Testing Component Store health [2025-12-19 14:15:05] [Info] Running DISM CheckHealth... [2025-12-19 14:15:05] [Info] DISM CheckHealth exit code: 0 WARNING: Component store corruption detected by CheckHealth [2025-12-19 14:15:05] [Info] Running DISM ScanHealth for thorough analysis... [2025-12-19 14:17:26] [Info] DISM ScanHealth exit code: 0 WARNING: Component store corruption confirmed by ScanHealth [2025-12-19 14:17:26] [Info] DISM detected corruption - analyzing CBS.log for details... [2025-12-19 14:17:26] [Info] Found 3 corruption details in CBS.log [2025-12-19 14:17:26] [Info] CBS Log Corruption Details: [2025-12-19 14:17:26] [Info] 2025-12-19 14:17:25, Info CBS Total Detected Corruption: 579 [2025-12-19 14:17:26] [Info] 2025-12-19 14:17:25, Info CBS CSI Payload Corruption: 579 [2025-12-19 14:17:26] [Info] 2025-12-19 14:17:25, Info CBS Count of times corruption detected: 1 [2025-12-19 14:17:26] [Info] Component Store health test completed: [2025-12-19 14:17:26] [Info] Corruption detected: True [2025-12-19 14:17:26] [Info] Health check passed: False [2025-12-19 14:17:26] [Info] Scan health passed: False [2025-12-19 14:17:26] [Info] CBS log issues: 3 [2025-12-19 14:17:26] [Info] Total issues found: 3 WARNING: RECOMMENDATION: Run component store repair (DISM RestoreHealth) [2025-12-19 14:17:26] [Info] Analyzing Windows Update configuration [2025-12-19 14:17:26] [Info] Device is domain-joined: ctc.local [2025-12-19 14:17:26] [Info] Checking for third-party RMM patch management... [2025-12-19 14:17:26] [Info] Third-party RMM detected: NinjaRMM/NinjaOne (service: NinjaRMMAgent) [2025-12-19 14:17:26] [Info] Note: Checking if RMM is managing patches (NoAutoUpdate registry)... [2025-12-19 14:17:26] [Info] Checking WSUS configuration... [2025-12-19 14:17:26] [Info] Found AutoUpdate registry configuration at: HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windo wsUpdate\AU [2025-12-19 14:17:26] [Info] Registry: NoAutoUpdate = 1 [2025-12-19 14:17:26] [Info] Registry: AUOptions = 1 [2025-12-19 14:17:26] [Info] Auto-update disabled by NinjaRMM/NinjaOne - RMM is managing patches [2025-12-19 14:17:26] [Info] Auto Update Policy: AUOptions=1 (Disabled - Never check for updates) [2025-12-19 14:17:26] [Info] Found WindowsUpdate registry configuration at: HKLM:\SOFTWARE\Policies\Microsoft\Windows\Wi ndowsUpdate [2025-12-19 14:17:26] [Info] Checking Windows Update for Business / Intune Update Ring configuration... [2025-12-19 14:17:26] [Info] Device already on Windows 11 24H2+ (build 26200) - skipping 24H2 compatibility check [2025-12-19 14:17:26] [Info] Checking for additional configuration issues... [2025-12-19 14:17:26] [Info] Windows Update configuration analysis completed: [2025-12-19 14:17:26] [Info] Update Source: Windows Update [2025-12-19 14:17:26] [Info] Policy Source: DomainGPO [2025-12-19 14:17:26] [Info] WSUS Configured: False [2025-12-19 14:17:26] [Info] Auto Update Enabled: False WARNING: Update Policy: Disabled - Never check for updates [2025-12-19 14:17:26] [Info] WUfB Configured: False [2025-12-19 14:17:26] [Info] Patch Management: NinjaRMM/NinjaOne [2025-12-19 14:17:26] [Info] Windows 11 24H2 Compatible: True [2025-12-19 14:17:26] [Info] Configuration Issues: 1 [2025-12-19 14:17:26] [Info] Configuration issues found: WARNING: - [Info] Windows auto-update disabled - managed by NinjaRMM/NinjaOne [2025-12-19 14:17:26] [Info] Remediation: No action needed - patches are managed by NinjaRMM/NinjaOne. Verify patch policies in RMM console. [2025-12-19 14:17:26] [Info] Starting SetupDiag analysis [2025-12-19 14:17:26] [Info] .NET Framework Version: 4.8 [2025-12-19 14:17:26] [Info] Checking Windows Setup log availability for SetupDiag analysis [2025-12-19 14:17:26] [Info] Found 3 log files in: C:\WINDOWS\Panther [2025-12-19 14:17:26] [Info] Found 2 log files in: C:\WINDOWS\Panther\UnattendGC [2025-12-19 14:17:26] [Info] 1 recent logs (< 90 days old) [2025-12-19 14:17:26] [Info] Found 1 log files in: C:\WINDOWS\inf\setupapi.dev.log [2025-12-19 14:17:26] [Info] 1 recent logs (< 90 days old) [2025-12-19 14:17:26] [Info] Found 4 log files in: C:\WINDOWS\logs\CBS [2025-12-19 14:17:26] [Info] 4 recent logs (< 90 days old) [2025-12-19 14:17:26] [Info] Attempting to download SetupDiag from: https://go.microsoft.com/fwlink/?linkid=870142 [2025-12-19 14:17:27] [Info] SetupDiag downloaded successfully (786 KB) [2025-12-19 14:17:27] [Info] SetupDiag path validated: C:\Windows\Temp\SetupDiag.exe [2025-12-19 14:17:27] [Info] Running SetupDiag with output: C:\Windows\Temp\SetupDiagResults-20251219-141727.json [2025-12-19 14:17:27] [Info] SetupDiag arguments: /Output:C:\Windows\Temp\SetupDiagResults-20251219-141727.json /Format: json /ZipLogs:False [2025-12-19 14:17:27] [Info] Starting SetupDiag execution at 14:17:27 - this may take several minutes [2025-12-19 14:17:29] [Info] SetupDiag completed in 00:02 with exit code: 0 [2025-12-19 14:17:29] [Info] SetupDiag completed successfully [2025-12-19 14:17:29] [Info] Parsing SetupDiag results from: C:\Windows\Temp\SetupDiagResults-20251219-141727.json [2025-12-19 14:17:29] [Info] SetupDiag System Info - Host: 10.0.26100, Target: 10.0.26100.1882 (ge_release_svc_prod3.240 927-1745) [2025-12-19 14:17:29] [Info] SetupDiag detected 2 failure(s) [2025-12-19 14:17:29] [Info] Enhancing SetupDiag results with direct log analysis... [2025-12-19 14:17:29] [Info] Starting direct Windows Setup log analysis [2025-12-19 14:17:29] [Info] Auto-detected setup logs at: C:\Windows\Panther [2025-12-19 14:17:29] [Info] Analyzing setuperr.log for critical error patterns... [2025-12-19 14:17:29] [Info] Analyzing diagwrn.xml for software conflicts... [2025-12-19 14:17:29] [Info] Checking diagerr.xml for additional error details... [2025-12-19 14:17:29] [Info] Additional error from diagerr.xml: CMoSetupOneSettingsHelperT<class CEmptyType>::Init ializeSettings(324): Result = 0x80072EE7 [2025-12-19 14:17:29] [Info] Additional error from diagerr.xml: CSetupHost::InitializeOneSettings(1551): Result = 0x8007 2EE7 [2025-12-19 14:17:29] [Info] Additional error from diagerr.xml: SetupHost: OneSettings initialization failed: [0x80072EE 7] [2025-12-19 14:17:29] [Info] Additional error from diagerr.xml: CSetupManager::GetWuIdFromRegistry(12357): Result = 0x80 070002 [2025-12-19 14:17:29] [Info] Additional error from diagerr.xml: CDlpActionProductKeyValidate::ReportDownlevelInstallChan nel(3611): Result = 0x80070490 [2025-12-19 14:17:29] [Info] Additional error from diagerr.xml: ProductKey: Failed to report Host OS channel to telemetr y. [2025-12-19 14:17:29] [Info] Additional error from diagerr.xml: CallPidGenX: PidGenX function failed on this product key . (hr = 0x8a010101) [2025-12-19 14:17:29] [Info] Additional error from diagerr.xml: CNewSystem::PreInitialize: FveCheckSuspendBitLockerOnUpg rade failed: 0x8031004a, assuming auto-unlock is not supported [2025-12-19 14:17:29] [Info] Additional error from diagerr.xml: BCD: Failed to add system store from file. File: \De vice\HarddiskVolume8\EFI\Microsoft\Boot\BCD Status: c000000f [2025-12-19 14:17:29] [Info] Additional error from diagerr.xml: BFSVC: AddBootmgrLast and PreserveBootOrder options are ignored when custom volume is specified [2025-12-19 14:17:29] [Info] Direct log analysis completed: [2025-12-19 14:17:29] [Info] Critical errors found: 0 [2025-12-19 14:17:29] [Info] Blocking items: 0 [2025-12-19 14:17:29] [Info] Blocking drivers resolved: 0 [2025-12-19 14:17:29] [Info] Software conflicts: 0 [2025-12-19 14:17:29] [Info] Targeted remediation functions: 0 [2025-12-19 14:17:29] [Info] Enhanced SetupDiag with 0 detailed driver analyses [2025-12-19 14:17:29] [Info] SetupDiag analysis completed - found 2 failure(s) [2025-12-19 14:17:29] [Info] Failure reasons identified: WARNING: - SetupDiag reports successful upgrade found. WARNING: - This appears to be a successful update as the last operation was: OOBEBoot and the result was: success [2025-12-19 14:17:29] [Info] SetupDiag analysis completed successfully [2025-12-19 14:17:29] [Info] SetupDiag detected 2 upgrade failure(s) [2025-12-19 14:17:29] [Info] Running Windows Update troubleshooter... [2025-12-19 14:17:30] [Info] Found Windows Update troubleshooting pack [2025-12-19 14:17:40] [Info] Windows Update troubleshooter completed [2025-12-19 14:17:40] [Info] === ASSESSMENT SUMMARY === [2025-12-19 14:17:40] [Info] Issues Found: True [2025-12-19 14:17:40] [Info] Critical Issues: 1 [2025-12-19 14:17:40] [Info] Warnings: 3 [2025-12-19 14:17:40] [Info] Assessment Errors: 0 [2025-12-19 14:17:40] [Info] ISSUES DETECTED: [2025-12-19 14:17:40] [Info] PendingUpdates: 3 pending updates found WARNING: UpdateHistory: 22 failed updates in recent history WARNING: EventLogs: High number of error events (54) in recent logs ERROR: ComponentStore: Component store corruption detected: 3 corruption indicators found in CBS.log, DISM health chec k failed, DISM scan health failed [2025-12-19 14:17:40] [Info] CBS Log Corruption: 3 indicators found [2025-12-19 14:17:40] [Info] 2025-12-19 14:17:25, Info CBS Total Detected Corruption: 579 [2025-12-19 14:17:40] [Info] 2025-12-19 14:17:25, Info CBS CSI Payload Corruption: 579 [2025-12-19 14:17:40] [Info] 2025-12-19 14:17:25, Info CBS Count of times corruption detected: 1 [2025-12-19 14:17:40] [Info] Configuration: Windows auto-update disabled - managed by NinjaRMM/NinjaOne WARNING: SetupDiag: SetupDiag detected previous upgrade (now successful) [2025-12-19 14:17:40] [Info] Log file saved to: C:\Windows\Temp\WU-HealthCheck-20251219-141428.log [2025-12-19 14:17:40] [Info] === Windows Update Assessment Completed === === Windows Update Assessment Results === Critical Issues: 1 Warnings: 3 Patch Management: Managed by: NinjaRMM/NinjaOne Remediation Recommendations: Critical Issues (1): - Component Store: Run 'Repair-WindowsUpdate -ComponentStore' CBS Log Corruption: 3 indicators found (details in log file) - Setup Failures: Run 'Repair-WindowsUpdate -Comprehensive' Warning Issues (3): - 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-141428.log PS C:\WINDOWS\system32> |