Deleted Active Directory account

I have accidently delete AD account for a user who is on vacation.
I wonder if I can just recreate his account and he will be able to open up outlook just like he used to, when he gets back.

or there is an easy way to restore?

thanks
jskfanAsked:
Who is Participating?
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.

Seth SimmonsSr. Systems AdministratorCommented:
there is a recycle bin for AD but depends on your functional level and whether it's enabled

http://technet.microsoft.com/en-us/library/dd392261%28v=ws.10%29.aspx

if it's not enabled then you can create a new account but won't work the same since the SID will be different which means when he logs in it will have a new user profile
0
Mike KlineCommented:
no because the new account will have a different SID.  and will have a different password. You can restore his account from backup (authoritative restore).

Do you have the AD recycle bin enabled?...if yes this restore would take a few minutes at most.

Thanks

Mike
0
Joseph DalyCommented:
If you just deleted the account it may be recoverable.

If you are on 2008 R2 function level you may have the AD recycling bin enabled. Since your asking this question im going to guess you do not.

If you are on 2003 or do not have the recycle bin enabled you will need to use a tool like ADrestore or ADrestore.net (if you prefer a gui).

When you delete an AD account it is not immediately deleted but tombstoned for a period of time. These tool allow you to bring back the important parts of an account. Not all attributes are saved so you may still need to do some repair after the recovery.

Take a look at ADrestore.net page below for the tool
http://blogs.microsoft.co.il/blogs/guyt/archive/2007/12/15/adrestore-net-rewrite.aspx

Any questions feel free to ask.
0
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

AmitIT ArchitectCommented:
You can connect the disconnected mailbox to new ad account.

http://exchangeserverpro.com/reconnect-disconnected-mailbox-exchange-server-2010/
0
Joseph MoodyBlogger and wearer of all hats.Commented:
I would also recommend enabling accidental deletion protection on any sensitive objects (such as critical accounts, OUs, some groups, etc).

http://deployhappiness.com/prevent-accidental-deletion/
0
Will SzymkowskiSenior Solution ArchitectCommented:
If you choose to restore the object, you are going to want to make sure that all of its Group Membership is intact as well. When you restore and object the membership typically needs to be re-added.

Will.
0
jskfanAuthor Commented:
I have disabled the mailbox and cleaned the database using powershell.
but I do not see the mailbox of the user now.
0
Will SzymkowskiSenior Solution ArchitectCommented:
Under Recipient Configuration you will see "Disconnected Mailboxes". From there, you need to connect to the server that was originally hosting the mailbox. Once you are connected you will see all of the disconnected mailboxes. Right click the mailbox and select "connect". From there you can select an existing user (that does not have a mailbox) and attach the mailbox to this user.

You may have a delay depedning on your AD replication interval.
0
jskfanAuthor Commented:
what if the mailbox is empty then you disable it and run the clean database, would it show up in the disconnected mailboxes?
0
Will SzymkowskiSenior Solution ArchitectCommented:
When you disable the mailbox from an Exchange user is goes into Disconnected mailboxes for a duration of time. Default i believe is 30days.
0

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
jskfanAuthor Commented:
Thanks
0
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
Active Directory

From novice to tech pro — start learning today.