Vault Server: Windows Updates With Windows Server Update Services (WSUS)

Vault Server: Windows Updates With Windows Server Update Services (WSUS)

109
Created On 11/10/26 10:56 AM - Last Modified 11/10/26 16:06 PM


Objective


This document is applicable to Privileged Access Manager (PAM) in self-hosted environments. A self-hosted environment is where the customer installs a Digital Vault on a server that they own and maintain.

 

Idira advises keeping Windows servers used for PAM in self-hosted environments fully updated, with a focus on security patches. Regular component servers (e.g., CPM, PSM, PVWA) can connect to Microsoft directly for updates. However, Digital Vault servers, which are hardened and not connected to the Internet, cannot use Windows Update. Idira discourages Internet connectivity for the vault due to security risks but provides a secure method to update the vault without compromising its protection.



Environment


11.5;12.2;12.6;13.2;13.1;14.0;14.2;14.4;14.6 Privileged Access Manager (PAM, self-hosted) Vault Server;Distributed Vault

Procedure


The process to update a vault with Windows updates involves the following steps

  1. Provision a WSUS server in your environment. This YouTube video provides the instructions to provision a WSUS server in your own environment
    1. Note: If you plan to use a secure method (https) to install updates, make sure that the certificate on the WSUS server is signed by a CA and the certificate chain is installed on the vault
  2. Configure the vault to download and install Windows updates
  3. Download updates
  4. Install updates

WSUS Server

This document will not review the steps involved to install a WSUS server

Vault Configuration

Once the WSUS server is built, you can download updates to the vault from the WSUS server.

The installation media for PAM includes a WSUS folder in the same folder as the Server installation files

Copy the content of the WSUS folder

To a location on the vault server. In this example, it is located on the vault in E:\utils\CyberArk\WSUS

 

On the vault server, the first step is to configure the connection between the vault and the WSUS server. This is done with the ./ConfigureWSUS.ps1 PowerShell script. Note that PowerShell must be run as administrator (Windows PowerShell (Admin))

 

Syntax: ./ConfigureWSUS.ps1 http[s]://<IP address of WSUS>:<port>

By default, WSUS uses port 8530 (non-secure) and 8531 (secure) for connection to WSUS.

Below is a usage example:

 

Download Updates

Downloading updates is a two-step process. First, we must open the connection to the WSUS server. This is done with the OpeningServices.ps1 PowerShell script

 

 

Once the script is complete, then we can download the updates. This is done with the DownloadUpdatesFromWSUS.ps1 script

 

 

Note that the download can take some time, depending on connection speed and size of the update packages

Install Updates

If there are updates to install, these will be listed in the output of the download script

 

To install the updates, run InstallUpdates.ps1

 

 

The update(s) may require a reboot in order to finalize the installation, make sure the reboot is coordinated to avoid issues with availability



Actions
  • Print
  • Copy Link

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