mailbox accidently deleted from EXCHANGE 2007

We have a situation where an engineer went to disable a former employee and apparently hit "remove" by accident. The mailbox is no longer visible. I do not see it in disconnected mailboxes either. Is there a way to recover it? I have heard soemthings not all removd mailboxes show up in disconnected mailboxes because a shell cleanup command needs to be run. Is there any danger in running this command? If the user finally shows up in disconnected mailboxes, can he be recovered?? all advice welcome...I am not sure exactly what happened. All advice on troubleshooting what happened to the mailbox is welcome also
LVL 1
Thor2923Asked:
Who is Participating?

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

x
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.

thomasdavisCommented:
Try this in shell

Connect-Mailbox -Database <Mailbox_database > -Identity <Deleted_Mailbox>
Thor2923Author Commented:
I got the error below that the user does not exist in the database. I take it he has probably been completely removed...he is still in active directory. I am still puzzled as to what happened, but looks like it is not going to be an easy fix


[PS] C:\Documents and Settings\jblack_admin>Connect-Mailbox -Database AdminDB -i
dentity bweisburd
Connect-Mailbox : The specified mailbox "bweisburd" does not exist on database
"PTI-MBX01.PTI.local\AdminDB".
At line:1 char:16
+ Connect-Mailbox <<<<  -Database AdminDB -identity bweisburd
    + CategoryInfo          : ReadError: (bweisburd:StoreMailboxIdParameter) [
   Connect-Mailbox], MdbAdminTaskException
    + FullyQualifiedErrorId : 99F6F508,Microsoft.Exchange.Management.MapiTasks
   .ConnectMailbox

[PS] C:\Documents and Settings\jblack_admin>
Thor2923Author Commented:
If I go to receate the mailbox select "existing user" in the exchange console, his name does not pop up like an AD account that does not have a mailbox attached to it...that is telling me a trace of him must still be in exchange
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

thomasdavisCommented:
Looks like you'll have to recover the mailbox from the database file from the night before. Did the deletion happen today?  What version of backup software do you use?

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
Thor2923Author Commented:
I have another case open on that issue...I appear to have a good backup from last night and thing lost from today can be recovered from our GFI mail archiver. I am using Backup Exec 2010. I have tried several restores and they fail with an error similar to "unable to attach to resources" "make sure select resournces exist and are online"  

I have considered just recreating the mailbox then restoring, but did not want to overwrite anything if there was hope it could be recoverd a preferable way
thomasdavisCommented:
When you try to restore you created the RSG in exchange first then tried to backup using symantec to the RSG location. Do you have the option in symantec to use the vss snapshot provider?
Martin81Commented:
To see the disconnected mailbox run the command in powershell get-mailboxdatabase | clean-mailboxdatabase

Disconnected mailboxes only show on the server where the mailbox was stored before it was deleted so be sure to check all exchange servers.
Thor2923Author Commented:
It is looking more and more like we have some kind of issue with Exchange. Our engineer intended to disable a mailbox and it vanished. Today we created the same thing by disabling another mailbox and the samething happened. After about 3 seconds the mailbox just vanished. We have been assuming that an accident was made and the engineer clicked "remove" instead of "disable", but now it looks like he actually did click "disable"
How can we re enable this mailboxes? where do we we look for disabled mailboxes? what is really supposed to happend when you disable a mailbox account? All advice is welcome
Martin81Commented:
Disable is equivalent to disconnect in exchange 2003. Remove removes both the mailbox  and the AD object.

To see the disconnected mailbox so you can reattach it to the ad account run the command I posted yesterday.
Thor2923Author Commented:
I have run your command; get-mailboxdatabase | clean-mailboxdatabase

and it appears to run, but when going to reattach the mailbox to the ad account I;

1. Highlight MAILBOX in the exchange console and right click
2. select NEW MAILBOX
3. I select EXISTING USER, ADD, but do not see the existing user that I want to reattach in the drop down list..so.........
4. I go back to MAILBOX and try to create a NEW maibox with the user account name that existed before and when I get to the end, I get an error

"The Value "user@domain.local of property "UserPrincipalName" is used by anotehr receipient object

And it goes to give the domain and path and user name.....That tells me this mailbox or account does exist somewhere.....what did you mean by "reattach" is this you process you meant?
Martin81Commented:
You'll see the disconnected mailboxes under recipient configuration > disconnected mailboxes. From there right click on the mailbox and choose connect, then follow the wizard. If you don't see it check your other exchange servers as you'll only see it on the exchange server the mailbox was on before if was disconnected.
Martin81Commented:
Thor2923Author Commented:
I know that is were the disconnected mailboxes are supposed to be, but that is not where they are going. The original mailbox is still missing and another one that I disabled today showed up in the disconnected mailbox several hours later.

I do not have any way of re attaching the mailbox to the AD because it does not show up in the mailboxes under recipient configuration > disconnected mailboxes and I can not recreate it because when I go through the wizard I get a message that the account already exists. It is hiding somewhere in exchange..maybe I should open up another issue and explain this from the top, I no longer think it is a case where we accidently removed a mailbox and need to restore it.....I think some disabled mailboxes are just disappearing and no going to disconnected mailboxes
Martin81Commented:
Have you opened the exchange management console on all of your exchange servers and checked for disconnected mailboxes?
Thor2923Author Commented:
yes I have...it is very unusual....I did a test yesterday but disabling another account...he did nto show up in the disconnected mailboxes. I diabled two other accounts and they did nto show up. A couple hours later the first test user I disabled did appear in disconnected mailboxes but not the other two. Today the first test user is gone and the other two test users I disabled have appeared. The orignal mailbox that I really need to recover has not reappeared yet.

Another interesting point...you explained how to reconnect a mailbox and that a wizard would guide me through the process. I have tried to reconnect 2 of the mailboxes that did reappear in disconnected mailboxes and when using the wizard and neither could find the AD account that needs to be reattached. For example, if I right click and disconnected mailbox and select connect, then in MAILBOX SETTINGS select MATCHING USER..it is blank with and can not find any names even if I search the entire forrest. If I select EXISTNIG USER, I see all the AD accounts we have with no mailboxes attached, but none of the AD accounts that we disconnected and or removed appear...I think this issue has gone beyone an accidently removal of mailbox,,,,I appeciate all input and welcome more, but I will rewrite this up and open another case. I may had a active directory issue along with exchange
Martin81Commented:
Is the AD account of the user disabled? It won't show in the list of accounts you can connect the mailbox to if it is.
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
Outlook

From novice to tech pro — start learning today.