baleman2
asked on
Exchange 2007 export mailbox so domain user account can be deleted
I have an end user whose account on our domain controller (Windows 2009 server) seems to be corrupt. We have a different dedicated Windows 2008 server (64 bit) that is running Exchange 2007. I want to export or backup that end user's mailbox to a .pst file. Once the user account is deleted from the domain controller, I intend to recreate his account with the same credentials, go to the Exchange server and recreate his mailbox there, then import the .pst file.
Now, if I just knew how.
Please advise.
Now, if I just knew how.
Please advise.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
.ExMerge is a depreciated Utility for usage in Exchange. Export-Mailbox and Import-Mailbox Cmdlets are replacement for that. As a matter of fact EXMerge is no more available in Exchange 2010.
Hilal
Hilal
good thing he is using 2007.
ASKER
Have gotten busy - will try commands tonight.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
To msabry06:
With over 400 users in our domain, this situation comes up very infrequently. Your solution would be the easiest. Once I delete the account from active directory, I intend to recreate with the exact same credentials - username, password, etc. Does this pose any problems with associating the old mailbox with the newly created user?
With over 400 users in our domain, this situation comes up very infrequently. Your solution would be the easiest. Once I delete the account from active directory, I intend to recreate with the exact same credentials - username, password, etc. Does this pose any problems with associating the old mailbox with the newly created user?
no at all
it works normally,and will not make any problems
and if you disable user account from active directory, and u can't see it in the disconnected mailboxes, you can use this command so that it appears in the disconnected mailboxses
Get-MailboxDatabase | Clean-MailboxDatabase
and also, you can test this, create new user xxx, mail enable the new user xxx, then delete the user from active directory, create new user yyy go to disconnected mailboxes, and reconnect the xxx mailbox to yyy user, if u can't see the user mailbox xxx in the disconnected mailboxes, run the command Get-MailboxDatabase | Clean-MailboxDatabase in command shell
it works normally,and will not make any problems
and if you disable user account from active directory, and u can't see it in the disconnected mailboxes, you can use this command so that it appears in the disconnected mailboxses
Get-MailboxDatabase | Clean-MailboxDatabase
and also, you can test this, create new user xxx, mail enable the new user xxx, then delete the user from active directory, create new user yyy go to disconnected mailboxes, and reconnect the xxx mailbox to yyy user, if u can't see the user mailbox xxx in the disconnected mailboxes, run the command Get-MailboxDatabase | Clean-MailboxDatabase in command shell
ASKER
Thanks to all. Since I found msabry's comments to be more useful (although the other solution would have worked) in my situation, I used that solution and it worked perfectly.
Export-Mailbox –Identity <mailboxUser> -PSTFolderPath <pathToSavePST>
Then you can import the mailbox with this command
Import-Mailbox -Identity <mailboxUser> -PSTFolderPath <PSTFileLocation>
Hilal