Removal of OneDrive and Webview2

IronJosie

New Member
Messages
14
Reaction score
2
Hi everyone,

I processed a Windows 11 Pro 26H2 x64 image (10.0.26300.9974, en-US) using NTLite 2026.11.13094 with onedrive, edgewebview, edgewebviewlegacy, webview2core, and microsoft.win32webviewhost selected for removal, as well as component store cleanup enabled (CleanHotfixedLeftovers=3).

When inspecting the resulting install.wim, I noticed that full-sized Edge WebView (two versions) and OneDrive Setup folders are still present in Windows\WinSxS, taking up around 1.4 GB uncompressed:
  • amd64_microsoft-edge-webview_31bf3856ad364e35_10.0.26100.9974_none_2e80a0b13ae6c9ba (~701 MB)
  • amd64_microsoft-edge-webview_31bf3856ad364e35_10.0.26100.1_none_8fe1c356f34a19ca (~559 MB)
  • amd64_microsoft-windows-onedrive-setup_31bf3856ad364e35_10.0.26100.8521_none_c0f94796d61d5d64 (~145 MB)
Is this expected due to my Compatibility settings (SFC / WindowsUpdate enabled, RemovalModeLegacy=true), or are these folders simply missed by the current removal definitions / cleanup on 26H2?

I have attached my preset XML and a screenshot of the WinSxS folder for reference.
1795104419538.png
Thanks in advance!
 

Attachments

You'll always have to delete the outdated files in folder maps here. C:\Program Files (x86)\Microsoft after MS Edge is updated.
It remains a mystery that MS Edge takes up 3 GB on the hard drive.
Have fun.
 
WinSxS folder is the one folder, that hold all Windows files and necessary for updating go smooth.
 
A fuunctional rip with NTL is 11,9 GB after install -MS try to interpret you've to have 52 GB to install - thats hilarious same as a Corona vaccine
 
TLDR version - I find the space + resource hogging of modern windows(post XP 32 and 64bit) totally unacceptable!!! :mad:
 
Is this expected due to my Compatibility settings (SFC / WindowsUpdate enabled, RemovalModeLegacy=true), or are these folders simply missed by the current removal definitions / cleanup on 26H2?

Probably for that
 
I removed edge so onedrive is gone, but i kept webview. OP: sadly webview is used by many apps. That is likely why it is so large.
 
Bit late here, this is completely expected for Windows Update and SFC compatibility preservation.
However, can it be optimized, as in remove
  • amd64_microsoft-edge-webview_31bf3856ad364e35_10.0.26100.1_none_8fe1c356f34a19ca (~559 MB)
while keeping the latest, e.g.
  • amd64_microsoft-edge-webview_31bf3856ad364e35_10.0.26100.9974_none_2e80a0b13ae6c9ba (~701 MB)
And for future versions not to fail CU install, that's an open question which if DISM ResetBase doesn't clean it, most probable answer is no.

If you want WinSxS cleaned, use the Max removal mode until then, I'll do a bit of digging for the compatibility mode at least for these 2 extreme examples which are an eyesore.

edit: found some issues, will improve this and report back
 
Last edited:
Back
Top