Enable or Disable NTFS Compression in Windows 10

When it comes to formatting the disk drives that are part of our Windows-based computer, there are several options to use. One of the most common at the moment and for years, is the NTFS file system. Thus, due to its popularity, below we will show you the simplest ways to enable or disable NTFS compression .

First of all, the first thing we must understand is what we are talking about when we refer to this specific file system. That way later we will be able to get the most out of it.

Enable or Disable NTFS Compression in Windows 10

What is the NTFS file system in Windows

As we mentioned, we have several possibilities when assigning a format to our disk drives. But in these lines we will focus on the one known as New Technology File System or NTFS. In particular we refer to a file system developed by Microsoft and that came with Windows NT 3.1. From there it was implemented in later versions of the operating system, thanks to the fact that it exceeded the restrictions of the old FAT32.

formatear NTFS

Therefore, in addition to those restrictions, it is also important to know that Windows 10 supports file and folder compression on NTFS drives . This is something that is achieved through NTFS compression, so later we will show you how to enable or disable this compression of NTFS files in Windows 10.

How to enable or disable NTFS file compression

To say that this is something that we can carry out in different ways so that we can choose the one that interests us the most in each case. Specifically, as we are going to see, we have the ability to enable or disable NTFS file compression in Windows from three. Of course, all of them fast and simple valid for any user, without complications. It is also important to know that compressing the NTFS file system can save disk space, but it can negatively affect the performance of the PC .

Also when we copy or move a compressed file to a different folder, NTFS copies it or moves it to the new location, and compresses it again. This requires a somewhat expensive and complex internal process, which can impact on older equipment. Therefore, depending on the needs of each one, you can choose to activate or deactivate this function, for which we will help you.

Enable NTFS compression from CMD on Windows

One of the methods that we can use in this regard is the command prompt window, or CMD . To begin with, we only have to access the functionality of the command line through the CMD command. We can type this directly in the Windows search box, so we execute it with administrator permissions.

abrir CMD

Therefore, once we have the new window that we comment on the screen, to activate or deactivate the compression of NTFS files, we will do the following. It must be taken into account that when working from this section, the operations are carried out through commands that we have to type. Therefore, in the case that concerns us at the moment, in the command prompt window, we write the following command to enable NTFS compression in Windows:

fsutil behavior set disablecompression 0

In the same way, otherwise, that is, if what we need to deactivate this compression we are talking about, we use the command:

fsutil behavior set disablecompression 1

For everything to take effect, we just have to exit the command prompt window and restart the computer.

Change the NTFS compression status from the registry

On the other hand, if we do not want to use the commands described above, this is a change that we can also make from the Windows registry. So, next we are going to show you how to enable or disable NTFS file compression through the Registry Editor in a few steps. Of course, when making changes in this section, we recommend making a backup copy of it or creating a system restore point. This will serve as a precautionary measure in case something unexpected and problematic happens.

To open the registry editor, we use the Win + R key combination to access the Run dialog box, where we type regedit. Now we are in the registry window, so we are in the following path:

HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Policies

Thus, in the location we are in, we click with the right mouse button in the right panel and select New / DWORD Value (32 bits). In this way what we do is create a new entry called like this:

NtfsDisableCompression

Now we have no choice but to double-click on the new entry to edit its properties and enter the value 1 in the Value information field. This deactivates the functionality, while to activate it, we set the value 0 here. Finally, we exit the Registry Editor and restart the computer.

NTFS registro

Enable compression in group policies

First of all we must know that this last method to activate or deactivate NTFS compression does not work in Windows 10 Home . To use it we need to have the Pro or Enterprise edition of the operating system. This is because we need to access group policies, something that the Home edition does not allow by default.

Well, once we know this, we use Win + R again to open the Run box where we now write the following command:

gpedit.msc

At that moment the group policy editor will open, so we have to go to the next path of it.

Configuración del equipo / Plantillas administrativas / Sistema / Sistema de archivos / NTFS

Therefore, now in the panel on the right we find an entry that says Do not allow compression on all NTFS volumes. We click twice on it to open it and set Not configured or Disabled to allow compression of NTFS files .

directiva grupo ntfs

On the contrary, in order to disable NTFS compression, we click on the Enabled option. Now we have to save the changes and restart the computer for them to take effect.