We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now


EFS Recovery

Medium Priority
Last Modified: 2008-02-01

I've encypted some files under Windows XP about a while ago, and I very recently FORMATTED my drive (after backing up the data, and dumbly enough, I didn't backup the encryption key for the files) and installed Windows Vista RC2.

I've tried about 4 solutions found here on experts-exchange, I'm losing hope that software might help decrypt them if I had my old username/password, so it looks to me like I'm gonna have to brute-force it.

I've also read somewhere that having the SID too might do great help in recovering the data.

If there's no easier way, I'd like to brute-force it with rainbow tables, even if it takes too long, I've got time. Only problem is, I'm not at all familiar with that procedure.

NOTE: I've also read that copying the encrypted files on a FAT32 drive will recover them. Except, I've tried that, and it said that I needed permission from "S-1-5-21-1078081533-117609710-725345543-1003", which supposedly is my old SID. Here's a screenshot: http://www.myroomstore.com/denied.jpg

So here's all I have that might help my case: username, password, and SID.
Watch Question

Top Expert 2009

If you didn't designate a Recovery Agent or export your certificate and private key, according to Microsoft you cannot restore the encrypted file:

HOW TO: Remove File Encryption in Windows XP

However, I've seen Previously Answered Questions on this site that say this program (which is, unfortunately, not free) will work:



I've heard that you are able to brute-force the whole process, try every possible password, and as long as its less than 32-characters long, it will eventually get the right encryption key. (using software for that, of course)


Plus, I like to think what Microsoft says is usually bs. :)
Top Expert 2009

That is probably what the program does.  But here is another page I found on EFS recovery:


contains this interesting quotation:

EFS protects data stored on a local NTFS partition. It does not protect data when it is sent across a network. This is a big issue. Because EFS was designed to be transparent to end users, when the user who encrypted the file copies it across the network or sends it via e-mail, the file is automatically decrypted before it is sent across the network so that it can be readable on the target system. For a user who does not understand this, and believes that his or her sensitive data is secure, the mistake can be costly.


I forgot to add that I tried that program, and it didn't give me any results. I tried adding my username and password, the admin password, etc.. but nothing (I'm guess due to the fact that I formatted my primary drive that had the OS).

And about that part in the article, that's not possible for me since it gives me an "Access denied" message whenever I try to copy the files, even to the same drive.

I've also tried doing it in MS-DOS before loading Windows, and I couldn't copy any files.
Top Expert 2009
Have you tried taking ownership to see if the "access denied" message can be eliminated?  Go to Documents and Settings on the old drive
Right Click the user folder and select Properties
Go to the Security Tab
Select Advanced
Go to the Owner tab
Select "take ownership"
Once ownership is taken, you can give yourself permissions.

Note: this only works if you are an administrator on the machine.

More info: see these MSKB articles:

HOW TO: Take Ownership of a File or Folder in Windows XP

HOW TO: Set, View, Change, or Remove File and Folder Permissions in Windows XP

If you don't see the Security tab, you will have to first disable Simple File Sharing in Windows XP Pro by clicking the Tools menu in Windows Explorer, selecting Folder Options, then the View tab, and then removing the check mark next to Use Simple File Sharing.  If you are using XP Home, then you will need to boot into Safe mode and login as Administrator to access the Security tab.

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts


For your first comment, I changed the ownership to "v\Wilimar Lynwood" which is the account I'm currently on, but still, when I try to copy a file to the other drive, it gives me an error message saying "You require permission from v\Wilimar Lynwood to make changes to this file" (even though I'm not making any changes, and oddly enough, I am "Wilimar Lynwood" on "v" (computer name is v)


I guess there's no solution to this. I've decided to just suck it up and delete my encrpted files =).

But, thanks alot for your input anyway, the points are yours.
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.