Solved

Orphaned User

Posted on 2013-02-07
4
178 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 500 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Marketers need statistics and metrics like everybody else needs oxygen. In this article we explain how to enable marketing campaign statistics for Microsoft Exchange mail.
Read this checklist to learn more about the 15 things you should never include in an email signature.
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
how to add IIS SMTP to handle application/Scanner relays into office 365.

920 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now