Disabling File and Folder Compression

  • Section(s): Misc
  • Published on May 16, 2007.
  • Last Modified on May 16, 2007.
  • Last Modified by Mitch Tulloch.
  • Rated 5 out of 5 based on 1 votes.
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 Mitch Tulloch

Mitch Tulloch is a widely recognized expert on Windows administration, networking, and security. He has been repeatedly awarded Most Valuable Professional (MVP) status by Microsoft for his outstanding contributions in supporting users who deploy and use Microsoft platforms, products and solutions. Mitch has published over two hundred articles on different IT websites and magazines, and he has written or contributed to almost two dozen books and is lead author for the Windows 7 Resource Kit from Microsoft Press. For more information, see www.mtit.com .


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 network administration tool?