• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1363
  • Last Modified:

cannot access encrypted files after installing a new hard drive

I installed a new hard drive.  I copied the files from the old hard drive to the new hard drive by setting the old drive as a slave and moving the files in explorer.  I had encrypted a folder in the old drive.  I didn't think about it and now cannot access the encrypted folder on the new drive.  I formatted the old drive using windows xp disk management.
  • 4
  • 2
2 Solutions
This is downt to EFS on Windows XP, The files are decrypted by your password HASH (possibly with a unique key as well I imagine) the only way to properly fix this that I know of is to boot the old drive, highlight the files and uncheck the encrypted checkbox

  You should have exported the private keys so that you could recover these files as necessary.
  this article discusses exporting private keys  http://support.microsoft.com/default.aspx?scid=kb;en-us;887414

  It looks like you may be out of luck.  http://support.microsoft.com/default.aspx?scid=kb;en-us;308993

  If these files are very important you should try this utility http://www.elcomsoft.com/aefsdr.html

  Good Luck.
Hey there.... Simply take ownership of the files/folders from your current windows XP installation and you will have access to any encrypted file/folder with no problems :)....

To Take Ownership of a File or Folder in Windows XP:


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


and trust me this is as easy as 1,2,3 !!...

Good Luck and Cheers!
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Personally can I suggest that myself and Worked4me get the points,

<Matthew1471>"The files are decrypted by your password HASH (possibly with a unique key as well I imagine) the only way to properly fix this that I know of is to boot the old drive, highlight the files and uncheck the encrypted checkbox"

<Worked4me>"It looks like you may be out of luck.  http://support.microsoft.com/default.aspx?scid=kb;en-us;308993"

The files are basically encrypted, if someone knows a way to bypass encryption without having the original HASH by all means step right up, but I think we can safely say it's not possible (not without being able to boot up the old drive and turning off encryption anyway)


  Sorry Lee this happens way to much out there.

  He had all the important parts intact until he reformatted the drive.
  The FEK, DRA, and the EKU field.
  All you could ever want to know about EFS.

  As previously mentioned http://support.microsoft.com/default.aspx?scid=kb;en-us;308993 he was just
  out of luck.

  This is a tough lesson to learn and is why you need to use the best practices recommended for EFS.
Interesting thing I just learnt from the above posts

"Comment from LucF

Have you imported the original EFS certificate yet?
1) Browse to the path and file name of the .pfx file to which you exported the EFS recovery agent's private key, and then right-click the file.
2) Click Install PFX to start the Certificate Import wizard.
3) Click Next and confirm the file location and name.
4) Click Next. Type the password for the private key, and then click Next.
5) Click Place all certificates in the following store, and then click Browse.
6) Click Personal, and then click OK.
7) Click Finish, click Yes to add the certificate, and then click OK.

(ref. http://www.jsiinc.com/SUBI/tip4400/rh4475.htm)


looks like he might be able to copy over the cert and input his password if he still has his profiles directory intact
Sounds great :)

Featured Post

Put Machine Learning to Work--Protect Your Clients

Machine learning means Smarter Cybersecurity™ Solutions.
As technology continues to advance, managing and analyzing massive data sets just can’t be accomplished by humans alone. It requires huge amounts of memory and storage, as well as high-speed processing of the cloud.

  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now