Skip to content
CyberOpsSec
CyberOpsSec

Just another cybersecurity site

  • Home
  • Posts
  • Knowledge
    • Auditing
    • Linux Commands
    • Ports & Protocols
    • Scanning
    • Sniffing
    • Syslog
    • Vulnerability/Patch Mgmt
  • About
  • Contact
CyberOpsSec

Just another cybersecurity site

Patch Mgmt – Windows Update Issues

Admin, November 6, 2025November 6, 2025

What if your patch management solution fails to install certain updates? The answer: WinRM and PSWindows powershell module to the rescue. You can manually install it from powershellgallery.com or within a powershell prompt:

Install-Module -Name PSWindowsUpdate -Force

To remotely connect to a machine, you will need WinRM configured. After issuing the command Get-WindowsUpdate -ComputerName <PC> you will see the list of available patches. In the screenshot below, you can see the machine and various patches available to download/install. In this instance, my patch management software had issues deploying ‘KB5066835’. Note: The Size “89GB” is a glitch and is incorrect. That can be ignored.

I’m going to deploy it with powershell. To do this I will issue:

After issuing this command it creates a scheduled task as seen in the screen shot below and after some time the machine will install the missing patch and reboot.

If you run into issues remotely patching machines you may need to look at your WSMan trusted hosts and adjust it to the computer name you’re remoting to.

Tools Vulnerabilities

Post navigation

Previous post
Next post

Related Posts

Uninstall Vulnerable Software Remotely

May 8, 2024August 11, 2025

If you find a ton of boxes running vulnerable software that is no longer used…

Read More

AD CS Vulnerabilities

January 11, 2024August 11, 2025

If an attacker gets domain user level permissions they could use tools such as certipy-ad…

Read More

Disable mDNS

March 13, 2024August 11, 2025

Issuing netstat and lsof commands to view UDP 5353 connections/listening ports shows that the avahi-daemon…

Read More

Leave a Reply Cancel reply

You must be logged in to post a comment.

Recent Posts

  • PRTG – How to monitor a Linux service
  • Patch Mgmt – Windows Update Issues
  • MSSQL Auditing
  • BloodHound CE Setup
  • UBI – User Browsing Isolation

Recent Comments

No comments to show.

Archives

  • January 2026
  • November 2025
  • August 2025
  • June 2025
  • November 2024
  • September 2024
  • June 2024
  • May 2024
  • March 2024
  • January 2024
  • November 2023
  • September 2023

Categories

  • Audit
  • EPP
  • Tools
  • Uncategorized
  • Vulnerabilities
©2026 CyberOpsSec | WordPress Theme by SuperbThemes