Into Windows

  • Home
  • Windows 11
  • Windows 10
  • Windows 7
  • Privacy
You are here: Home » Windows 10 » How To Compress Windows 10 Installation Files & Folders

How To Compress Windows 10 Installation Files & Folders

Last Updated on September 25, 2020 by admin 1 Comment

If your Windows 10 drive is running low on disk space, there are plenty of ways to free up some valuable space on the drive. The best way is to run a junk cleaning software like CCleaner (if not done already), and uninstall unwanted software. If that’s not possible, extend your system partition size.

If you have tried all other possible options to free up the disk space, you can consider the compress OS feature in Windows 10 to free up a considerable amount of space. It will compress all the files and folders that are part of the operating system. And unlike the NTFS compression (which has been part of all recent versions of Windows), this compress OS feature will not degrade your system performance.

By compressing the operating system, you can free up around 2 GB of free space. The compress OS is instructed first with Windows 10 and is not present in its predecessors.

WARNING: Although the method is safe, we recommend you create an image backup of Windows 10 just in case if something goes wrong.

Method 1 of 2

Compress Windows 10 OS to free up disk space

Step 1: Open Command Prompt as administrator. To do so, type CMD in Start menu search box, right-click on Command Prompt in search results and then click Run as administrator option.

Compress Windows 10 installation files and folders step1

You can also right-click on the Start button and then click Command Prompt (admin) to open elevated Command Prompt.

Click Yes button when you see the User Account Control dialog.

Step 2: Before actually beginning to compress the operating system, it’s a good idea to check the status of the compact state. In the elevated Command Prompt, type the following command and press Enter key to know the status of the compact state.

compact /compactos:query

Compress Windows 10 installation files and folders step2

Compress Windows 10 installation files to save disk space

The message “The system is not in the compact state because Windows has determined that it is not beneficial for this system” indicates that Windows 10 is not compressed using the compact OS feature. The tool is showing “not beneficial for this system” likely because Windows 10 was installed on a large drive.

And if the compact state is enabled, you will get “The system is in the compact state. It will remain in this state unless an administrator changes it” message.

Step 3: To compress your Windows 10 OS, type the following command, and press Enter key.

compact /compactos:always

Compress Windows 10 installation files and folders step3

Compress Windows 10 installation files and folders step4

Depending on the size of the data on drive where Windows 10 is installed and your PC’s hardware configuration, Windows might take up to an hour to complete the job. Once done, check the drive properties to know how much space you gained by compressing Windows 10 OS.

You should be able to free up at least 2 GB of free space by compressing the Windows 10 operating system.

Uncompress Windows 10 install

To turn off compact state feature and uncompress Windows 10, execute the following command.

compact /compactos:never

Compress Windows 10 installation files and folders step5

Method 2 of 2

Compress Windows 10 using the NTFS compression method

As mentioned before, compressing operating system files might degrade Windows 10 performance. If possible, we suggest you avoid compressing Windows 10 install and use other ways out there to free up some space on the system drive.

Please note that this NTFS file compression feature is available only if the drive where Windows 10 is installed is using NTFS instead of other file systems. To check the file system type, right-click on the drive, and then click properties.

NOTE: It’s hard to tell the exact amount of space you will gain by compressing your Windows 10 install files and folders. On our Windows 10 Pro (x64), we managed to free up a little more than 1.5 GB of space. Depending on the total size of the data on the drive, you might be able to free up less or more.

To compress

Step 1: Open up File Explorer, right-click on the drive where Windows 10 is installed (usually “C” drive), and then click Properties option.

Compress Windows 10 installation files and folders step6

Step 2: Under the General tab, check the box labeled Compress this drive to save disk space, and then click Apply button.

Compress Windows 10 installation files and folders step7

Step 3: When you see the following confirmation dialog, make sure that the select option labeled Apply changes to drive, subfolders, and files before clicking the OK button.

Depending on the total size of the data on the drive, Windows 10 might take a couple of minutes to hours to complete the compression.

Compress Windows 10 installation files and folders step8

Once the compression is done, all files and folders on your Windows 10 drive will have blue icons, as shown below. These icons also appear on files and folders on the desktop.

To uncompress Windows 10 install drive

Step 1: Right-click on the drive where Window 10 is installed and then click Properties to open drive’s properties dialog.

Step 2: Under the General tab, deselect the option labeled Compress this drive to save disk space and then click Apply button.

Step 3: When you see the following confirmation dialog, click the OK button.

Filed Under: Windows 10 Tagged: Command Prompt

Related Posts

  • Delete Temporary Windows Installation Files In Windows 10
  • Hide Files And Folders Via Command Prompt In Windows 10
  • Automatically Delete Previous Windows Installation Files In Windows 10
  • How To Compress Folders In Windows 10
  • Take Ownership Of Files And Folders In Windows 8.1
  • How To Hide Files/Folders On Windows 10 Desktop

Comments

  1. robbert says

    September 15, 2023 at 5:00 pm

    Unless you got something like a 32 core cpu and are running windows from an old sd card DOT NOT COMPRESS THE C: DRIVE
    The savings in storage space is not worth ruining your complete system response.

Leave a Reply

Your email address will not be published. Required fields are marked *

Advertisements

Search Into Windows

Recent posts

  • 5 Ways To Go To Desktop In Windows 11
  • How To Show Battery Percentage On Taskbar In Windows 11
  • Fix: AMD Software Adrenalin Edition Not Opening In Windows 11
  • How To Show Year On Windows 11 Taskbar
  • Windows 11 24H2 Is Available Now
  • How To Create 7z & TAR Files In Windows 11 Without Using Additional Apps
  • How To Remove Bell Icon From Taskbar In Windows 11
  • How To Reinstall Windows 11 Without Losing Apps And Files
  • How To Hide/Show Files & Icons On Desktop In Windows 10/11
  • How To Show Hidden Icons On Taskbar In Windows 11

About us

  • About Us
  • Contact Us
  • Privacy Policy

Copyright © 2025 · Into Windows