WindowsApps folder still contains large folders from deleted Microsoft Applications
Win10 > Program Files > WindowsApps
There are a lot of Windows Apps that come pre-installed on Win10, such as XBOX app, Microsoft Notes. I uninstalled these apps and programs. But the WindowsApps folder still contains huge directories relating to these programs.
Is there anyway to safely remove all these leftover files + folders. Win10 does not give me permission to read/modify the folder. I can change the owner, but i don't want to cause issues.
Uninstalling an app from your user account will not remove the app from the disk. It will remain there so that Windows can re-create the built-in apps for new user accounts when they are created and log on. Therefore, these apps, called staged or provisioned, continue to take disk space even though they seem to be uninstalled.
To remove provisioned apps you have to use in an elevated PowerShell session the
remove-AppxProvisionedPackage
command, like this:
remove-AppxProvisionedPackage -package Microsoft.BingTravel_1.2.0.145_x64__8wekyb3d8bbwe -online
This command removes the Bing Travel package from all locations,
including the WindowsApps
folder and the Start menu.
To re-install later, go to the Windows Store, My library section.