Solution:
Root Cause: Corrupted Chromium IndexedDB and Web Cache Storage
New Microsoft Teams (Teams 2.0/2.1) operates on Microsoft Edge WebView2 instead of legacy Electron. The WebView2 runtime utilizes Chromium-based caching mechanisms (IndexedDB, LocalStorage, and Blob Storage) to persist message history, user avatars, and telemetry. When cache files become fragmented or corrupted, the Chromium rendering engine (
msedgewebview2.exe) enters an infinite indexing and garbage-collection loop, consuming significant CPU cycles even when no active chat or call is taking place.
Diagnostic Verification:
Open Task Manager (Ctrl + Shift + Esc) and expand Microsoft Teams.Observe Microsoft Edge WebView2 processes maintaining 20%+ CPU utilization while Teams is minimized.Navigate to %localappdata%\Packages\MSTeams_8wekyb3d8bbwe\LocalCache\EBWebView in File Explorer and verify if cache directories exceed several gigabytes.Step-by-Step Fix:
1Fully Terminate Microsoft Teams:
Right-click the Teams icon in the system tray and select Quit.Open PowerShell as Administrator and run: Get-Process -Name "*teams*", "*webview2*" -ErrorAction SilentlyContinue | Stop-Process -Force
2Clear New Teams (WebView2) Cache via PowerShell:
Execute the following command sequence to purge cache stores without removing account credentials: Remove-Item -Path "$env:LOCALAPPDATA\Packages\MSTeams_8wekyb3d8bbwe\LocalCache\EBWebView\WV2Profile_host\Local Storage" -Recurse -Force -ErrorAction SilentlyContinue
Remove-Item -Path "$env:LOCALAPPDATA\Packages\MSTeams_8wekyb3d8bbwe\LocalCache\EBWebView\WV2Profile_host\IndexedDB" -Recurse -Force -ErrorAction SilentlyContinue
Remove-Item -Path "$env:LOCALAPPDATA\Packages\MSTeams_8wekyb3d8bbwe\LocalCache\EBWebView\WV2Profile_host\Blob_storage" -Recurse -Force -ErrorAction SilentlyContinue
3Clear Classic Teams Cache (If using legacy Teams):
Execute: Remove-Item -Path "$env:APPDATA\Microsoft\Teams\*" -Recurse -Force -ErrorAction SilentlyContinue
4Relaunch Microsoft Teams and monitor idle CPU usage.
Prevention & Long-Term Monitoring:
Automate periodic cache maintenance or deploy enterprise cleanup scripts to prevent IndexedDB accumulation.