[Webinar] Streamline your web hosting managementRegister Today

x
?
Solved

Orphaned User

Posted on 2013-02-07
4
Medium Priority
?
187 Views
Last Modified: 2013-02-08
Ok without drawing it out too much. Running Exchange 2010, did a dcpromo on another box that messed stuff up so I repromoted it. All is well except for one user. He is no longer in AD. I could just recreate him, but his mailbox appears to have vanished as well.  

It is not listed under disconnected mailboxes in the MMC. Here is the odd thing, if I run Get-MailboxDatabase "Mailbox2" | Get-MailboxStatistics his mailbox is there with 29K+ items. However if I run Get-Mailbox and dump it to text his mailbox doesn't list.

It is like Exchange has it, but I need to reconnected it to an AD user. I've already recreated his AD user. My PS is admittedly weak, but I'm sure there is a cmdlet to recreate the link, since the mailbox is clearly there.
0
Comment
Question by:bhieb
  • 2
  • 2
4 Comments
 

Author Comment

by:bhieb
ID: 38865742
To expand on the dcpromo, yes I did make sure to move the FSMO to another DC, and yes there were 2 other Global Catalogs when I originally demoted the other server. However it caused a mess, so I re promoted. For some reason this guy is the only one that messed up.
0
 
LVL 9

Accepted Solution

by:
EMJSR earned 2000 total points
ID: 38865754
Hi there, you should be able to reconnect the mailbox using the following command:
Connect-Mailbox -Identity "<your user's mailbox name>" -Database <your database name> -User ><your AD user>

Open in new window


Please replace everything inside < > (including the < >) with your information.

I hope this helps.
0
 

Author Comment

by:bhieb
ID: 38865863
Worked like a charm, thanks. I just didn't know the syntax, as I usually use the MMC to do this type of stuff, but his box wasn't there even under disconnected.. How well Thanks!
0
 
LVL 9

Expert Comment

by:EMJSR
ID: 38865984
Yeah, Microsoft could've made it a little easier here and there. Some of the less common stuff I have to look up myself. Glad that it worked though!
0

Featured Post

Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

Question has a verified solution.

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

Microsoft Jet database engine errors can crop up out of nowhere to disrupt the working of the Exchange server. Decoding why a particular error occurs goes a long way in determining the right solution for it.
There are literally thousands of Exchange recovery applications out there. So how do you end up picking one that’s ideal for your business & purpose? By carefully scouting the product’s features, the benefits it offers you, & reading ample reviews f…
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Suggested Courses

640 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