Re: EFS recovery problem

From: Peter Clark (clark_at_hushmail.com)
Date: 05/02/03


Date: Fri, 2 May 2003 14:20:58 -0700


roger; no worry, it may of been in the 2ksecgroup or done
via email.

dave:

did you get a message like:

(with username)
logon message:
you are required to change your password at first logon.

this seems to break efs as it does not update the locking
file which secures your private/public keys. however you
can regain access by changing the password back to the
exact orginal - i guess you did?

renamed from "Dave User" to "Dave" - are you sure this is
not a username/fullname muddle? check with lusrmgr.msc -
username/fullname change should not effect efs as it uses
the user number.

the orginal cert could not be used - why??

01. password was not changed back to _exact_ orginal

02. some files are missing - for each cert in mmc, open -
is there a private that corresponds?
    browse to doc&sets\%username\application
data\microsoft\protect\s-1-5-21-%machinesid%-%userno%
    are there two guid(388bytes) and one preferred(24bytes)
named files present?

03. the file doc&sets\%username\application
data\microsoft\protect\credhist could be corrupt
    it is possible to create new one.

passwords most complexity requirements = disabled may still
trigger such a prompt - are the other settings
0/42/0/0/disabled/disabled?
out of interest, is this machine with fullupdates, sp1 or
defaultinstall?

can you download filemon from sysinternals.com - run it and
try and access a file that you get the denied message for
and then save the log and email it over? this may help to
determine exactly where efs is falling over.

>-----Original Message-----
>Roger,
>
>Thanks for all the help so far. Obviously, I should have
studied EFS
>before enabling it, but, I had been using it for a year
with no
>problems. It only takes one time...
>
>Anyway, I haven't checked, but, could this be an ownership
issue also?
> When I try to view the files encrypted with the
thumbprint from the
>Dave User cert, I get "Access Denied". I assume that
message is sent
>because of encryption, but, I got to wondering about
ownership,
>especially now since my account name is Dave for some reason.
>
>Here is my plan of atack, in case that doesn't work. Use the
>certicates mmc snap in, export the Dave User certificate
(in *.p7b
>format??), log in to admin, create new account, import
cert to that
>account, restore files from backup to that new account, try to
>decrypt.
>
>Does that sound right?
>
>One note, again, the password was set from the Computer
Management
>Admin tool to the password it used to be, but, since there
was no luck
>with that, I log into acct and try to use the Control
Panel and set
>password from the account. It is not letting me though.
Gives me the
>business about complexity, etc., however, there is no
policy for
>complexity. :/
>
>Seems this account is hosed, but, seems like I should
still be able to
>decrypt those files since I still have a cert with that
thumbprint.
>
>Suggestions/Comments?
>
>V/R,
>Dave
>
>"Roger Abell [MVP]" <mvpNOSPAM@asu.edu> wrote in message
news:<eMT7bdLEDHA.2384@TK2MSFTNGP12.phx.gbl>...
>> Renaming an account should not cause these issues,
>> and when an account is renamed it is normal for the
>> profile area on disk to retain the name that existed
>> when the account was first logged into.
>>
>> I would focus on getting the data back first, and then
>> on making the account function correctly. That you
>> are seeing a second EFS cert created when you have
>> deleted the new one and then try to use EFS is showing
>> that the older certificate is not being recognized as
>> usable (obviously!). I would first try, though doubt
>> it will work, exporting the older certificate, using the
>> Certificates snap-in when the account has the last
>> known working (for EFS) password and it is the only
>> certificate showing. If this works, I would then import
>> that EFS certificate with key into a newly defined local
>> account, and use that account to get the data stored in
>> the clear without EFS encryption.
>> If you are not able to export the certificate and key,
>> then think very hard over the recent history, focusing
>> on passwords. You have to have the account set to
>> use the correct password for the cert/key to be accessible
>> for EFS use.
>> Before you go too much further you may want to make
>> a backup using ntbackup.exe in which you include the
>> EFS encrypted files, your account's profile from Doc
>> and Settings, and the System State.
>>
>> --
>> Roger
>>
>.
>



Relevant Pages

  • Re: EFS Disabling
    ... >> I had to reinstall XP on a computer and so I copied my EFS ... They have the same account names ... > You must have exported your EFS security certificate (onto a floppy ... > claiming that if you included your profile in your backups that there ...
    (microsoft.public.security)
  • Re: HELP WITH DE-CRYPTION!!
    ... them on the hard drive using my account on my laptop (admin ... Because the SID is unique to ... EFS won't decrypt because the cert you ... EFS cert assigned to the SID of the account you are currently logged ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Protecting Directories
    ... If you do, then only your account, and an optionally ... If you select to use EFS, then you should be certain that you ... For this your machine needs a smart card ... an issueing authority for the certificate on the card. ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Security problem with Entourage 2004 & digital signature
    ... To be honest I've not played with those popups much. ... Unless you have the certificate that signed your cert somewhere (and maybe ... Do you have Entourage set to include your cert in the message? ... I've got two mail accounts, and have a key pair for each account. ...
    (microsoft.public.mac.office.entourage)
  • Re: EFS encrypt files: Changed PW now cant access... :-(
    ... Assuming the EFS certificate AND private key are in the user's profile you ... need to change the user account password back to what it was before they ...
    (microsoft.public.windowsxp.security_admin)