Free Performance Scan
 

Disable Windows XP Compression

January 22, 2008 · by Anthony

Both Windows XP and Windows Vista support data compression to increase the amount of data that can be stored on a disk. The physical disk size is unaltered of course, but like a ZIP file, the compression allows for reduced file sizes and hence lower storage requirements. The difference with ZIP is however, that the Windows compression works like a device driver. Once enabled for a disk, the disk drive is used like it used to be. The difference is that the compression driver compresses all data on the fly before storing it on disk.

Very nice if you want to maximize the space on your disk, but a drawback is that all disk storage operations take more time. With a very fast CPU in your system, this might not be a problem, but if you want to maximize your PC performance you do not use disk compression.

To turn off Windows compression on a disk, right-click the drive and select Properties in the popup menu. In the disk properties dialog, uncheck the Compress drive to save space checkbox and click OK.

Disable Windows Disk Compression

Taking it a step further is to completely disable the compression function in Windows XP and Vista. A registry tweak can be used to turn the compression off:

  1. Start the Registry Editor.From the Windows Start menu, select Run. In the Run box, type regedit and click OK.
  2. In the Registry Editor, locate the following key:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\
    FileSystem
  3. With the key selected, open the Edit menu, click New and then select DWORD Value.
  4. In the name field for the new value, type NtfsDisableCompression.
  5. Now right-click this new entry and select Modify in the popup menu.
  6. Enter the value 1 and click OK.
  7. Close the Registry Editor. Select Exit from the File menu.

Keep in mind that you need to make sure none of the data on your system is compressed before disabling the feature, otherwise the data can not be accessed anymore. Disabling the compression feature of Windows XP or Windows Vista should help you to speed up your PC and improve PC stability.

Note: This setting only works for NTFS filing systems, not for FAT or FAT32 filing systems.

For Windows XP there is a method to prevent users from compressing volumes. In Windows XP the complete disabling of the compression does not always work. Controlling the user’s access can help if you really need to prevent all compression.

If you do not want to use compression on your hard disks at all, you probably also want to disable the Windows compress old files function in the Disk Cleanup module.

Comments

2 Responses to “Disable Windows XP Compression”

  1. Gene Washington on October 5th, 2008 2:41 pm

    Is it possible that there are errors in these instructions? I am very interested in finding a way to completely disable both the compression option and the encryption option in XP. But I have tried these instructions carefully to no avail. The checkbox option for compressing files [right-click, properties, General tab, Advanced, "Compress Files to save disk space"] still exists and still functions after applying these steps. Even after restart.

    Thanks for the help if possible!

    GW

  2. Anthony on October 6th, 2008 11:26 am

    @Gene - The instructions are correct, but I have seen mixed feedback regarding the success in Windows XP. In some cases disabling the compression works and in some cases is does not. I have updated the article with a link to a method from Microsoft to prevent users from compressing volumes, as well as the link to the disabling of the compress old files function in disk cleanup.

    Anthony

Leave a Reply