How to Enable or Disable Compact OS in Windows 10 & 11
Windows 10 and Windows 11 include tools to help you use less drive space, including Compact OS, which allows you to run the operating system from compressed files. When running CompactOS, Windows update can replace or remove individual files as needed to help maintain the drive footprint size over time.
Compact OS only compresses Windows core files and is useful for anyone low on drive space. On average, most users will free up 20% more drive space.
You can find out if you're currently using Compact OS and enable or disable it all from the Command Prompt.