How can I stop program files folder from being created on my external SSD every boot.

Conor 25 Reputation points
2025-07-18T00:36:58.01+00:00

I recently migrated all of my games to a new internal SSD, I did not realise that when I did so for xbox games that it would create extra folders to do with this.

I have uninstalled all of the xbox games, changed all of the relevant installation locations to again the old drive through the xbox app, microsoft store and windows apps.

I have also successfully deleted all of the other folders/files that were made through changing permissions, other than the "Program Files" folder and "ModifiableWindowsApps" sub folder (which all contained nothing).

Any help would be much appreciated, thank you.

Windows for home | Windows 11 | Files, folders, and storage

Answer accepted by question author
Ivan B 124.3K Reputation points Independent Advisor
2025-07-18T11:48:44.66+00:00

Hi ,

I understand I've had a similar problem. You'll need to format the external SSD drive so it's not recognized as a VHD in the Microsoft Store.

Use Diskpart or Disk Manager.

https://support.microsoft.com/en-us/windows/disk-management-in-windows-ad88ba19-f0d3-0809-7889-830f63e94405

Go to Microsoft Store > Settings > Game installation options > enable the option "Ask me for these options every time I install a game."

Remember, if you select the external SSD drive during any installation, it will ask you to create the folder. It will be recognized as a VHD in the Microsoft Store and Xbox. The process is the same.

Give feedback if the information was useful or not.

Thanks

Was this answer helpful?

1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Ivan B 124.3K Reputation points Independent Advisor
    2025-07-20T15:24:54.91+00:00

    Hi ,

    Do the following: open Windows Powershell (admin) and run the command:

    remove-appxvolume -volume d:\

    See if it recognizes and removes the folders.

    Thanks

    Was this answer helpful?

    1 person found this answer helpful.

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.