Avatar of Thor2923
Thor2923
Flag for United States of America asked on

Active Dirctory 2008r2 user account was deleted by accident but Exchange 2007 information store still exists. Is there a way to rebuild and reassociated account to email

We have a Windows 2008r2 domain and use Exchange 2007. A user account was accidently deleted but no one has touched the Exchange server yet. I see an entry for the account on exchange but with no AD account associated with it, I just get errors if I click it on. I already spoke with our backup provider and apparently there is no way to restore a single AD account. Is there a way to rebuild a new AD account and associate it with the email store that exists from the old AD account?? Or any other way out of this?
ExchangeWindows Server 2008

Avatar of undefined
Last Comment
Thor2923

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Will Szymkowski

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
SOLUTION
it_saige

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Thor2923

ASKER
I am going with option 1 and trying to recover using LDP. I keep getting the following error and DELETED OBJECTS is empty. Am I doing something obviously wrong??

 = ldap_set_option(ld, LDAP_OPT_ENCRYPT, 1)
res = ldap_bind_s(ld, NULL, &NtAuthIdentity, NEGOTIATE (1158)); // v.3
      {NtAuthIdentity: User='NULL'; Pwd=<unavailable>; domain = 'NULL'}
Authenticated as: 'xxx\jxxk'.
-----------
Expanding base 'CN=Deleted Objects'...
ldap_get_next_page_s failed: 1
Server error: 000020D6: SvcErr: DSID-031007DB, problem 5012 (DIR_ERROR), data 0

Error 0x20D6 No superior reference has been configured for the directory service. The directory service is therefore unable to issue referrals to objects outside this forest.
Result <1>: 000020D6: SvcErr: DSID-031007DB, problem 5012 (DIR_ERROR), data 0

Getting 0 entries:
-----------
Thor2923

ASKER
something is definitely not right. I created and deleted an object just to see if I Could get it to display with LDP and no luck. Any ideas? I am a domain admin, BTW
Thor2923

ASKER
I had to use a combo of both solutions. Once I brought back the AD account it had to reconnect it with the exchange account
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy