Disabling File and Folder Compression

  • Section(s): Misc
  • Published on May 16, 2007.
  • Last Modified on May 16, 2007.
  • Last Modified by MitchTulloch.
  • Rating: Not Rated
How to disable file/folder compression on Windows Vista.
File and folder compression allows you to store more data on NTFS volumes, but it also adds some processor overhead to your machine. That’s because Windows has to decompress the compressed files and folders when you open them, and recompress them when you close them.

On Windows Vista and later, you can prevent users from compressing their files in a couple of ways. First, by running the command fsutil behavior set disablecompression 1 you can disable compression on all NTFS volumes on your machine, so by deploying this command using a logon script you can disable compression on targeted users’ computers.

And second, since all the above fsutil command does is to modify NtfsDisableCompression, a REG_DWORD value found under HKLM\SYSTEM\CurrentControlSet\Control\FileSystem, this means that you could also create a custom ADMX file to deploy this registry modification using Group Policy. For more information on how to create a custom ADMX file, see KB 918239

Note that if either method is used, the registry modification doesn’t take effect until after a reboot. In addition, any previously compressed files and folders remain compressed on the machine.

***

Mitch Tulloch was lead author for the Windows Vista Resource Kit from Microsoft Press, which is THE book for IT pros who want to deploy, maintain and support Windows Vista in mid- and large-sized network environments. For more information see www.mtit.com.

About MitchTulloch

Mitch Tulloch was lead author for the Windows Vista Resource Kit from Microsoft Press, which is the book for IT pros who want to deploy, maintain and support Windows Vista in mid- and large-sized network environments. Mitch was also the author of Introducing Windows Server 2008 and technical project lead for the Microsoft Office Communications Server 2007 Resource Kit, both books also from Microsoft Press. For more information on these and other books by Mitch, see http://www.mtit.com .

Share this article


Article not looking right or info is missing? Let us know so that we can fix it: .


Receive all the latest articles by email!

Receive Real-Time & Monthly WindowsNetworking.com article updates in your mailbox. Enter your email below!
Click for Real-Time sample & Monthly sample

Become a WindowsNetworking.com member!

Discuss your network issues with thousands of other network administrators. Click here to join!

Community Area

Log in | Register

Readers' Choice

Which is your preferred Firewall & VPN hardware solution?