Freaky / Compactor

A user interface for Windows 10 filesystem compression
MIT License
1.18k stars 49 forks source link

Unable to compact Microsoft (Xbox) games #14

Closed MrCosta7 closed 3 years ago

MrCosta7 commented 4 years ago

Whenever I try to compact an Xbox game on PC (Forza Horizon 4 for example) it says Access Denied: OS error 5. Any way to solve this? I have full admin control on my user and I've tried launching the .exe as admin.

Freaky commented 4 years ago

Microsoft Store apps are protected by NTFS ACLs, even from Administrator accounts - you'll need to jump through hoops to allow yourself access, or maybe arrange for Compactor to be ran as TrustedInstaller - though my attempts at this haven't got very far.

Freaky commented 3 years ago

I'm going to close this, since I believe the issue is intractable.

Microsoft Store apps are actually stored in archives, and their contents exposed to the filesystem via reparse points and a filter driver - exactly the same mechanism used by Compactor, just with storage backed by the archives instead of compressed alternate streams.

With this in mind it makes sense you can't stack individual file compression on top the files themselves - since they're not actually real files - and the archives themselves also don't appear compressible for.. whatever reason. I would hope they're already compressed.