Windows – File Access Denied despite being administrator, owning the files, and having full permissions

data-recoveryefswindows 7

I'm trying to copy data from my old laptops hard drive to my new desktop's. But on a certain folder, I can't copy any of the actual files – just the subfolders. I am informed that I require permission from myself, the only user and administrator on the computer, to change the file. I have taken ownership of all of the folders and files on the hard drive, which can be verified by viewing the properties of any of the files. Also, I have full permissions on ALL of the files and folders on the disk. So, why am I getting this error? And how do I fix it?

I have changed the owner and permissions on ALL child objects of the container. Here is a screenshot:

enter image description here

I recognize that the files in question on drive G are encrypted, but I'm not allowed to decrypt them either…

In desperation, I've even tried rebooting after making all the ownership and permissions changes to the WHOLE drive. No luck.

I've searched for hours on Google for a solution, to no avail. These files are essential to completing my work project, so, I must resolve this issue.

UPDATE: Using the command line move/copy tools also returns an "Access Denied" error. takeown /f <folder> /r works just fine though, further proving that I do indeed have full ownership of the files.

Best Answer

The problem is that your user (on the new computer) doesn't have access to the encryption keys (from the old computer) that were used to encrypt the files.

Windows, confusingly, gives an "access denied" error message when trying to read an EFS-encrypted file that you lack the encryption key for (e.g. files that were created on a different computer). This is independent of ownership/permissions.

If you can still boot the old computer, decrypt the files from the OS install that they were encrypted from.

If you can't boot the old computer, see these questions:

Edit: It probably isn't possible to boot the laptop HDD on a different computer (Windows is finicky about hardware). But don't panic; the certificate is in principle what you need to decrypt. The problem is getting the software to use it. Try Microsoft's EFS certificate migration for Windows 7.

Related Question