Programatically remove & permanently block Edge WebView2 Runtime?

%3CLINGO-SUB%20id%3D%22lingo-sub-2282850%22%20slang%3D%22en-US%22%3EProgramatically%20remove%20%26amp%3B%20permanently%20block%20Edge%20WebView2%20Runtime%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2282850%22%20slang%3D%22en-US%22%3E%3CP%3EWe%20have%20an%20Excel%20add-in%20that%20the%20vendor%20has%20determined%20is%20being%20broken%20by%20the%20runtime's%20failure%20to%20properly%20escape%20apostrophes%20in%20a%20path.%20I%20need%20to%20remove%20the%20runtime%20and%20block%20it%20being%20reinstalled%20across%20the%20enterprise.%20I've%20dabbled%20with%20Get-AppXPackage%20but%20apparently%20that%20does%20not%20include%20runtimes.%20Any%20suggestions%20will%20be%20greatly%20appreciated.%3C%2FP%3E%3CP%3E%3CBR%20%2F%3ETIA%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2283184%22%20slang%3D%22en-US%22%3ERe%3A%20Programatically%20remove%20%26amp%3B%20permanently%20block%20Edge%20WebView2%20Runtime%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2283184%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1035123%22%20target%3D%22_blank%22%3E%40Michael_Salm%3C%2FA%3E%26nbsp%3BHello!%26nbsp%3B%20Thanks%20for%20the%20question!%26nbsp%3B%20I%20can%20reach%20out%20to%20our%20WebView2%20team.%26nbsp%3B%20I%20also%20wanted%20to%20mention%20the%20team%20is%20pretty%20active%20on%20GitHub%20if%20you%20want%20to%20discuss%20with%20them%20directly%3A%26nbsp%3B%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FMicrosoftEdge%2FWebView2Feedback%2Fissues%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EIssues%20%C2%B7%20MicrosoftEdge%2FWebView2Feedback%20(github.com)%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAlso%2C%20since%20April%201st%20WebView2%20is%20being%20installed%20on%20specific%20devices.%26nbsp%3B%20More%20information%20about%20that%20and%20how%20to%20prevent%20the%20installation%20can%20be%20found%20here%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2FDeployOffice%2Fwebview2-install%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EMicrosoft%20Edge%20WebView2%20and%20Microsoft%20365%20Apps%20-%20Deploy%20Office%20%7C%20Microsoft%20Do%3C%2FA%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2FDeployOffice%2Fwebview2-install%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ecs%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CEM%3E-Kelly%3C%2FEM%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Visitor

We have an Excel add-in that the vendor has determined is being broken by the runtime's failure to properly escape apostrophes in a path. I need to remove the runtime and block it being reinstalled across the enterprise. I've dabbled with Get-AppXPackage but apparently that does not include runtimes. Any suggestions will be greatly appreciated.


TIA

1 Reply

@Michael_Salm Hello!  Thanks for the question!  I can reach out to our WebView2 team.  I also wanted to mention the team is pretty active on GitHub if you want to discuss with them directly:  Issues · MicrosoftEdge/WebView2Feedback (github.com)

 

Also, since April 1st WebView2 is being installed on specific devices.  More information about that and how to prevent the installation can be found here: Microsoft Edge WebView2 and Microsoft 365 Apps - Deploy Office | Microsoft Docs

 

-Kelly