Any suggestions on the best way to delete remnants of unwanted UWP (Microsoft Store) apps from the hidden and protected C:\Programs Files\WindowsApps folder without having to take ownership (something I prefer not to do) and/or leaving behind orphaned entries in my Windows registry? Please note that I’m a complete novice when I comes to using PowerShell.
For example, I have a Standard (local) user account that I rarely use and decided to log in this week and uninstall several unwanted UWP apps associated with that account. I successfully removed most of those apps from the Windows Apps tab of Revo Uninstaller Free and then used the O&O AppBuster utility (which I was very impressed with) mentioned in PKCano’s 21-Jun-2021 Removing Built-in Apps from Win10 to find and remove 4 or 5 additional apps that weren’t detected by Revo Uninstaller Free.
However, I still have remnants of a few older apps at C:\Programs Files\WindowsApps that either seem to be tightly integrated with my Win 10 operating system (e.g., Phone Link – previously known as Your Phone per the 01-Apr-2022 ghacks.net article How to Uninstall Phone Link on Windows Devices) or just seem to ignore any PowerShell command I run to try and remove them. I can’t figure out how to get rid of these stray folders short of deleting them with TreeSize Free because:
- They are not detected by Revo Uninstaller Free
- They are not detected by O&O AppBuster
- They are not listed when I run the command Get-AppxPackage | ft name, PackageFullName -AutoSize from a PowerShell console with Administrator rights
For example, here’s a screenshot from TreeSize Free showing I have a relatively large 256 MB remnant of an old Phone Link v1.20092.123.0 app (last modified 24-Aug-2022) in C:\Programs Files\WindowsApps …
… but when I run commands like Get-AppxPackage *Microsoft.YourPhone* | Remove-AppxPackage or Remove-AppxPackage -Package Microsoft.YourPhone_1.20092.123.0_x64__8wekyb3d8bbwe -AllUsers from a PowerShell console with Administrator rights those commands don’t appear to have any effect at all.
————-
Dell Inspiron 5584 * 64-bit Win 10 Pro v22H2 build 19045.2846 * Firefox v112.0.2 * Microsoft Defender v4.18.2303.8-1.1.20200.4 * Malwarebytes Premium v4.5.27.262-1.0.1991 * Macrium Reflect Free v8.0.7279 * Revo Uninstaller Free Portable v2.4.4 * O&O AppBuster v1.3.1343 * TreeSize Free Portable v4.6.3