OpenSSH Preview silent install and uninstall

Microsoft.OpenSSH.Preview

MSI x86x64arm64 Updated 19 Oct 2026
Vendor
Microsoft Corporation
Category
IT Admin
Installer
Windows Installer (MSI)
Architecture
x86, x64, arm64
Checked version
10.0.0.0
winget ID
Microsoft.OpenSSH.Preview
Product code
{7E239BB2-181B-42C7-8C01-F0F0FC3F6CE7}
License
BSD License
Download
Official download

Silent install

msiexec /i OpenSSH-Win64-v10.0.0.0.msi /qn /norestart
  1. Download the installer from the direct download link.
  2. Open an elevated Command Prompt: right-click Command Prompt and select Run as administrator.
  3. Change to the folder with the installer, for example cd C:\Temp.
  4. Run the command above. Adjust the file name if you downloaded a different version.

Or install with winget

winget install --id Microsoft.OpenSSH.Preview --exact --silent --scope machine --accept-package-agreements --accept-source-agreements

Silent uninstall

MSI
msiexec /x {7E239BB2-181B-42C7-8C01-F0F0FC3F6CE7} /qn /norestart
winget
winget uninstall --id Microsoft.OpenSSH.Preview --exact --silent --accept-source-agreements

Run the command from an elevated Command Prompt.

About the Windows Installer (MSI) installer

MSI packages are installed with msiexec and share the same switches. Public properties (NAME=value) are passed on the same command line.

SwitchWhat it does
/qnNo user interface.
/norestartNever restart, even if the installation needs it.
/l*v "C:\Temp\install.log"Verbose log file, the first place to look when an install fails.
ALLUSERS=1Install for all users (per-machine).
TRANSFORMS="file.mst"Apply a transform with your own settings.

Deploy OpenSSH Preview with Microsoft Intune

Package the installer as a Win32 app (.intunewin) and use these settings:

Install commandmsiexec /i OpenSSH-Win64-v10.0.0.0.msi /qn /norestart
Uninstall command msiexec /x {7E239BB2-181B-42C7-8C01-F0F0FC3F6CE7} /qn /norestart
Install behaviorSystem
Detection ruleMSI product code {7E239BB2-181B-42C7-8C01-F0F0FC3F6CE7}

More it admin apps