简体   繁体   中英

Remove Webp image extension from Windows 10 (and any other Appxpackage)

I had issues with uninstalling this extension for a long time. This PS command will remove the App Package and it's contents from Windows 10. It doesn't delete the folder in the C:\Programs directory, but it does the job by uninstalling it from the MS store and Windows 10.

Get-AppxPackage -allusers Microsoft.WebpImageExtension | Remove-AppxPackage –allusers 

Is there a way to remove the folders (and contents) for the apps located here:

C:\Program Files\WindowsApps\..

Edit: clarifying my issue with the folder removal.

Found the problem to be that someone had changed the folder permissions from SYSTEM to their username...

By just changing the folder permissions under Properties>Security>Advanced to something like local Administrators, selecting the two checkboxes to include subfolders and replacing all child object permission entries with inheritable permission entries gives full access to the folder and subcontents to be able to delete them.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM