Commands for installing NetDocuments ndThread 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 NetDocuments.ndThread -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id NetDocuments.ndThread -e --silentwinget uninstall --id NetDocuments.ndThread -e --silentBy installer
32-bit · EXE (NSIS) · All users
Silent install
ndThread-1.0.44.exe /SCustom folder
ndThread-1.0.44.exe /S /D=C:\Apps\netdocuments-ndthread- Uninstall registry key
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\93e65d1a-daf7-5549-b1e7-7c40cd0dbd22
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-netdocuments-ndthread.ps1
$url = 'https://apps.netdocuments.com/apps/ndThread/ndThread-1.0.44.exe'
$sha256 = 'B57142B05FD41D86E5589186AEE17BA2DE5359F71C5D8E80CC20BC4ED9A147BF'
$file = Join-Path $env:TEMP 'ndThread-1.0.44.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