WinSCP Silent Install (How-To Guide)


WinSCP (Windows Secure Copy) is a free and open-source SFTP, FTP, WebDAV, Amazon S3 and SCP client. This article will serve as an informative guide and give you a clear understanding of how to perform a silent installation of WinSCP from the command line using the EXE installer.

How to Install WinSCP Silently

WinSCP Silent Install (EXE)

  1. Navigate to: https://winscp.net/eng/download.php
  2. Download the WinSCP-x.y.z-Setup.exe to a folder created at (C:\Downloads)
  3. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  4. Navigate to the C:\Downloads folder
  5. Enter the following command: WinSCP-x.y.z-Setup.exe /VERYSILENT /NORESTART /ALLUSERS
  6. Press Enter

After a few moments you should see the WinSCP Desktop Shortcut appear. You will also find entries in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.

Software Title:WinSCP
Vendor:Martin Prikryl
Architecture:x86
Installer Type:EXE
Silent Install Switch:WinSCP-x.y.z-Setup.exe /VERYSILENT /NORESTART /ALLUSERS
Silent Uninstall Switch (32-bit System)"%ProgramFiles%\WinSCP\unins000.exe" /VERYSILENT /NORESTART
Silent Uninstall Switch (64-bit System)"%ProgramFiles(x86)%\WinSCP\unins000.exe" /VERYSILENT /NORESTART
Download Link:https://winscp.net/eng/download.php
PowerShell Script:https://silentinstallhq.com/winscp-install-and-uninstall-powershell/

The information above provides a quick overview of the software title, vendor, silent install, and silent uninstall switches. The download link 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 WinSCP 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.

WinSCP Silent Install (EXE) with Logging

WinSCP-x.y.z-Setup.exe /VERYSILENT /NORESTART /ALLUSERS /LOG="%WINDIR%\Temp\WinSCP-Install.log"

Exclude Desktop Shortcut During Install

The WinSCP installer includes a desktop shortcut by default. If you don’t want the desktop shortcut included during installation, then you can run the following command line switch.

WinSCP Silent Install (EXE) without Desktop Shortcut

WinSCP-x.y.z-Setup.exe /VERYSILENT /NORESTART /ALLUSERS /MERGETASKS=!desktopicon

Change Default Installation Directory

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

WinSCP-x.y.z-Setup.exe /DIR="C:\WinSCP" /VERYSILENT /NORESTART /ALLUSERS

Disable Check For Updates

REG ADD "HKCU\SOFTWARE\Martin Prikryl\WinSCP 2\Configuration\Interface\Updates" /v "Period" /t REG_DWORD /d "00000000" /f
REG ADD "HKCU\SOFTWARE\Martin Prikryl\WinSCP 2\Configuration\Interface\Updates" /v "ShowOnStartup" /t REG_DWORD /d "00000000" /f

Disable Check For Beta Versions

REG ADD "HKCU\SOFTWARE\Martin Prikryl\WinSCP 2\Configuration\Interface\Updates" /v "BetaVersions" /t REG_DWORD /d "00000001" /f

Disable Collection of Anonymous Usage Statistics

REG ADD "HKCU\SOFTWARE\Martin Prikryl\WinSCP 2\Configuration\Interface" /v "CollectUsage" /t REG_DWORD /d "00000000" /f

How to Uninstall WinSCP Silently

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

WinSCP Silent Uninstall (EXE) on 32-bit System

"%ProgramFiles%\WinSCP\unins000.exe" /VERYSILENT /NORESTART

WinSCP Silent Uninstall (EXE) on 64-bit System

"%ProgramFiles(x86)%\WinSCP\unins000.exe" /VERYSILENT /NORESTART

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.

Recent Posts