PuTTY is a free and open-source terminal emulator, serial console and network file transfer application. This article will serve as an informative guide and give you a clear understanding of how to perform a silent installation of PuTTY 0.74 from the command line using the MSI installer.
How to Install PuTTY Silently
PuTTY 0.74 (32-bit) Silent Install (MSI)
- Navigate to:
- Select the 32-bit MSI (Windows Installer) link under Package Files
- Download the file 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 putty-0.74-installer.msi /qn
- Press Enter
After a few moments you should see the PuTTY shortcut in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.
Software Title: | PuTTY release 0.74 (32-bit) |
Vendor: | Simon Tatham |
Version: | 0.74.0.0 |
Architecture: | x86 |
Installer Type: | MSI |
Silent Install Switch: | MsiExec.exe /i putty-0.74-installer.msi /qn |
Silent Uninstall Switch: | MsiExec.exe /x {8F276E88-8C75-43AF-A245-7112AE5AF2DA} /qn |
Repair Command: | MsiExec.exe /fa {8F276E88-8C75-43AF-A245-7112AE5AF2DA} /qn |
Download Link: | https://www.chiark.greenend.org.uk/~sgtatham/putty/releases/0.74.html |
PowerShell Script: | https://silentinstallhq.com/putty-install-and-uninstall-powershell/ |
PuTTY 0.74 (64-bit) Silent Install (MSI)
- Navigate to:
- Select the 64-bit MSI (Windows Installer) link under Package Files
- Download the file 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 putty-64bit-0.74-installer.msi /qn
- Press Enter
After a few moments you should see the PuTTY shortcut in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.
Software Title: | PuTTY release 0.74 (64-bit) |
Vendor: | Simon Tatham |
Version: | 0.74.0.0 |
Architecture: | x64 |
Installer Type: | MSI |
Silent Install Switch: | MsiExec.exe /i putty-64bit-0.74-installer.msi /qn |
Silent Uninstall Switch: | MsiExec.exe /x {127B996B-5308-4012-865B-9446451EA326} /qn |
Repair Command: | MsiExec.exe /fa {127B996B-5308-4012-865B-9446451EA326} /qn |
Download Link: | https://www.chiark.greenend.org.uk/~sgtatham/putty/releases/0.74.html |
PowerShell Script: | https://silentinstallhq.com/putty-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
Create an Installation Log File
The PuTTY MSI 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.
PuTTY 0.74 (32-bit) Silent Install with Logging
MsiExec.exe /i putty-0.74-installer.msi /qn /L*V "%WINDIR%\Temp\PuTTY-Install.log" |
PuTTY 0.74 (64-bit) Silent Install with Logging
MsiExec.exe /i putty-64bit-0.74-installer.msi /qn /L*V "%WINDIR%\Temp\PuTTY-Install.log" |
Change Default Installation Directory
You can change the default installation directory by using the following command line parameters. In this example, I’m installing PuTTY to “C:\PuTTY”
PuTTY 0.74 (32-bit)
|
PuTTY 0.74 (64-bit)
MsiExec.exe /i putty-64bit-0.74-installer.msi INSTALLDIR="C:\PuTTY" /qn |
How to Uninstall PuTTY Silently
Check out the PuTTY Install and Uninstall (PowerShell) post 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:
PuTTY 0.74 (32-bit) Silent Uninstall
MsiExec.exe /x {8F276E88-8C75-43AF-A245-7112AE5AF2DA} /qn |
PuTTY 0.74 (64-bit) Silent Uninstall
MsiExec.exe /x {127B996B-5308-4012-865B-9446451EA326} /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.