Unexpected Access Denied error while accessing EFS encrypted file

2

I am getting Access Denied error when I try to access some files.

  • ACL is OK, all ACE's all intherited, I have full access to these files and I am the owner of these files. ACE's are exactly same as other files in the same directory which are accessible without problems (doublechecked through Security Tab on file properties and cacls command).

  • Files are EFS encrypted, however I should have access to these files, because they were encrypted by the same user account I am trying to access (decrypt) them. EFS settings are exactly same as other files in the same directory which are also encrypted and accessible without problems (doublechecked through cipher command and efsdump command (SysInternals)).

  • In ProcMon utility (SysInternals) I am getting Access Denied entry while accessing these files.

  • Files are not used (locked), checked by Unlocker utility.

Up to now, I tought I understand NTFS ACL's and EFS mechanisms fairly well, but now I am completely stuck and I do not know how to access these files. Any thoughts?

Martin Pozor

Posted 2010-02-25T10:00:26.600

Reputation: 21

Answers

2

The files you can't access are most likely encrypted with a different certificate than the one which is currently associated with your user account.

Check the signature of each file you can't open using the file properties box. If it is different from your current signature (cipher.exe /Y) then that is why you can't access the files.

Helpful

Posted 2010-02-25T10:00:26.600

Reputation: 21

0

I suspect you tried to decrypt the file, the remote call gained an error while the decryption/encryption read/write was active, and now the file is mysteriously locked forever. Give your system full rights to that file's HDD System Volume Information. The problem should disappear.

adriaan

Posted 2010-02-25T10:00:26.600

Reputation: 1

Here is an (outdated) KB from MS how to do it. – Stoinov – 2014-09-18T10:05:19.400

Welcome to Super User! Could you please expand on your answer? How does one give the system full rights to System Volume Information? – Excellll – 2014-06-04T14:01:03.070