Commands for installing IdFix 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 Microsoft.IdFix -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Microsoft.IdFix -e --silentwinget uninstall --id Microsoft.IdFix -e --silentBy installer
64-bit · MSI · All users · en-US
Silent install
msiexec /i IdFix.Setup.2.6.0.3.msi /qn /norestartWrite a log
msiexec /i IdFix.Setup.2.6.0.3.msi /qn /norestart /l*v "%TEMP%\idfix-install.log"Uninstall
msiexec /x {6C673EDA-F963-40DA-8347-5C019F290BAF} /qn /norestart- MSI product code
- {6C673EDA-F963-40DA-8347-5C019F290BAF}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{6C673EDA-F963-40DA-8347-5C019F290BAF}
- UpgradeCode
- {81F4A0E0-BE55-4D44-B07C-ED11ABDB6E36}
- Install folder
- %ProgramFiles%\Microsoft FastTrack Open Source\Microsoft IdFix
- DisplayVersion
- 1.0.0.0
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-idfix.ps1
$url = 'https://github.com/microsoft/idfix/raw/refs/heads/master/MSIs/IdFix.Setup.2.6.0.3.msi'
$sha256 = 'F5B3103A87104E22AC13F7F393C4C642D6756F9B2A4D035CB6BB7A2B78C98784'
$file = Join-Path $env:TEMP 'IdFix.Setup.2.6.0.3.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait