Discussion Locked

After Recovery no access to encryptedfol

0 helpful
17 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

After a blue screen, I decided to install a new windows 2000 on the second disk. When copying files, I recognized, that the most important directory was encrypted and I do not have access to these files anymore. Is there any solution to get access again to the files? I am not able to boot into the original installation, but I have access to the folders (all users\cryto\RSA). Can I import these keys?

thanks Stephan

17 replies

by phil.hall

Have the Administrator take ownership of the folder and files. Then you can do with it whatever you need to.

by mrafrohead

After you have taken ownership of the files, you are going to need to restore the EFS Keys... (Encrypted file system).

If you do not have those, you're going to be into a little bit of trouble.

You are then going to have to try to get back into the other system...

If worse comes to worse, and this doens't work for you, send me a note and I can help you with one last thing...

If that doesn't work, you're going to have to delete them...;(

mrafrohead
@yahoo.com

by snahrstedt

Answer 1: Not possible with encyption

Answer 2: Worse comes to worse, still no access

Answer 3: My original profil is unavailable, so I
cannot export the key

Is there a way to export the key without logging into the original profile? That would be the solution.

thanks for your help

Stephan

by timthetoolman

Hi,

Did you try simply copying in the cryto folder to your new profile? I presume you have...

If it doesn't work, then try encrypting another small part of your system (nothing important), export that key for later importing.

Then edit the files that were created and insert the key from the old profile. You may need to use a hex editor to do this.

Cheers,
Tim.

by timthetoolman

Hi,

When you say you tried it and it didn't work... which suggestion did you try?

I've done some further reading on this and the EFS subsystem also uses your SID in its calculations of a valid key. Your SID has changed with the re-install so any key you try to sneak in by inserting it into the files directly wont match.

"The HKEY_CURRENT_USER\Software\ Microsoft\WindowsNT\CurrentVersion\EFS\CurrentKeys\ CertificateHash Registry key stores the user's active EFS key pair certificate hash. If any of the components in the key field don't match the current key pair's properties, including the user's SID, EFS must update the key field."

Read the following article from which the above was taken. It describes EFS in GREAT detail.

http://www.win2000mag.com/Articles/Index.cfm?ArticleID=5592&pg=1

(remove spaces from above URL)

Try creating an encrypted area (as per my previous instructions), export the keys and use the hex editor on the export.

You'll need to find and replace the key pair from you old profile and also your old SID with the new one.

Then import the hacked files and hope that they work.... you can have more than one key pair on your system - it searches through them until it finds the right one.

Hope this helps. If you cant make it work, then you're getting to the point where you'll either have to send the files away to expensive specialists or kiss the data goodbye.

Cheers,
Tim.

by timthetoolman

By the way, I hope you understand which files I was talking about re: Hacking - the ones in your profile - not the encrypted files themselves.

That would be wasted effort...

Good luck,
Tim.

by snahrstedt

Thanks TIM, this document is really helpful!
But I am not sure about the SID. I did a "Restore System State", is the SID restored? Or is it a new SID? Is there a TOOL to create an individual SID, I know only TOOLS which can create a random SID. I have access to the old profile, with REGEDIT, I should be able to read the old SID...

Thanks a lot
Stephan

by timthetoolman

Hi,

Offhand I dont know whether an installation over the top changes the SID or not. I suspect it might given the problems you're having.

But... either way it wont matter. When you're editing the export files, hopefully you'll be able to find the SID and compare it to what you had in your old profile. If they're different, then replace the SID in the export with the old one.

Good Luck,
Cheers,
Tim.

by snahrstedt

Hello Tim,

I worked on those files, but I did not get it.
Luckily I discovered a working backup and with a dataloss
of 4 weeks, I stopped this recovery-project.

thanks
Stephan

This discussion is closed to new replies.