Commands for installing Microsoft App Control Wizard 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.AppControlPolicyWizard -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Microsoft.AppControlPolicyWizard -e --silentwinget uninstall --id Microsoft.AppControlPolicyWizard -e --silentBy installer
64-bit · APPX
Silent install
Add-AppxPackage -Path WDACWizard_2.8.1.0_x64_8wekyb3d8bbwe.MSIXUninstall
Get-AppxPackage -Name Microsoft.WDAC.WDACWizard | Remove-AppxPackage- Install folder
- %ProgramFiles%\WindowsApps\Microsoft.WDAC.WDACWizard_2.8.1.0_x64__8wekyb3d8bbwe
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-microsoft-app-control-wizard.ps1
$url = 'https://webapp-wdac-wizard.azurewebsites.net/packages/WDACWizard_2.8.1.0_x64_8wekyb3d8bbwe.MSIX'
$sha256 = '8035000803065767F519DF094B7F2825AED787742AA095BFB667602F2F63BD1C'
$file = Join-Path $env:TEMP 'WDACWizard_2.8.1.0_x64_8wekyb3d8bbwe.MSIX'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Add-AppxPackage -Path $file