AWS Client VPN is a managed client-based VPN service that enables you to securely access your AWS resources and resources in your on-premises network. This article will serve as an informative guide and give you a clear understanding of how to perform a silent installation of AWS Client VPN from the command line using the MSI installer.
How to Install AWS Client VPN Silently
AWS VPN Client Silent Install (MSI)
- Navigate to: https://aws.amazon.com/vpn/client-vpn-download/
- Download the AWS_VPN_Client.msi to a folder created at (C:\Downloads)
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Navigate to the C:\Downloads folder
- Enter the following command: MsiExec.exe /i AWS_VPN_Client.msi /qn
- Press Enter
After a few moments you should see the AWS VPN Client Desktop Shortcut appear. You will also find entries in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.
Software Title: | AWS VPN Client |
Vendor: | Amazon |
Architecture: | x64 |
Installer Type: | MSI |
Silent Install Switch: | MsiExec.exe /i AWS_VPN_Client.msi /qn |
Silent Uninstall Switch: | MsiExec.exe /x AWS_VPN_Client.msi /qn |
Repair Command: | MsiExec.exe /fa AWS_VPN_Client.msi /qn |
Download Link: | https://aws.amazon.com/vpn/client-vpn-download/ |
PowerShell Script: | https://silentinstallhq.com/aws-client-vpn-install-and-uninstall-powershell/ |
Detection Script: | https://silentinstallhq.com/create-a-custom-detection-script-for-the-aws-client-vpn-powershell/ |
The information above provides a quick overview of the software title, vendor, silent install, and silent uninstall switches. The download links provided take you directly to the vendors website. Continue reading if you are interested in additional details and configurations.
Additional Configurations
Create an AWS VPN Client Installation Log File
The AWS Client VPN installer offers the option to generate a log file during installation to assist with troubleshooting should any problems arise. You can use the following commands to create a verbose log file with details about the installation.
AWS VPN Client Silent Install with Logging (MSI)
MsiExec.exe /i AWS_VPN_Client.msi /qn /L*v "%WINDIR%\Temp\AWS_VPN_Client-Install.log" |
How to Uninstall the AWS VPN Client Silently
Check out the following posts for a scripted solution:
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Enter one of the following commands:
Version | AWS VPN Client Silent Uninstall String |
3.1.0 | MsiExec.exe /x {6577540C-2F16-4FC0-BC25-562915641F73} /qn |
3.0.0 | MsiExec.exe /x {D0AE65C7-F40A-4A4E-8BDF-03CEB82DB998} /qn |
Always make sure to test everything in a development environment prior to implementing anything into production. The information in this article is provided “As Is” without warranty of any kind.