Home > Manage CAP Gateways > Install a CAP Gateway > Manual Installation for Windows Gateway
Export to PDFBefore installation, note the following:
For Azure VM and Azure Storage, the gateway must be installed on a VM within the same tenant as the protected VMs/blob containers/file shares configured in the backup scope.
It’s recommended to install the gateway in the same zone/region as the protected instances configured in the backup scope for optimal performance.
It is recommended that the instance where the gateway is installed runs Windows Server 2019 Datacenter-x64 Gen1 as its operating system, with a configuration of 4 CPU cores and 16 GB of memory.
For better performance, you can use different gateways for different backup scopes and use multiple gateways for one backup scope as needed.
Follow the steps below to install the CAP Gateway:
Select a gateway and click Get package.
In the Get package panel, follow the steps below:
In the Get package step, copy the SAS URL for package to your clipboard.
Locate the Google VM instance/Azure VM/Azure Storage VM/Azure SQL database/Amazon EC2 instance/ SQL Server database where the gateway will be installed, then execute the following command using Windows PowerShell to download the installation package to your instance/VM. Replace ‘CAPGateway_SerialNumber.zip’ in the command with the actual downloaded package name and replace ‘sas url’ with the SAS URL copied in the Get package step.
The ‘O’ in the command is the uppercase letter 'O', not the number zero '0'.
In the SAS URL for configuration file/Signed URL for configuration file step, copy the passphrase and URL for the configuration file to your clipboard.
To protect Microsoft Azure service, copy the SAS URL and passphrase to your clipboard.

To protect Google Cloud service, copy the Signed URL and passphrase to your clipboard.

After downloading, execute the following command line to extract the package contents to the ./capwin directory.
mkdir -p./capwin.New-Item -ItemType Directory -Path ".\capwin" -Force.Execute the following command line to run the install.sh script. Replace ‘passphrase’ and ‘url for configuration file’ in the command with actual values copied from the Get package panel.
To protect Microsoft Azure service, Amazon service, or self-managed SQL Server, replace ‘url for configuration file’ with the SAS URL for configuration file copied from the Get package panel > SAS URL for configuration file step.
To protect Google Cloud service, replace ‘url for configuration file’ with the Signed URL for configuration file copied from the Get package panel > Signed URL for configuration file step.
If you need to update your CAP Gateway configurations, such as the passphrase and url for configuration file, follow the steps below:
Execute the following command line to download a new package.
curl.exe -o CAPGateway.zip "{package sas url}”
Execute the following command line to unzip the downloaded package.
Expand-Archive -Path "CAPGateway.zip" -DestinationPath ".\capwin" -Force
Execute the following command line to install the new package. Replace ‘passphrase’ and ‘url for configuration file’ in the command with actual values copied from the Get package panel.
To protect Microsoft Azure service, Amazon service, or self-managed SQL Server, replace ‘url for configuration file’ with the SAS URL for configuration file copied from the Get package panel.

To protect Google Cloud service, replace ‘url for configuration file’ with the Signed URL for configuration file copied from the Get package panel.

After downloading the installation package, you can run the following command to verify its checksum. Compare the result with the hash value displayed in the Get package panel to ensure the checksum is correct. Replace ‘CAPGateway_SerialNumber.zip’ in the command with the actual downloaded package name
If you want to uninstall the CAP Gateway, locate the unzipped package folder, and execute the following command line: