Tools
Log in
English

Learn to codeSecurity check

Windows Update is out of date

HighW01Windows PCs and servers

Check whether the last update is more than 30 days old, then install security…

What is the risk

Microsoft ships security updates on the second Tuesday of each month (US time). Skip a month and published vulnerabilities stay open.

Bugs in features that face the network, such as Remote Desktop, SMB and IIS, are picked up by automated attacks quickly.

How to check

Windows PowerShell (admin)

Get-HotFix | Sort-Object InstalledOn -Descending | Select-Object -First 5
(New-Object -ComObject Microsoft.Update.AutoUpdate).Results

The first line lists recent updates, the second shows when updates were last searched for and installed.

How to fix

Windows settings

Settings > Windows Update > Check for updates, install everything and restart. On Server Core use the updates item in the sconfig menu.

Windows PowerShell (admin)

Restart-Computer

Updates waiting for a restart only apply after you reboot.

How to prevent it

  • Turn on automatic updates and set restarts for a quiet time.
  • Move off Windows versions past end of support (for example, Windows 10 support ended on 14 October 2025).

Check again after fixing

Windows PowerShell (admin)

Get-HotFix | Sort-Object InstalledOn -Descending | Select-Object -First 5

The top date should be within the last 30 days.

Run the downloaded check again and make sure this item passes.

Security check home