Windows 10: Enable or Disable NTFS File Compression in Windows  

    Enable or Disable NTFS File Compression in Windows

    Enable or Disable NTFS File Compression in Windows

    How to Enable or Disable NTFS File Compression in Windows
    Published by Category: General Tips
    12 Nov 2017
    Designer Media Ltd

    Published by


    Brink's Avatar
    Administrator

    Posts: 28,558

    Show Printable Version 


    How to Enable or Disable NTFS File Compression in Windows

    information   Information
    Windows supports compression for individual files and folders on NTFS volumes using NTFS compression.

    While NTFS file system compression can save disk space, compressing data can adversely affect performance. NTFS compression has the following performance characteristics. When you copy or move a compressed NTFS file to a different folder, NTFS decompresses the file, copies or moves the file to the new location, and then recompresses the file. This behavior occurs even when the file is copied or moved between folders on the same computer. Compressed files are also expanded before copying over the network, so NTFS compression does not save network bandwidth.

    Files or folders saved into an existing compressed folder will automatically be compressed.

    This tutorial will show you how to enable or disable NTFS file compression for all users in Windows 7, Windows 8, and Windows 10.

    You must be signed in as an administrator to enable or disable NTFS file compression.
    Note   Note
    If you disable NTFS file compression, any currently compressed files will still remain compressed. You will also still be able to uncompress any currently compressed files, but you will not be able to compress them again until NTFS compression is enabled.

    CONTENTS:
    • Option One: Enable or Disable NTFS File Compression in Local Group Policy Editor
    • Option Two: Enable or Disable NTFS File Compression using a REG file


    EXAMPLE: NTFS file compression disabled
    Name:  NTFS_compression_disabled.png
Views: 809
Size:  10.9 KB






    Enable or Disable NTFS File Compression in Windows OPTION ONE Enable or Disable NTFS File Compression in Windows
    Enable or Disable NTFS File Compression in Local Group Policy Editor

    Note   Note
    Local Group Policy Editor is only available in the Windows 7/8/10 Pro, Windows 7/8/10 Enterprise, and Windows 10 Education editions.

    All editions can use Option Two below.


    1. Open the Local Group Policy Editor.

    2. In the left pane of Local Group Policy Editor, navigate to the location below. (see screenshot below)

    Computer Configuration\Administrative Templates\System\Filesystem\NTFS

    Name:  NTFS_compression_gpedit-1.jpg
Views: 802
Size:  56.4 KB

    3. In the right pane of NTFS in Local Group Policy Editor, double click/tap on the Do not allow compression on all NTFS volumes policy to edit it. (see screenshot above)

    4. Do step 5 (enable) or step 6 (disable) below for what you would like to do.


     5. To Enable NTFS File Compression

    A) Select (dot) Not Configured or Disabled, click/tap on OK, and go to step 7 below. (see screenshot below)

    NOTE: Not Configured is the default setting.


     6. To Disable NTFS File Compression

    A) Select (dot) Enabled, click/tap on OK, and go to step 7 below. (see screenshot below)

    Name:  NTFS_compression_gpedit-2.png
Views: 854
Size:  31.2 KB

    7. When finished, close the Local Group Policy Editor.

    8. Restart the computer to apply.






    Enable or Disable NTFS File Compression in Windows OPTION TWO Enable or Disable NTFS File Compression in Windows
    Enable or Disable NTFS File Compression using a REG file

    Note   Note
    The .reg files below will add and modify the DWORD value in the registry key below.

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Policies

    NtfsDisableCompression DWORD

    (delete) = Enable
    1 = Disable

    1. Do step 2 (enable) or step 3 (disable) below for what you would like to do.


     2. To Enable NTFS File Compression

    NOTE: This is the default setting.

    A) Click/tap on the Download button below to download the file below, and go to step 4 below.

    Enable_NTFS_file_compression.reg

    download


     3. To Disable NTFS File Compression

    A) Click/tap on the Download button below to download the file below, and go to step 4 below.

    Disable_NTFS_file_compression.reg

    download

    4. Save the .reg file to your desktop.

    5. Double click/tap on the downloaded .reg file to merge it.

    6. When prompted, click/tap on Run, Yes (UAC), Yes, and OK to approve the merge.

    7. Restart the computer to apply.

    8. You can now delete the downloaded .reg file if you like.


    That's it,
    Shawn



  1. Posts : 6
    Windows 10 Pro 64 Bit Build 1709
       13 Nov 2017 #1

    Hi Brink ,if I disable NTFS File Compression first,does Compact OS disabled too?
      My ComputerSystem Spec


  2. Posts : 28,558
    64-bit Windows 10 Pro build 17650
    Thread Starter
       13 Nov 2017 #2

    Hello Arief,

    It will have no affect on Compact OS.

    Compress or Uncompress Windows 10 with Compact OS General Tips Tutorials
      My ComputersSystem Spec


  3. Posts : 6
    Windows 10 Pro 64 Bit Build 1709
       13 Nov 2017 #3

    Thanks Brink .
      My ComputerSystem Spec


  4. Posts : 28,558
    64-bit Windows 10 Pro build 17650
    Thread Starter
       13 Nov 2017 #4

    You're most welcome.
      My ComputersSystem Spec


  5. Posts : 161
    Windows 10 Enterprise x64 1709
       26 Nov 2017 #5

    Better choice is:
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem]
    What would be the difference?
      My ComputerSystem Spec


  6. Posts : 28,558
    64-bit Windows 10 Pro build 17650
    Thread Starter
       26 Nov 2017 #6

    The method in the tutorial is to set this via policy instead.
      My ComputersSystem Spec


  7. Posts : 3,151
    10.5 Home 1803 x64
       01 Dec 2017 #7

    Command:
    Code:
    fsutil behavior set disablecompression 1
    In case someone disables it, he might also want to decompress the disk:
    Code:
    compact /CompactOs:never
    Compress or Uncompress Files and Folders in Windows 10 Customization Tutorials
      My ComputerSystem Spec


 

Tutorial Categories

Enable or Disable NTFS File Compression in Windows Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Xbox Windows Phone


Related Threads
Good day. I know storage space is dirty cheap these days but I am wondering if there is any weird scenario for NTFS compression to be used. For instance, for those very slow hard disks , where throughput is very bad. I am thinking about some...
How to Enable or Disable Numerical Sorting in File Explorer in Windows 10 Numerical sorting in File Explorer is enabled by default in Windows 10. When numerical sorting is enabled, File Explorer will sort file names by increasing number value...
How to Enable or Disable Thumbnail Previews in File Explorer in Windows 10 File Explorer can display thumbnail images or icons for files and folders in Windows 10. This tutorial will show you how to enable or disable thumbnail previews in...
How to Enable or Disable Search History in Windows 10 File Explorer By default, the search box in File Explorer will show a list of suggestions as you type in the search box. These suggestions are the history of your past typed searches into the...
Backup & Restore Enable or Disable File History in Windows 10 in Tutorials
File History was first introduced in Windows 8, and has been improved in Windows 10. You can use File History to automatically back up versions of your files on a schedule to a location you select to save to. You can select to save backups to an...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 08:39.
Find Us