Edge.WebView2 Error

# AutoCAD WebView2 Fix Procedure

**Error:** *”Unable to run AutoCAD. A dependent component Microsoft Edge WebView2 Runtime is missing or you don’t have sufficient rights to run AutoCAD.”*

## Prerequisites

– Open **PowerShell as Administrator**

## Step 1 — Locate WebView2 in the Registry

“`powershell
$paths = @(
“HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall”,
“HKLM:\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall”,
“HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall”
)

$paths | ForEach-Object {
Get-ChildItem $_ | Get-ItemProperty | Where-Object { $_.DisplayName -like “*WebView2*” -or $_.DisplayName -like “*Edge*” }
} | Select-Object DisplayName, UninstallString
“`

Confirm that **Microsoft Edge WebView2 Runtime** appears in the output before continuing.

## Step 2 — Uninstall WebView2

“`powershell
$webview2 = $paths | ForEach-Object {
Get-ChildItem $_ | Get-ItemProperty | Where-Object { $_.DisplayName -like “*WebView2*” }
} | Select-Object -First 1

$uninstallCmd = $webview2.UninstallString + ” –uninstall –force-uninstall”
Start-Process “cmd.exe” -ArgumentList “/c $uninstallCmd” -Verb RunAs -Wait
“`

## Step 3 — Reinstall WebView2

“`powershell
Invoke-WebRequest -Uri “https://go.microsoft.com/fwlink/p/?LinkId=2124703” -OutFile “$env:TEMP\WebView2Setup.exe”
Start-Process “$env:TEMP\WebView2Setup.exe” -ArgumentList “/install” -Verb RunAs -Wait
“`

## Step 4 — Launch AutoCAD

Open AutoCAD normally. The WebView2 error should be resolved.