I was running EFSINFO on my WinXP SP3 machine today, trying to find any EFS-encrypted files on the system. Imagine my surprise when I discovered my C:\xampp\htdocs\ directory is both NTFS-compressed AND EFS-encrypted! No joke here, I have the screenshot below, the directory view (clearly in "blue" signifying encryption, the GUI checkboxes BOTH checked, and the printout of the EFSINFO command (redirected to a text file).

I rebooted and nothing changed, so I'm terribly confused, I was under the impression that NTFS compression and encryption were mutually exclusive? I even pulled the drive and put it into a different machine to see if it was a Windows error. But no, the second machine gave the same display; its both encrypted and compressed, at the same time.

Now here's my question... What do I do? Despite the "wow didn't know that could happen" factor, this is clearly "wrong" and something needs to be fixed. I don't want to risk damaging something, so I was leery of just unchecking the encryption box without first consulting to see if there are any possible side effects. Has anyone seen/dealt with a similar issue before?

enter image description here


Do you have any junctions pointing to the htdocs directory? Attempting to set attributes on junctions while the directory has different permissions can sometimes lead to weird situations such as the one you describe.

|improve this answer|||||

There's a phrase on this post that's interesting:

NTFS compression and encryption are actually mutually exclusive - you can have either, or neither, or even encryption for some files on a drive and compression for some other files, but you can't have both at once for the same files.

My emphasis.

Have you checked the files in that folder? It could be that there are some files compressed and other files encrypted and the folder properties UI is reacting to that.

|improve this answer|||||
  • No, the folder properties will not just show the folder's properties, it'll show the contents too. – user3463 Mar 27 '11 at 23:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy