Solved

Exchange 2010 Recover Mailbox for a Deleted User Account

Posted on 2010-11-22
22
1,822 Views
Last Modified: 2012-05-10
I'm new to Exchange 2010 and powershell. How can you recover the entire mailbox for a user who's User account was deleted.
0
Comment
Question by:compdigit44
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 11
  • 8
  • 3
22 Comments
 
LVL 31

Expert Comment

by:MegaNuk3
ID: 34190447
Create a new account and recconnect the mailbox to it
http://technet.microsoft.com/en-us/library/bb232039.aspx
0
 
LVL 31

Expert Comment

by:MegaNuk3
ID: 34190491
0
 
LVL 17

Expert Comment

by:Viral Rathod
ID: 34190537
0
Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

 
LVL 20

Author Comment

by:compdigit44
ID: 34191054
IN Exchange 2010 how can you delete a mailbox withou deleting the user account

also how can you connect a delete mailbox that is inside a recovery database?
0
 
LVL 31

Expert Comment

by:MegaNuk3
ID: 34191172
You can't connect a mailbox that is in a recovery DB, you can only export from it.
0
 
LVL 20

Author Comment

by:compdigit44
ID: 34191555
Can you export it to a PST file if so how? Also how can you export a mailbox of a user who's network account has been deleted?
0
 
LVL 17

Expert Comment

by:Viral Rathod
ID: 34191612
1) To export a user named Joe’s mailbox to the PST file C:\Temp\joe.pst:

Export-Mailbox -Identity joe@example.com –PSTFolderPath C:\Temp\joe.pst

2) As per MegaNuk3 Create a new account and recconnect the mailbox to it
0
 
LVL 17

Expert Comment

by:Viral Rathod
ID: 34191643
Sorry you have mounted the recovery Database

Use this
Export-Mailbox -Identity <MailboxIdParameter> -TargetMailbox <MailboxIdParameter> -TargetFolder <Folder_Name>

http://technet.microsoft.com/en-us/library/bb266964(EXCHG.80).aspx

0
 
LVL 31

Expert Comment

by:MegaNuk3
ID: 34191934
Do Disable-Mailbox to remove a mailbox from an account without deleting the account.
http://technet.microsoft.com/en-us/library/aa997210.aspx
0
 
LVL 31

Expert Comment

by:MegaNuk3
ID: 34191956
Use Restore-Mailbox to recover content from a mailbox in a Recovery Database:
http://technet.microsoft.com/en-us/library/bb125218.aspx
0
 
LVL 20

Author Comment

by:compdigit44
ID: 34193115
Thanks for the replay's everyone.

If I use the Restore-Mailbox command -identiy <displayname of mailbox> it keeps erroring out with it cannot find the user account for mailbox in DB even though when I run the get-stat command I see the mailbox listed..

Are you telling me that I cannot directly export a mailbox to pst from a recovery db but I have to restore it into a subfolder of another mailbox?? This seems like a step backward for Exchange recovery?

Also, if I want to delete a mailbox and not the user account , I have to do this via power-shell and not the gui correct????
0
 
LVL 20

Author Comment

by:compdigit44
ID: 34197864
Any more thoughts on this??
0
 
LVL 31

Expert Comment

by:MegaNuk3
ID: 34201394
Yep, it feels like a step backward

And yep it has to be done from EMS AFAIK
0
 
LVL 20

Author Comment

by:compdigit44
ID: 34204999
When I try to use the Restore-Mailbox commad is keep coming back uable to find user beucase the mailbox is assocaiate with a now delete user account
0
 
LVL 31

Accepted Solution

by:
MegaNuk3 earned 500 total points
ID: 34207499
"Restore-Mailbox -Identity Scott -RSGDatabase MyRSGDatabase -RSGMailbox John -TargetFolder Recovery

This command will recover data from Johns mailbox to the folder name "Recovery" in new mailbox of Scott." from http://www.networksteve.com/exchange/topic.php/Recovery_of_mailbox_after_user_account_was_deleted/?TopicId=17962&Posts=5

So the Identity has to be your destination mailbox which must exist
0
 
LVL 31

Expert Comment

by:MegaNuk3
ID: 34207536
So you can either restore into a folder under an existing mailbox or create a new mailbox user and then restore-mailbox to that.
0
 
LVL 20

Author Comment

by:compdigit44
ID: 34207558
Ok I will try this when I get back to the office..
Can you please help me with unuderstanding the following..

1) IN Exchange 2010 is you want to DELETE a mailbox only and not the user account you need to do this via powershell

2) Why can't you extract the contents of a deleted user and mailbox to a pst why do you need to extract it into another mailbox

It seems like Exchange 2010 made simple mailbox recovery so much harder
0
 
LVL 31

Expert Comment

by:MegaNuk3
ID: 34212336
1.) no, in EMC right click and select 'Disable' to remove the mailbox not the Account.

2.) if the mailbox is just disconnected and not in the recovery database then you can 'Connect' it to another account for use/export.
0
 
LVL 20

Author Comment

by:compdigit44
ID: 34213508
OK of if the mailbox is in the recovery DB and user account has been deleted the only way I can recover the mailbox is to restore it into an existing mailbox??

Why does Exchange 2010 take this approach for restore mailboxes in 2010?? What was there reasoning?
0
 
LVL 31

Expert Comment

by:MegaNuk3
ID: 34213919
No idea why they did that. It is the same in Exchange 2007. Probably because they got rid of exmerge that used to be able to export mailboxes in the E2k3 recovery database direct to PST. I miss that functionality and prefer a nice GUI to EMS commands.
0
 
LVL 20

Author Closing Comment

by:compdigit44
ID: 34266465
My biggest problem was that I wasn't using the correct syntax. That for spelling things out step-by-step
0
 
LVL 31

Expert Comment

by:MegaNuk3
ID: 34268328
No problem, thanks for the points
0

Featured Post

Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Outlook 2016 - Operation has failed 11 112
profile account in outlook problem 3 43
Backup Solutions on Exchange + Sharepoint on VmWare ESXi 6.5 14 89
Exchange 2010 3 26
Learn to move / copy / export exchange contacts to iPhone without using any software. Also see the issues in configuration of exchange with iPhone to migrate contacts.
In-place Upgrading Dirsync to Azure AD Connect
In this video we show how to create an Accepted Domain in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Ac…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

732 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question