Enable or disable NTFS compression in Windows 10
Windows uses the NTFS file system, and NTFS has a built-in compression feature that allows you to compress individual files and folders. The option in a drive’s properties window–open File Explorer or Windows Explorer, right-click a drive, and select “Properties” to find it–allows you to apply NTFS compression to all the files on a. Windows 10, 8, 7, and Vista Command. 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. Disable NTFS File Compression: This tweak fits for Windows 10: Tweak description NTFS File Compression allows you to compress your data on NTFS volumes to reduce the file size, but it also adds some processor overhead to your machine and can affect the performance of some applications, particularly SQL Server. Memory compression is a new feature in Windows 10, and is not available on Windows 7 and 8. However, both Linux and Apple’s macOS also use memory compression. RELATED: What Is the Windows Page File, and Should You Disable It?
4/1/2015
By default Windows 10 is configured to compress system files that are stored on NTFS volumes and that were not used in a long time. This is implemented to free up an additional disk space while retaining the ability to access the files. However, your computer may work slower while the compression is running, because it is a resource-intensive process.
If you don't want to allow Windows 10 to create a compressed files on all the NTFS volumes, you can disable NTFS compression using Group Policy Editor or command-line tool, or Registry Editor.
Log on to Windows 10 as an administrator to manage the NTFS compression settings.
Important: value that is set in Local Group Policy Editor has the highest priority. If Group Policy Editor is included into your edition of Windows 10, make sure the corresponding option in it is set to Not Configured before you start changing NTFS compression settings in any other way.
Using Local Group Policy Editor
1. Open Local Group Policy Editor.
2. Navigate to Computer Configuration > Administrative Templates > System > Filesystem > NTFS.
3. Double-click Do not allow compression on all NTFS volumes.
To disable NTFS compression select Enabled.
To enable NTFS compression select Disabled.
To restore the default value select Not Configured (the compression will be enabled if it is not disabled by other methods).
4. Click OK and close Group Policy Editor.
5. Restart the computer.
Using FSUtil.exe (command-line tool)
1. Run the Command Promptas administrator.
2. To disable NTFS compression type this command:
fsutil behavior set DisableCompression 1
Sonix web cam drivers for mac.To enable NTFS compression type anoher command:
fsutil behavior set DisableCompression 0
Turn Off Compression Windows 10
3. Press ENTER.
4. Close the Command Prompt.
5. Restart the computer.
Using Windows 10 Registry Editor
1. Open Registry Editor.
2. Navigate to the following key:
Windows 10 Disable Drive Compression
HKLMSYSTEMCurrentControlSetControlFileSystem
3. Create a DWORD (32-bit) value and give it the following name:
NtfsDisableCompression
If this value is already created, go to the fourth step.
4. Double-click the value and type into the Value data field
0
to enable NTFS compression or 1
to disable it.5. Click OK and close Registry Editor.
6. Restart the computer.
More about Disk Management:
Ads
Windows 10 supports two very different kinds of file compression. The distinction is confusing but important. Understanding how Windows 10 compresses files and folders will help you understand if you need NTFS.
File compression reduces the size of a file by cleverly taking out parts of the contents of the file that aren’t needed, storing only the minimum amount of information necessary to reconstitute the file — extract it — into its full original form. A certain amount of overhead is involved because the Windows 10 computer must take the time to squeeze extraneous information out of a file before storing it, and then the computer takes more time to restore the file to its original state when someone needs the file. But compression can reduce file sizes enormously. A compressed file often takes up half its original space — even less, in many cases.
How does compression work? That depends on the compression method you use. In one kind of compression, known as Huffman encoding, letters that occur frequently in a file (say, the letter e in a word-processing document) are massaged so that they take up only a little bit of room in the file, whereas letters that occur less frequently (say, x) are allowed to occupy lots of space. Rather than allocate eight 1s and 0s for every letter in a document, for example, some letters may take up only two 1s and 0s, and others can take up 15. The net result, overall, is a big reduction in file size. It’s complicated, and the mathematics involved get quite interesting.
Following are the two Windows 10 file compression techniques:
- Files can be compressed and placed in a compressed (zipped) folder. The icon for a zipped folder, appropriately, has a zipper on it.
- Folders or even entire drives can be compressed by using the built-in compression capabilities of the Windows file system (NTFS).
Here’s where things get complicated.
NT file system (NTFS) compression is built in to the file system: You can use it only on NTFS drives, and the compression doesn’t persist when you move (or copy) the file off the drive. Think of NTFS compression as a capability inherent to the hard drive itself. That isn’t really the case — Windows does all the sleight-of-hand behind the scenes — but the concept can help you remember the limitations and quirks of NTFS compression.
Although Microsoft would have you believe that compressed (zipped) folder compression is based on folders, it isn’t. A compressed (zipped) folder is really a file — not a folder — but it’s a special kind of file, called a zip file. If you ever encountered zip files on the Internet (they have a .zip filename extension and are read and created directly in Windows File Explorer), you know exactly what this means.
Zip files contain one or more compressed files, and they use the most common kind of compression found on the Internet. Think of compressed (zipped) folders as being zip files, and if you have even a nodding acquaintance with zips, you’ll immediately understand the limitations and quirks of compressed (zipped) folders. Microsoft calls them folders because that’s supposed to be easier for users to understand. You be the judge.
If you have Windows 10 show you filename extensions, you see immediately that compressed (zipped) folders are, in fact, simple zip files.
Zipping is very common, particularly because it reduces the amount of data that needs to be transported from here to there. NTFS compression isn’t nearly as common. It’s more difficult, and hard drives have become so cheap there’s rarely any need for most people to use it.
The table below shows a quick comparison of NTFS compression and zip compression.
NTFS | Zip |
Think of NTFS compression as a feature of the hard drive itself. | Zip technology works on any file, regardless of where it is stored. |
The minute you move an NTFS-compressed file off an NTFS drive (by, say, sending a file as an email attachment), the file is uncompressed, automatically, and you can’t do anything about it: You’ll send a big, uncompressed file. | You can move a compressed (zipped) folder (it’s a zip file, with a .zip filename extension) anywhere, and it stays compressed. If you send a zip file as an email attachment, it goes over the Internet as a compressed file. The person who receives the file can view it directly in Windows or use a product such as WinZip to see it. |
Lots of overhead is associated with NTFS compression. Windows must compress and decompress those files on the fly, and that sucks up processing power. | Very little overhead is associated with zip files. Many programs (for example, antivirus programs) read zip files directly. |
NTFS compression is helpful if you’re running out of room on an NTFS-formatted drive. | Compressed (zipped) folders (that is to say, zip files) are in a near-universal form that can be used just about anywhere. |
You must be using an administrator account to use NTFS compression. | You can create, copy, or move zip files just like any other files, with the same security restrictions. |
You can use NTFS compression on entire drives, folders, or single files. They cannot be password protected. | You can zip files, folders, or (rarely) drives, and they can be password protected. |
If you try to compress the drive that contains Windows 10 itself (normally your C: drive), you can’t compress the files that are in use by Windows.
Compressing in Windows 10 with NTFS
To use NTFS compression on an entire drive, follow these steps:
- Make sure you’re using an administrator account.
- Bring up the Windows 10 File Explorer by clicking the File Explorer icon. On the left, choose This PC.
- On the left, tap and hold down (or right-click) the drive you want to compress. Choose Properties, and click the General tab.
- Select the Compress This Drive to Save Disk Space check box. Then click OK.Windows asks you to confirm that you want to compress the entire drive. Windows 10 takes some time to compress the drive; in some cases, the estimated time is measured in days. Good luck.
To use NTFS compression on a folder, follow these steps:
- Make sure you’re using an administrator account.
- Bring up the Windows 10 File Explorer by clicking the File Explorer icon. On the left, choose This PC.
- On the left, tap and hold down (or right-click) the folder you want to compress. Choose Properties, and click the Advanced button.
- Select the Compress Contents to Save Disk Space check box. Then click OK.Windows 10 asks you to confirm that you want to compress the folder. Unless the folder is enormous, it should compress in a few minutes.
To uncompress a folder, reopen the Advanced Properties dialog box (right-click the file or folder, choose Properties, and click the Advanced button) and deselect the Compress Contents to Save Disk Space check box.