Link to home
Start Free TrialLog in
Avatar of jwil320
jwil320

asked on

Exchange deleted user profile

In attempting to fix a problem with exchange and a user iphone I deleted his user from AD. In recreating him it did not use the same profile so now all his his stuff is gone and now it's a fresh start when he logs in. I found his old profile and everything is there. Is there a way to point to his old profile so when he logs in he gets his old desktop and files back?
Avatar of PaulD77
PaulD77
Flag of United States of America image

I think you mean his old profile in the local  c: drive?  login as an admin, and set the permissions for his entire old profile so he has full control of it and just copy desktop, etc it over to the new one
Avatar of jwil320
jwil320

ASKER

How about outlook? it is asking to create an account. Will it just pull down the email and contacts from exchange?
ASKER CERTIFIED SOLUTION
Avatar of Maen Abu-Tabanjeh
Maen Abu-Tabanjeh
Flag of Jordan image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Was his exchange mailbox delketed too?  usually exchange will save the box for 30 days after a user is deleted from AD, if its still there, all inbox, GAL's etc will be there.  But you can get his Personal folders and OST (if you were using a cached version) from the local profile folder on the c drive.  You first need to enable hidden folders...then c, docs and settings, user folder, local settings, App data, Microsoft, outlook
you can reconnect a user to an exchange box...as long as it's still there.  If it's not, i reccomend changing your settings in exchange to keep the box for "x" ammount of days after a user is removed.
Avatar of jwil320

ASKER

I've got the exchange thing figured out. Following the restore deleted user is were im stuck now because I see he has been deleted a few times before so how do I know which is the correct one to restore?
check the time of deletion
Avatar of jwil320

ASKER

Ok i found the correct one but i get an error when i try to restore. I think this is because the DN is the same for all of the deleted users of course because it is. So how would I choose the correct one? The criteria I enter to return the deleted use is the DN but if all are the same....??
what is the error message you got??
Avatar of jwil320

ASKER

ldap_modify_ext_s(ld, 'CN=Chris Allison\0ADEL:283e8dd4-3c41-4234-9378-342b18b3c8d8,CN=Deleted Objects,DC=DOMAINNAME,DC=local',[1] attrs, SvrCtrls, ClntCtrls);
Error: Modify: Unwilling To Perform. <53>
Server error: 00002077: SvcErr: DSID-030F01DD, problem 5003 (WILL_NOT_PERFORM), data 0
Avatar of jwil320

ASKER

Got it. I downloaded a little app called AD restore by sysinternals worked great. thanks guys for your help.
am glad to hear that  your problem solved ... good luck
am sorry i mean this one is exact solution for you case :

http://support.microsoft.com/kb/2279080