1

I learned that changing the app install location setting can make the games installed to an external SSD from this article.

https://windowsloop.com/install-xbox-game-pass-games-in-another-drive

But then all my apps, even non-games, will be installed in this external SSD which I do not want.

So I want to find a way 'only' Xbox PC games are installed in the external SSD and all the other apps are installed in the C drive as a default.

enter image description here

Edit

My external SSD is Samsung T5 and it is formatted as NTFS as the pic.

enter image description here

When I select the F drive, it won't be selected and remains as C.

enter image description here

If I click 'change folder' and choose F:/Games, then it gives error message as the pic.

enter image description here

4
  • The dedicated Xbox App on Windows has an option to select where games install: i.sstatic.net/TrbPW.png I wonder if you use that app to download your games (which should also use the Windows Store), if it will adhere to this location for your games only.
    – Timmy Jim
    Commented Feb 12, 2023 at 1:15
  • @TimmyJim Thank you. I didn't know that. It helped me a lot. However, I cannot select the external SSD. It is another problem. It is properly formatted as NTFS..
    – user67275
    Commented Feb 12, 2023 at 1:47
  • Can you manually input the path to your drive?
    – Timmy Jim
    Commented Feb 12, 2023 at 2:01
  • @TimmyJim They don't allow me to do so. If I choose the drive F:/Games, then it says 'The folder is not on C:'
    – user67275
    Commented Feb 12, 2023 at 2:55

1 Answer 1

0

You can try creating a symbolic link. This article has a guide on how to create one. It seems like it should be able to do what you need, seeing that the Xbox App apparently requires you to use C:\:

let’s say you have a program that needs its files at C:\Program. You’d really like to store this directory at D:\Stuff, but the program requires that its files be at C:\Program. You could move the original directory from C:\Program to D:\Stuff, and then create a symbolic link at C:\Program pointing to D:\Stuff. When you relaunch the program, it will try to access its directory at C:\Program. Windows will automatically redirect it to D:\Stuff, and everything will just work as if it were in C:\Program.

To create the symbolic link, run a command prompt as administrator (according to the guide, if you are on Windows 11, you don't need to do this, but it shouldn't matter). You will then want to use the mklink command. The syntax is the following:

mklink [[/d] | [/h] | [/j]] <link> <target>

In your case, I believe you want to use /j parameter which will create directory junction (basically, a directory that points to another directory).

Lets say you want your games to be installed to H:\Games, but the application you are using (Xbox App) forces you to use the C:\ drive, you can create a symbolic link like so:

mklink /j H:\Games C:\Games

This should result in the following output:

Junction created for H:\Games <<===>> C:\Games

You can test this now if you wish. Create a dummy text file in C:\Games. Then browse to H:\Games and you will notice that that text file now exists on your H disk in this location (and only here).

Note: The command won't work if the link's directory name you selected already exits in that location. You will either need to choose a different name for the link, or delete the existing directory.

Now, you should be able to tell the Xbox App to install games to C:\Games, but instead they should get installed to H:\Games, "tricking" the application.

The only thing I am not sure of is if you were to disconnect your external drive. I fear that might break the symbolic link, which means you'd have to create it each time to reconnect the drive. Windows may be smart enough to maintain any links with external drives once they are reconnected, but I am not sure. Additionally, I have not tested this with the Xbox App myself, so it's possible this may not work at all for whatever reason. Lastly, if you don't want to use the command prompt, the linked article suggests a GUI that can be used instead.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.