How to Restore a Deleted User in Windows 2003 SBS AD


I have somehow yesterday i think accidently deleted a user from AD on the Windows 2003 sbs server

When i go to exchange there is still a mailbox and data there but no user in the AD

How do i restore

Can i just re-create the user and AD and attach to the mailbox in Exchange, that sounds a bit to easy but...lets hope

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Lee W, MVPTechnology and Business Process AdvisorCommented:
You can recreate the user but the SID for that user will be different.  That means that Windows EVERYWHERE will see that user, despite having the same name, as a different user.

Once recreated, you reconnect the mailbox -

Any folders/files you assigned directly to the user account will need to have the permissions changed.  If you setup security properly (by using GROUPS), then most permissions items will be easily reset by joining the user to the appropriate groups.
Mal OsborneAlpha GeekCommented:
That will kinda sorta work, however it will be a new user with the same name, rather than the original user. Any group membership, permissions etc will be new.  When the user logs into a PC, they will of course get a new profile.

Restoring the user would require restoring the AD data, which you may or may not have a copy of. It is backed up as part of the system state. Post restoration of the data, an authoritative restore would be required as well, to increment the serial numbers of objects in the older restored AD data.
Well giving the new user the same name as the old one has no sense in it.
You can simply create a whole new user and then manually rename old folders to match new user.
Don't forget to search the registry for entries with old user name and rename them accordingly.
That is a lot of manual work but I think if done carefully could do the trick.
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

cdsausAuthor Commented:
I have read somewhere that you can use a tool called (gui) version to restore the AD user is this an option

cdsausAuthor Commented:
I have also seem a post about use ldp.exe to show deleted users in AD
cdsausAuthor Commented:
Can i use Ex-merge to get the Data from Exchange and then just make a whole new user and then upload the PST file to new user

that is mainly the idea.
create a new user and suck everything back into it.
About the other tools you mentioned ,I'm not familiar with them.
cdsausAuthor Commented:
So ex-Merge will pickup the Mailbox in Exchange without a AD user Attatched
You can simply copy the pst file to it's location under the new user ,that will do the trick.
cdsausAuthor Commented:
Yes but getting the Data out of the Exchange Database

I havent got the PST yet

Ok, I see
Use any tool of your choice to export data to a pst  file from Exchange.
or look at this page:
cdsausAuthor Commented:
If i undelete user with some of tools found will that just re-attach to mailbox do you think

Anyone else used these tools

cdsausAuthor Commented:
Hi I have installed and setup exmerge on the server and it is not picking up the mailbox of the user i deleted, sees the rest of the mail but not that one, i can see the mailbox in Exchange manager but not in the exmerge

is this because no user attached ?


Thanks Adam
cdsausAuthor Commented:
Under the mailbox reconnect and purge are greyed out would reconnect become available if user back ?
I think this link might be helpfull:

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
cdsausAuthor Commented:
End up using this Util to restore Deleted user and all back up and working fine now

Re-Attached Mailbox after User Restored all working

Thanks to everyone

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2003

From novice to tech pro — start learning today.