How To Uninstall Apps On Xbox One
How To: Properly remove XBOX GamePass / Windows Store Games and Apps if they don't uninstall correctly and keep eating space on Win10/11
- Thread starter Skyfireblaze
- Start date
You should upgrade or use an alternative browser.
- #1
Alright I figured I make this thread because alot of people seem to run into the issue of Win10/11 UWP games and apps not properly uninstalling and then they try various methods to fix the problem which in some cases make things only worse. I don't know why this problem happens but it's pretty easy to cleanly fix when it does if you know how to do it. These games are installed in the "WindowsApps" folder of any particular drive and can't be accessed in normal ways due to the way Windows permissions work.
Windows has three layers of permissions:
Layer 3: This is the User Layer, these are for files and apps that generally don't touch the system and belong to your own user-account in Windows, you can access and modify them freely.
Layer 2: This is the Administrator layer that you still have to specifically grant permissions for even if you User Account is set to be an Admin. This happens via UAC when you launch a program that has to access the system in a deeper manner and also applies to folders like C:\Program Files where you have to give extra permissions to modify files and folders.
Layer 1: This layer is called the Trusted Installer layer and used to protect the Windows folder, the WindowsApps folders on all drives and various other critical system files and folders and it's also the way Windows Update for example can modify the system.
Generally there is no way to access this level of permission by normal means and for a good reason as when you have Trusted Installer rights you can bypass most of Windows' self-protections and as such royally screw up your system.
What you DON'T want to do to fix the problem of games taking up space:
Do not mess with security permissions and the ownership of files and folders! Seriously don't, there is a chance it will go fine but it might also cause hard to diagnose problems later on. Windows has its permissions and ownership set for a reason and there's no need to mess with this.
How to get your space back cleanly:
Well we can't access the WindowsApps folder where the game that takes up our space is normally and we don't want to mess with permissions and ownership either so what do we do? We will temporarily give ourselves Trusted Installer rights and as such sidestep the issue in a super clean way. To do this download this tool: https://github.com/jschicht/RunAsTI
Click the green "Code" button then "Download as .zip" and then extract the archive and then just run "RunAsTI64.exe".
This will spawn a CMD with Trusted Installer rights, as said be careful what you enter here, Windows can't protect itself if you have this kind of power!
We'll start out in the directory "C:\Windows\System32", now just follow these steps:
- If the game you want to remove was installed to your C: drive, enter the command cd..
twice, this moves you back to the root of the C: drive
- If the game was on any other drive, enter X:
where "X" stands for the drive-letter of the drive
- Then just type cd WindowsApps
("cd" stands for "Choose Directory") and then we are in the WindowsApps folder we couldn't access normally, if the game was on the C: drive the correct folder is cd "Program Files\WindowsApps"
with the quotes.
- Enter dir
this will list all folders inside the WindowsApps folder, from there it's time to identify the folder of the game you want to delete.
- WindowsApps game folder usually have long and crude names but they should be always easily identifiable with the exception of Forza Horizon 3 and 4
- From the top of my head FH3 has something with OpusPG in its name and FH4 is called SunriseBaseGame something in its name, in the worst case, look on Google
- Now when you identified what folder you want to delete enter this: rmdir /f /s FOLDERNAME
(You don't have to type out the whole folder name, it's enough to type the first few letters and then press TAB to auto-complete but make sure it truly has the correct folder name!)
- Windows will as if you really want to do this, type Y to confirm. "rmdir" stands for "Remove Directory" and "/f" stands for "force" and "/s" for "Include all subfolders"
That's it, your space should be back and you can close the CMD and delete RunAsTI if you wish :)
If you need any help just ask here and I'll see what I can do!
DISCLAIMER: I take no responsibility if you mess up your system with wrong commands, as they say: "With great power comes great responsibility!" :P
- #2
- #3
I'd be keen to try this if it were covered by a tech or games news outlet, but I agree you still have to exercise some caution as you point out.
- Oct 25, 2017
- 12,121
- Seoul
- #4
- #5
WTF are they doing?
- #6
Technically, this is nothing more than a command prompt that has the proper rights to delete the folders. There's nothing super in depth to "test" about it.Would this be able to be verified by way of testing and being reported as to have worked often enough to be recommended?I'd be keen to try this if it were covered by a tech or games news outlet, but I agree you still have to exercise some caution as you point out.
It's still absolute shit that we have to resort to this. At one point I just completely nuked my SSD because I couldn't remove or fix a game.
- #7
that's the best solutionAfter looking at all of that, I think I'll just not bother using the Windows store.
- #9
- #10
Technically, this is nothing more than a command prompt that has the proper rights to delete the folders. There's nothing super in depth to "test" about it.It's still absolute shit that we have to resort to this. At one point I just completely nuked my SSD because I couldn't remove or fix a game.
Agreed, and I've done that circa early 2020 across three separate drives on my system inc. SSD - I'm going to attempt a more exact solution now I've found about 30gb from uninstalled games recently.
I still actually enjoy the service.
- #11
It's not DOS, it's a command line terminal.It is fucking WILD that we have to run DOS in 2021 to properly remove games when MS is handling things...WTF are they doing?
- #12
- #13
After looking at all of that, I think I'll just not bother using the Windows store.
First post nails it.
- #14
- #15
- #16
- #17
- #18
- #19
I noped out of gamepass the first month after an installed game was having issues updating then reinstalled itself, but I hope this can help users.
- #20
Stil, this would all be better if games installed normally like any other program installed outside the store. At this point on my new PC I'm not sure I want to risk it, so I'd actually buy a series X as a GamePass machine right now.
- #21
All it does is cause issues and punish users who want to access the installation folder for their games. PC as a platform should be open and not closed off like consoles.
- #22
- #24
Goes without saying that the Windows team should really address this problem.
- #25
It's very frustrating when people say: "just take ownership of the
WindowsApps
folder" and then complain later about how the Microsoft Store doesn't work anymore.Something I want to point out for people, though:
the very first step you should take is to run Disk Clean-Up.Most of the time, when that disk space is "missing," what is happening is that it's been cached by the Delivery Optimization service so that it can be easily reinstalled or installed on another computer on your local network without having to download it again.
That space should clear up automatically if you run out of storage and the system needs to use it, but running Disk Clean-Up will force it to happen immediately.
And I believe that someone here has also said that disabling the Delivery Optimization Service prevented it from happening again on their system - though I have not confirmed it myself.
As an example, I downloaded Quantum Break, and then deleted it.
42.3 GB when "missing" when I did this.
But running Disk Clean-Up shows 42.3 GB being used by the Delivery Optimization service:
It should clear out itself if the disk was running out of space, but there was still 349.9 GB free.
If you really need the space or want to clean it out for peace of mind, running the Disk Clean-Up would clear it for you without having to do anything else.
And I don't mean to derail, but I find it extremely difficult to read large amounts of text when you're hitting enter twice after every line. I've noticed that a few posters here seem to do that.
I thought it was bad enough when people double-spaced after a period.
Alright I figured I make this thread because alot of people seem to run into the issue of Win10/11 UWP games and apps not properly uninstalling and then they try various methods to fix the problem which in some cases make things only worse.
I don't know why this problem happens but it's pretty easy to cleanly fix when it does if you know how to do it.
These games are installed in the "WindowsApps" folder of any particular drive and can't be accessed in normal ways due to the way Windows permissions work.Windows has three layers of permissions:
Generally there is no way to access this level of permission by normal means and for a good reason as when you have Trusted Installer rights you can bypass most of Windows' self-protections and as such royally screw up your system.
- Layer 3: This is the User Layer, these are for files and apps that generally don't touch the system and belong to your own user-account in Windows, you can access and modify them freely.
- Layer 2: This is the Administrator layer that you still have to specifically grant permissions for even if you User Account is set to be an Admin. This happens via UAC when you launch a program that has to access the system in a deeper manner and also applies to folders like C:\Program Files where you have to give extra permissions to modify files and folders.
- Layer 1: This layer is called the Trusted Installer layer and used to protect the Windows folder, the WindowsApps folders on all drives and various other critical system files and folders and it's also the way Windows Update for example can modify the system.
What you DON'T want to do to fix the problem of games taking up space:
Do not mess with security permissions and the ownership of files and folders! Seriously don't, there is a chance it will go fine but it might also cause hard to diagnose problems later on. Windows has its permissions and ownership set for a reason and there's no need to mess with this.How to get your space back cleanly:
Well we can't access the WindowsApps folder where the game that takes up our space is normally and we don't want to mess with permissions and ownership either so what do we do? We will temporarily give ourselves Trusted Installer rights and as such sidestep the issue in a super clean way. To do this download this tool: https://github.com/jschicht/RunAsTI
Click the green "Code" button then "Download as .zip" and then extract the archive and then just run "RunAsTI64.exe".
This will spawn a CMD with Trusted Installer rights, as said be careful what you enter here, Windows can't protect itself if you have this kind of power!We'll start out in the directory "C:\Windows\System32", now just follow these steps:
That's it, your space should be back and you can close the CMD and delete RunAsTI if you wish :)
- If the game you want to remove was installed to your C: drive, enter the command
cd..
twice, this moves you back to the root of the C: drive- If the game was on any other drive, enter
X:
where "X" stands for the drive-letter of the drive- Then just type
cd WindowsApps
("cd" stands for "Choose Directory") and then we are in the WindowsApps folder we couldn't access normally- Enter
dir
this will list all folders inside the WindowsApps folder, from there it's time to identify the folder of the game you want to delete.- WindowsApps game folder usually have long and crude names but they should be always easily identifiable with the exception of Forza Horizon 3 and 4
- From the top of my head FH3 has something with OpusPG in its name and FH4 is called SunriseBaseGame something in its name, in the worst case, look on Google
- Now when you identified what folder you want to delete enter this:
rmdir /f /s FOLDERNAME
(You don't have to type out the whole folder name, it's enough to type the first few letters and then press TAB to auto-complete but make sure it truly has the correct folder name!)- Windows will as if you really want to do this, type Y to confirm. "rmdir" stands for "Remove Directory" and "/f" stands for "force" and "/s" for "Include all subfolders"
If you need any help just ask here and I'll see what I can do!DISCLAIMER: I take no responsibility if you mess up your system with wrong commands, as they say: "With great power comes great responsibility!" :P
Most of the time it's not even a problem, except for people that constantly worry over how much free disk space they have, for some reason.How have MS still not sorted this shit out
- #26
- #27
This.How have MS still not sorted this shit out
Insane that this is still a thing years later
- #28
- #29
- #30
Has MS even acknowledged that this is a problem? I've only ever seen people on Era talk about itHow have MS still not sorted this shit out
- #31
Everyone else has been happily installing and uninstalling stuff for years (with the odd fuckup like that time uninstalling EvE Online would also delete your System32 folder) yet Microsoft's own store has to do some cryptic bullshit and leave the user to jump through hoops when it goes wrong.
- #32
- #33
- #34
- #35
- #36
- #37
Any idea on how the check that out?
Anyway, great thread OP I'll bookmark it.
- #38
- #39
- #40
Good question, I'd like to know what percentage is impacted by all of this? I have used Game Pass for quite some time and only have a 500GB SSD with Windows on it. I've had other issues with the Windows Store but not this.Has MS even acknowledged that this is a problem? I've only ever seen people on Era talk about it
- #41
- #42
small indie companyHow have MS still not sorted this shit out
- #43
That is what i'm doing too: i have a separate SSD for gamepass, and haven't had any issues since i started installing them this way.I have Game Pass stuff installed on a different SSD. Haven't had any problems yet, but if I did I will just nuke the drive.
And i can always format it and not risk hurting my windows installation if any problems arise.
- #44
After looking at all of that, I think I'll just not bother using the Windows store.
Yep. I'll stick to Steam when I get my Steam Deck. I don't care how good Gamepass is, it's not worth all that.
- #45
I haven't used the Store in forever, and when I did I had trouble getting games to even start downloading, so eventually I just gave up. Knowing this bug is still around will be yet another reminder to not bother with this shit, and I'm saying this as a GP Ultimate subscriber lol
- #46
After looking at all of that, I think I'll just not bother using the Windows store.
Until this and tons of other problems are sorted out on PC, I won't sign up for XGP. The most basic functionality of a game launcher should be to install and uninstall a game. And MS can't even get that right
- #47
After looking at all of that, I think I'll just not bother using the Windows store.
Agreed.
- #48
I am very close to doing a clean install but keep telling myself no when i realise how much hassle it is going to be to get my pc setup how i want it afterwards.
- Oct 25, 2017
- 33,177
- Boise
- #49
- #50
How To Uninstall Apps On Xbox One
Source: https://www.resetera.com/threads/how-to-properly-remove-xbox-gamepass-windows-store-games-and-apps-if-they-dont-uninstall-correctly-and-keep-eating-space-on-win10-11.475458/
Posted by: brumfieldgince1938.blogspot.com
0 Response to "How To Uninstall Apps On Xbox One"
Post a Comment