How to Disable Windows File Compression
This tutorial shows you how to disable the File Compression feature in Microsoft Windows.
- Select the “Start” button, then type “CMD“.
- Right-click “Command Prompt“, then choose “Run as administrator“.
- If prompted for a password, enter credentials for an account that has administrator rights.
- Type the following then press “Enter“.
fsutil behavior set disablecompression 1
You should receive a message that says “NOTE: Changes to this setting require a reboot to take effect.” Restart the computer to make the change stick.
How to Disable Windows File Compression
- Select the “Start” button, then type “CMD“.
- Right-click “Command Prompt“, then choose “Run as administrator“.
- If prompted for a password, enter credentials for an account that has administrator rights.
- Type the following then press “Enter“.
fsutil behavior set disablecompression 1
You should receive a message that says “NOTE: Changes to this setting require a reboot to take effect.” Restart the computer to make the change stick.
If you wish to enable it again, you can use the command fsutil behavior set disablecompression 0
Windows Group Policy
- From the Group Policy Editor, navigate to “Computer Configuration” > “Administrative Templates” > “System” > “Filesystem” > “NTFS“.
- Open the “Do not allow compression on all NTFS volumes“.
- Select the “Enabled” radio button, then select “OK“.
Windows 2000 and XP NTFS Volumes
- Hold down the “Windows key” , then press “R“.
- Type “regedit” and select “OK“.
- Navigate to the following:
- HKEY_LOCAL_MACHINE
- SYSTEM
- CurrentControlSet
- Control
- FileSystem.
- Look for an entry on the right side for “NtfsDisableCompression“. If it doesn’t exist, you will need to create it. To do so, right-click on “FileSystem“, then select “New” > “DWORD Value“. Give the value a name of “NtfsDisableCompression“. Press the “Enter” key when you are done.
- Right-click the “NtfsDisableCompression” entry and click “Modify“.
- To disable compression set the “Value data” to “1“. (To enable compression again, set the Value data to 0 or delete NftsDisableCompression)
- Restart the computer to apply changes.
Now when trying to compress a folder, the following error will be produced:
An error occurred applying attributes to the file:
{file path and filename}
Access is denied.
Thanks for Reading...
Masud Rana
No comments:
Post a Comment