Manually run Windows Update with WSUS server for Vault server

Manually run Windows Update with WSUS server for Vault server

181
Created On 11/10/26 11:02 AM - Last Modified 11/10/26 16:11 PM


Symptom


While running PowerShell script to update Vault server with WSUS server, getting error(MS error code)



Environment


12.6 Privileged Access Manager (PAM, self-hosted) Vault Server

Vault Server



Cause


The Vault server is hardened with update service disabled, and the firewall does not allow internet.
 


Resolution


On the  server:
  • Ensure it is working correctly without an error and other Windows clients to confirm.
  • Check the Event log on WSUS to see if there is any error.
  • Check synchronization, the update is completed and ready successfully.
  • Check the Log file. %ProgramFiles%\Update Services\LogFiles\
  • Confirm WSUS is set with SSL(8531) and set it up accordingly.
 
 
On Vault Server:
  • Open Local Group Policy -> Computer Configuration -> Administrative Templates -> Windows Components -> Windows Update
  • Configure Automatic Updates -> Disabled
  • Do not connect to any Windows Update Internet locations -> Enabled
  • Specify intranet Microsoft update service location -> Enabled and specify WSUS server information

 
  • Open CMD with administrator privileges and run 'gpupdate /force' to apply setting.
  • Connection test with WSUS
  • ping wsus ip address
  • open browser and test with below to see if update file prompted
 
  • Check Registry and confirm below entry is set properly:
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate
WUServer
WUStatusServer
UpdateServiceUrlAlternative
 

 
 
  • Add Firewall rule for communication with WUSS server and port 8530 or 8531

 

 
  • Run Windows Service below. change startup status to manual and start service:
App Readiness
Update Orchestrator Service
Windows Modules Installer
Windows Update
 
  • Run Windows Update (check for update) for Windows update from WSUS.
 
  • Check if WSUS is getting status report from Vault server and complete the update.

 
 
  • For troubleshooting:
1. Check Windows Update log by open Powershel with administrator privilege and run below command:
Get-WindowsUpdateLog
2. Check Vault Server is connecting to internal WSUS server or any errors during connection.
 
Once update is finished, disable firewall rule and Services.


Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000001c1fCAA&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail