Vinícius Ferrão Asked: 2019-08-02 21:51:09 +0800 CST2019-08-02 21:51:09 +0800 CST 2019-08-02 21:51:09 +0800 CST How to enable NTFS folder compression on Windows Server Core? 772 I want to enable NTFS compression on a specific folder, in my case: C:\inetpub\logs. This is easily done in Windows Server with Desktop Experience, but in Server Core how this can be achieved? To be precise I just want the equivalent of checking the box "Compress contents to save disk space". windows-server-core 1 Answers Voted Best Answer mebius99 2019-08-02T23:14:03+08:002019-08-02T23:14:03+08:00 There is the compact utility that can change compression attribute from the command line. For example to set compression for the c:\docs directory and all files in it: > compact /c /s:c:\docs * A good description of the compact command is here: Compressing a File or Folder You should be aware of the limitations of NTFS compression before deciding to use it. Please see Understanding NTFS Compression.
There is the compact utility that can change compression attribute from the command line. For example to set compression for the
c:\docs
directory and all files in it:A good description of the
compact
command is here: Compressing a File or FolderYou should be aware of the limitations of NTFS compression before deciding to use it. Please see Understanding NTFS Compression.