Can't clean content...
 

  You don't need to be an 'investor' to invest in Singletrack: 6 days left: 95% of target - Find out more

[Closed] Can't clean contents of WindowsApps folder

5 Posts
3 Users
0 Reactions
279 Views
Posts: 91000
Free Member
Topic starter
 

This is clearly the place where the stuff from the Windows Store gets put, and the internet is full of instructions on how to remove apps, which I don't need.

The problem is that loads of space is taken up by leftovers from apps I've previously uninstalled. Is there any way to clean it out? I've taken ownership of the folder and its contents (well, Adminstrator has) and still won't let me delete anything. Obviously it's owned by the next-level SYSTEM account but it's chewing up a lot of space that I could do with getting back.


 
Posted : 25/11/2020 2:02 pm
Posts: 887
Full Member
 

You're going to have to read some of those instructions!

Afaik it's all about using the powershell commands - Remove-AppxPackage and Remove-AppxProvisionedPackage.  I've had to use those to clear up WIndows 10 to get nice clean templates to image from.

Edit: Try these - How to Remove Windows 10 Default AppX Packages | PDQ.com


 
Posted : 25/11/2020 2:11 pm
Posts: 91000
Free Member
Topic starter
 

I didn't see any instructions involving powershell... thanks for the tip.

So it looks like the ones that are still there are 'provisioned apps' waiting to be installed for the next user. They are all the MS unwanted ones like Candy Crush.


 
Posted : 25/11/2020 2:13 pm
Posts: 91000
Free Member
Topic starter
 

Well, the offending apps weren't in the provisioned packages, they were installed under other users profiles (forgot about them). I've now uninstalled it from other users, and they aren't coming up when I list packages in powershell. Problem is, the files are still there...


 
Posted : 27/11/2020 10:39 am
Posts: 0
Free Member
 

The WindowsApps folder is really annoying - I went through something similar recently. It contains a lot of junk, but there are also some really important files in there, including new user provisions, and (I think) stuff relating to purchases and the store. Messing with this folder usually causes more grief than it's worth - you'll find that by deleting something seemingly harmless you can loose functionality to bits of the OS. Once this happens then it's time for a fresh install of Windows. My advice is - leave it alone if you can. If you can't then boot Linux from a flash drive and remove it that way. Oh - and restore the permissions to trusted installer.


 
Posted : 27/11/2020 11:24 am
Posts: 91000
Free Member
Topic starter
 

I'm talking about Disney Kingdoms and Flight Unlimited. They shouldn't be essential to the OS, and because it's a package manager type setup they SHOULD be removed along with the packages. They are just zombie files, but thanks to MS's frankly odd security policy I cannot delete them.


 
Posted : 27/11/2020 11:51 am

6 DAYS LEFT
We are currently at 95% of our target!