YubiKey Personalization Tool Silent Install (How-To Guide)

The YubiKey Personalization Tool is used to program the two configuration slots in your YubiKey. This article will serve as an informative guide and give you a clear understanding of how to perform a silent installation of the YubiKey Personalization Tool from the command line using the EXE installer.

How to Install the YubiKey Personalization Tool Silently

YubiKey Personalization Tool Silent Install (EXE)

  1. Navigate to: https://developers.yubico.com/yubikey-personalization-gui/Releases/
  2. Select the version of your choice
  3. Download & Copy the yubikey-personalization-gui-x.y.z.exe to a folder created at (C:\Downloads)
  4. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  5. Navigate to the C:\Downloads folder
  6. Enter the following command: yubikey-personalization-gui-x.y.z.exe /S
  7. Press Enter

After a few moments you will find YubiKey Personalization Tool entries in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.

Software Title:YubiKey Personalization Tool
Vendor:Yubico AB
Architecture:x86
Installer Type:EXE
Silent Install Switch:yubikey-personalization-gui-x.y.z.exe /S
Silent Uninstall Switch (32-bit System)"%ProgramFiles%\Yubico\YubiKey Personalization Tool\uninstall.exe" /S
Silent Uninstall Switch (64-bit System)"%ProgramFiles(x86)%\Yubico\YubiKey Personalization Tool\uninstall.exe" /S
Download Link:https://developers.yubico.com/yubikey-personalization-gui/Releases/
PowerShell Script:https://silentinstallhq.com/yubikey-personalization-tool-install-and-uninstall-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

Change the YubiKey Personalization Tool Default Installation Directory

You can change the default installation directory by using the following command line parameters. In this example, I’m installing YubiKey Personalization Tool to “C:\Yubico\YubiKey Personalization Tool”

yubikey-personalization-gui-x.y.z.exe /S /D=C:\Yubico\YubiKey Personalization Tool

How to Uninstall the YubiKey Personalization Tool Silently

Check out the YubiKey Personalization Tool Install and Uninstall (PowerShell) post for a scripted solution.

  1. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  2. Enter one of the following commands:

YubiKey Personalization Tool Silent Uninstall (EXE) on 32-bit System

"%ProgramFiles%\Yubico\YubiKey Personalization Tool\uninstall.exe" /S

YubiKey Personalization Tool Silent Uninstall (EXE) on 64-bit System

"%ProgramFiles(x86)%\Yubico\YubiKey Personalization Tool\uninstall.exe" /S

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.