Get-WindowsUpdate # Check pending updates Get-HotFix # List installed patches dism /online /cleanup-image /restorehealth sfc /scannow
sudo apt update && sudo apt upgrade --dry-run sudo dpkg --audit os security patch assessment failed
sudo apt --fix-broken install # Debian/Ubuntu sudo yum-complete-transaction # RHEL Many failed assessments occur simply because a reboot is pending. Check pending reboot (Windows): Get-WindowsUpdate # Check pending updates Get-HotFix # List
Reset-WindowsUpdate.ps1 # Use Microsoft’s official script # Or manually: Stop services -> rename SoftwareDistribution & Catroot2 -> restart services rename SoftwareDistribution & Catroot2 ->