Commands for installing Link Shell Extension without prompts, removing it again and detecting it from deployment tools. A command is shown only when it is certain: from the manifest or the installer technology’s documented default.
Related guide: Silent install switches: MSI, NSIS, Inno Setup · Uninstall a program with the registry or PowerShell
With winget
PowerShell
winget install --id HermannSchinagl.LinkShellExtension -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id HermannSchinagl.LinkShellExtension -e --silentwinget uninstall --id HermannSchinagl.LinkShellExtension -e --silentBy installer
64-bit · EXE (NSIS) · All users
Silent install
HardLinkShellExt_X64.exe /SCustom folder
HardLinkShellExt_X64.exe /S /D=C:\Apps\link-shell-extension- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\HardlinkShellExt
32-bit · EXE (NSIS) · All users
Silent install
HardLinkShellExt_win32.exe /SCustom folder
HardLinkShellExt_win32.exe /S /D=C:\Apps\link-shell-extension- Uninstall registry key
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\HardlinkShellExt
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-link-shell-extension.ps1
$url = 'https://schinagl.priv.at/nt/hardlinkshellext/save/3935/HardLinkShellExt_X64.exe'
$sha256 = 'CA3F26EBF49DC4EA8B5D8C0154ACCA0DE59A8689E5907FE748FFAEAA357FF3A0'
$file = Join-Path $env:TEMP 'HardLinkShellExt_X64.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/S' -Wait install-link-shell-extension.ps1
$url = 'https://schinagl.priv.at/nt/hardlinkshellext/save/3935/HardLinkShellExt_win32.exe'
$sha256 = 'B7E7227E960F025BE992C398DAFACD03C416ADF5210D3FC0FF1D5B5771AFDC4B'
$file = Join-Path $env:TEMP 'HardLinkShellExt_win32.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/S' -Wait