Commands for installing Microsoft Edge WebView2 Runtime 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.EdgeWebView2Runtime -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Microsoft.EdgeWebView2Runtime -e --silentwinget uninstall --id Microsoft.EdgeWebView2Runtime -e --silentBy installer
64-bit · EXE · Current user
Silent install
MicrosoftEdgeWebView2RuntimeInstallerX64.exe /silent /install- Uninstall registry key
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Microsoft EdgeWebView
64-bit · EXE · All users
Silent install
MicrosoftEdgeWebView2RuntimeInstallerX64.exe /silent /install- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Microsoft EdgeWebView
ARM64 · EXE · Current user
Silent install
MicrosoftEdgeWebView2RuntimeInstallerARM64.exe /silent /install- Uninstall registry key
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Microsoft EdgeWebView
ARM64 · EXE · All users
Silent install
MicrosoftEdgeWebView2RuntimeInstallerARM64.exe /silent /install- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Microsoft EdgeWebView
32-bit · EXE · Current user
Silent install
MicrosoftEdgeWebView2RuntimeInstallerX86.exe /silent /install- Uninstall registry key
- HKCU\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Microsoft EdgeWebView
32-bit · EXE · All users
Silent install
MicrosoftEdgeWebView2RuntimeInstallerX86.exe /silent /install- Uninstall registry key
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Microsoft EdgeWebView
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-microsoft-edge-webview2-runtime.ps1
$url = 'https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/d5cc3c1c-bb59-4158-aedc-db0035e44466/MicrosoftEdgeWebView2RuntimeInstallerX64.exe'
$sha256 = '62863F0F0611A16CCF124B4F15650C3B66624504EBA74D7CDE1E2AE5D951249B'
$file = Join-Path $env:TEMP 'MicrosoftEdgeWebView2RuntimeInstallerX64.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 '/silent /install' -Wait install-microsoft-edge-webview2-runtime.ps1
$url = 'https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/d5cc3c1c-bb59-4158-aedc-db0035e44466/MicrosoftEdgeWebView2RuntimeInstallerX64.exe'
$sha256 = '62863F0F0611A16CCF124B4F15650C3B66624504EBA74D7CDE1E2AE5D951249B'
$file = Join-Path $env:TEMP 'MicrosoftEdgeWebView2RuntimeInstallerX64.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 '/silent /install' -Wait install-microsoft-edge-webview2-runtime.ps1
$url = 'https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/7da04b46-7e81-4f30-9852-6af198acc279/MicrosoftEdgeWebView2RuntimeInstallerARM64.exe'
$sha256 = '9E095F5AD0B42338823C2DE143A0B7A97934A9BCEC07C0400BB1F149709B3E64'
$file = Join-Path $env:TEMP 'MicrosoftEdgeWebView2RuntimeInstallerARM64.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 '/silent /install' -Wait install-microsoft-edge-webview2-runtime.ps1
$url = 'https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/7da04b46-7e81-4f30-9852-6af198acc279/MicrosoftEdgeWebView2RuntimeInstallerARM64.exe'
$sha256 = '9E095F5AD0B42338823C2DE143A0B7A97934A9BCEC07C0400BB1F149709B3E64'
$file = Join-Path $env:TEMP 'MicrosoftEdgeWebView2RuntimeInstallerARM64.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 '/silent /install' -Wait install-microsoft-edge-webview2-runtime.ps1
$url = 'https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/56d0c05b-841c-4c6e-85cb-56e953ed01ce/MicrosoftEdgeWebView2RuntimeInstallerX86.exe'
$sha256 = '2FE479D0BB6411EBF683A5656A4213329E1AF48694D779C4FC7194172010F191'
$file = Join-Path $env:TEMP 'MicrosoftEdgeWebView2RuntimeInstallerX86.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 '/silent /install' -Wait install-microsoft-edge-webview2-runtime.ps1
$url = 'https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/56d0c05b-841c-4c6e-85cb-56e953ed01ce/MicrosoftEdgeWebView2RuntimeInstallerX86.exe'
$sha256 = '2FE479D0BB6411EBF683A5656A4213329E1AF48694D779C4FC7194172010F191'
$file = Join-Path $env:TEMP 'MicrosoftEdgeWebView2RuntimeInstallerX86.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 '/silent /install' -Wait