4 Easy Ways to Enable NTFS File Compression on Windows

Are you running out of storage space on your Windows computer? There are many ways to free up some extra space, and one of the ways is by enabling NTFS file compression. This feature allows you to compress individual files or folders to save space on your hard drive. In this article, we’ll guide you on how to enable NTFS file compression on Windows.

Enable NTFS File Compression on Windows

Before we move to the methods, it is important to understand NTFS file compression. In simple terms, it is a feature in the Microsoft Windows NTFS file system that allows you to compress individual files or folders to save space on your hard drive. When you compress a file or folder, the data is still there, but it is stored more efficiently. With that out of the way, let’s begin with the methods.

1. Enable NTFS File and Folder Compression Using File Explorer

This is one of the most common and easiest ways to turn on file or folder compression on Windows. The steps are pretty straightforward. Follow the steps below.

Note: We will be compressing a folder. If you want to compress a file, the steps are pretty much the same.

Step 1: Press the Windows key on your keyboard, type File Explorer, and click Open.

type File Explorer

Step 2: Navigate to the folder you want to compress.

Navigate to the folder you want to compress

Step 3: Right-click on the folder and choose Properties from the context menu.

choose Properties

Step 4: In properties, under the General tab, click on the Advanced button.

click on the Advanced button

Step 5: In Advanced Attributes, under ‘Compress or Encrypt attributes,’ check the ‘Compress contents to save disk space’ option, and click OK.

check the ‘Compress contents to save disk space'

Step 6: On the Folder properties window, click Apply.

click Apply

Step 7: In the Confirm Attribute Changes, check ‘Apply changes to this folder, subfolders and files,’ and click OK.

check ‘Apply changes to this folder, subfolders and files

That’s it. You have successfully enabled NTFS file compression on your Windows machine. If you find the steps to be too long, jump to the next method.

2. Turn on NTFS Compression Using Command Prompt

This is the shortest way to enable file compression on Windows. The steps are fairly simple to follow and execute.

Step 1: Press the Windows key on your keyboard, type Command Prompt, and click on ‘Run as administrator.’

type Command Prompt

Step 2: Type the below command to enable file compression.

fsutil behavior set enablecompression 0

Type the below command to enable file compression

Step 3: Finally, restart your computer.

restart your computer

There you go. You have enabled file compression on your Windows PC. If you don’t want to execute it through the Command Prompt, there’s another way. Move to the next method.

3. Set Up NTFS File Compression Using Registry Editor

This step isn’t as straightforward as the above method. However, because we will be using Registry Editor, we strongly advise you to back up the Windows Registry before proceeding with the steps below.

Step 1: Press the Windows key on your keyboard, type Registry Editor, and click ‘Run as administrator.’ 

Note: You can also press ‘Windows key + R’ to open the Run command box, type regedit.exe, and click OK to open Registry Editor.

type Registry Editor

In the prompt, select Yes. 

Step 2: In the top address bar, enter the mentioned address.

HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/Policies

Note: You can manually navigate to the section too.

enter the mentioned address

Step 3: Under the Policies folder, right-click, select New, and choose ‘DWORD (32-bit) Value.’

select New, and choose ‘DWORD (32-bit) Value'

Step 4: Type NtfsenableCompression in the name field.

Type NtfsenableCompression

Step 5: Double-click the new value, type 1 in the Value Data field, and press OK.

type 1 in the Value Data field

Finally, reboot the system to implement the changes. And that’s it! When the system boots back, the NTFS file compression will be enabled. If you don’t want to allow file compression from the registry, you can go with the Group Policy editor.

4. Enable NTFS File Compression Using Local Group Policy Editor

The Local Group Policy Editor helps you control Windows overall. Meaning, it also lets you enable NTFS file compression on your Windows. Here’s how to go about it.

Note: Group Policy Editor is only available for Windows Pro and Enterprise versions. You can skip this method if you are on Windows Home Edition. 

Step 1: Press the Windows keys on your keyboard, type gpedit, and click Open. 

Note: You can also press ‘Windows key + R’ to open the Run command box, type gpedit.msc, and click OK.

type gpedit

Step 2: In the left pane, under ‘Local Computer Policy,’ select Computer Configuration.

select Computer Configuration

Step 3: In the right pane, double-click on Administrative Templates. 

double-click on Administrative Templates

Step 4: Select the System folder. 

Select the System folder

Step 5: Click on Filesystem from the left pane. Now, Select NTFS.

Click on Filesystem from the left pane

Step 6: In the NTFS folder, go to ‘Do not allow compression on all NTFS volumes,’ and double-click on it.

go to ‘Do not allow compression on all NTFS volumes,

Step 7: In the appearing window, select the Disabled option. Finally, click on Apply and then OK.

select the Disabled option

There you go. Now, all you need to do is reboot Windows. When it boots back up, Windows will have enabled file compression.

FAQs on Enabling NTFS Compression on Windows

1. Should I enable NTFS compression?

NTFS compression can be a useful tool in certain situations, but it may not always be necessary. There are a few things to consider when enabling NTFS compression. These include the type of files you wish to compress, the amount you need to free up, and so on.

2. How much space does NTFS compression save?

The amount of space that NTFS compression can save depends on the type and size of the files being compressed. Some file types, such as text files, can be significantly compressed, resulting in significant space savings. Other file types, such as images and videos, may not benefit much from further compression as they are already highly compressed.

3. What compression method does Windows use?

Windows uses the LZNT1 (Lempel-Ziv-Newman-Tarjan) compression algorithm to compress files and folders using NTFS compression.

Save Up Storage Space

Now that you know how to enable file compression, you can save disk space and improve the performance of your system by compressing large files and folders. You can also check how to delete temporary files on Windows 11 to free up some space.

Last updated on 16 January, 2023

The above article may contain affiliate links which help support Guiding Tech. However, it does not affect our editorial integrity. The content remains unbiased and authentic.