Question Cannot decrypt files Win10 - access denied / specified file cannot be decrypted

erasedhammer

Distinguished
Jun 13, 2014
46
1
18,535
I have some files on another hard drive that are encrypted. I am the owner and have full permissions on the drive, the folders, and each file.
If I try and open them, it says access denied. If I try and decrypt them I get "The specified file could not be decrypted"

I cannot copy any file over to my local drive. It gives me an error saying I need permission from myself to copy it.

These files are not sensitive, I was just trying out encryption and now I need to use this hard drive for something else, but I cant get these files off.
 
And you haven't made any changes to Windows or Users since then? And you're logged into the same account you used to encrypt them?

Could try decrypting via command line. https://winaero.com/blog/encrypt-files-folders-efs-windows-10/
It looks like "/e" is to encrypt, so I would guess changing that to "/d" would decrypt. Could try it launching command prompt as your normal user, and then as admin if that doesn't work.
 
Could try using the "runas" command to explicitly run the command as the user that originally encrypted the files.
https://www.windows-commandline.com/windows-runas-command-prompt/

In the example shown, replace "program" with the command you are trying to run, e.g. "cipher /d [blah blah]"
You should be able to omit "domainname\" from the command, but if not use your computer's name as the domain name (can find computer name in control panel->system).
 
Just decrypted other files that I recently encrypted and they decrypt just fine.
So looks like its an old version of my account that encrypted the files and even though they are the same name, I guess the different SID makes it impossible for me to get them
 
C:\>cipher /C Z:\wireharnessa2.JPG

Listing Z:\
New files added to this directory will not be encrypted.

E wireharnessa2.JPG
Compatibility Level:
Windows XP/Server 2003

Users who can decrypt:
HOSTNAME\username [username(UserName@USERNAME)]
Certificate thumbprint: ****
No recovery certificate found.

Key information cannot be retrieved.

The specified file could not be decrypted.


That looks like its looking for an account by the same name as mine but different.....
 
just compared the cert thumbprint to a file I recently encrypted and they do not match.

I do not have the cert needed to decrypt my files...

Unless you have a magical work around, I'll be formatting this drive and wiping the files.