?
Solved

Removing SMTP Addresses from orphaned Exchange 2010 Mailboxes - AD Server Is Gone

Posted on 2013-01-10
10
Medium Priority
?
1,127 Views
Last Modified: 2013-01-16
Hello, we are trying to remove the SMTP addresses (or ideally the entire mailboxes) from a few accounts on an Exchange 2010 server.  The catch is that the domain controller (it was a child domain) for those users accounts is gone and is not recoverable.  We've recreated the user accounts on the master domain (we will not be rebuilding the child domain, but rather recreating the users on the master domain), but when we create the mailboxes for them in Exchange, we can't use the original SMTPs for them because they still exist in those orphaned mailboxes that were associated with the child domain.  

Trying to remove the mailboxes results in the following error:  

-------------------------------------------------------- Microsoft Exchange Error -----------------------------------
Action 'Remove' could not be performed on object 'Amanda Smitch'. Amanda Smitch Failed Error:
The operation couldn't be performed because object 'company.Inc/To Be Removed/username' couldn't be found on 'ServerNameDomainController.company.Inc'.


Is there any way to forcibly remove those orphaned SMTPs or mailboxes so we can add them to the new accounts?
0
Comment
Question by:hachemp
[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
  • 5
  • 4
10 Comments
 
LVL 17

Expert Comment

by:Brad Bouchard
ID: 38765291
Start down the path of ADSI edit and see if that works.  Not exactly what you're doing, but it helps get you on the right path:  http://www.microsoftfaqs.com/msg/116624446.aspx
0
 
LVL 52

Expert Comment

by:Manpreet SIngh Khatra
ID: 38765987
Is the AD account still working or deleted ?

As if the AD account is there we need to understand why Exchange cannot see it if not Mailbox should be in Disconnected Mailbox container anyways

- Rancy
0
 

Author Comment

by:hachemp
ID: 38767575
Rancy, basically what happened is that they had a child domain that held the AD accounts for these 10 or so users.  The only DC for that child domain crashed and is unrecoverable.  So those AD accounts are gone and not recoverable.

The mailboxes are not in disconnected, but still listed with all of the other mailboxes from the parent domain.  If I could get them into disconnected, then I believe I could remove them or reattach them to another AD account.  Any attempts to remove them, look at the properties of those mailboxes, etc, returns an error because it can't contact the DC for those accounts.

xBouchardx, I know that as a last resort we can probably go into ADSI edit and painfully carve out that child domain, but I'm doing my best to avoid that if possible.  BTW your link doesn't work.

We've already recovered the mailbox contents for the users, so the primary goal here is just to remove those SMTP address from the orphaned mailboxes so we can use them for the new mailboxes that we created for these users on the parent domain.  Of course, Exchange won't let us use those SMTPs since they're already listed on the orphaned mailboxes.  

Thanks to both of you for chiming in.
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 52

Expert Comment

by:Manpreet SIngh Khatra
ID: 38767621
The mailboxes are not in disconnected, but still listed with all of the other mailboxes from the parent domain - Do a Clean-MailboxDatabase and check

- Rancy
0
 

Author Comment

by:hachemp
ID: 38767743
Rancy, we have actually already tried Clean-MailboxDatabase, and then gave it another 24 hours after running that to see if they would be placed in disconnected, but they are still listed in with the other mailboxes.
0
 
LVL 52

Assisted Solution

by:Manpreet SIngh Khatra
Manpreet SIngh Khatra earned 2000 total points
ID: 38768122
If they list try to access using OWA if so AD accounts are my assumption

- Rancy
0
 

Accepted Solution

by:
hachemp earned 0 total points
ID: 38768365
Finally got it figured out....we had to use ntdsutil to remove the old DC and then the child domain, in that order...once that was done, the mailboxes were just gone from Exchange...not in disconnected or anything, just nowhere to be found.  Luckily, we had already used a tool to extract the mail from those beforehand.  Now we can reassign those SMTPs to the new accounts and everything is peachy.  

For anyone else that has this problem and runs across this thread, here's loosely what we did:

1) Remove the old DC as described here: http://www.petri.co.il/delete_failed_dcs_from_ad.htm
2) Remove the child domain from AD as described here: http://support.microsoft.com/kb/230306/en-us

On part 2, we got an error when doing that and had to do this first: http://support.microsoft.com/kb/887424

If you do this, make sure you back up the edb from Exchange or somehow get your data out from those mailboxes first (we used Krill Ontrack PowerControls, worked great), because once you are done, any mailboxes from that old domain are GONE, at least as far as I can tell.
0
 
LVL 52

Expert Comment

by:Manpreet SIngh Khatra
ID: 38768388
Awesome .... was there a Exchange in DC ? When was the Domain\DC lost ?

- Rancy
0
 

Author Comment

by:hachemp
ID: 38768420
Yeah, basically they had their Exchange server hosting email for both the parent and the child domains.  They only had 1 DC for their child domain (was very old, probably set up in early 2000s) and it went down hard about two weeks ago.  They had backed up the system state and related but without a comparable server to restore to, we couldn't really do anything with it.  

They really had no need for a child domain so now everything's running on their parent domain with TWO DCs.  Thanks again for the help.
0
 

Author Closing Comment

by:hachemp
ID: 38782004
Rancy, giving you the points for your continued participation.
0

Featured Post

Veeam Task Manager for Hyper-V

Task Manager for Hyper-V provides critical information that allows you to monitor Hyper-V performance by displaying real-time views of CPU and memory at the individual VM-level, so you can quickly identify which VMs are using host resources.

Question has a verified solution.

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

Had a business requirement to store the mobile number in an environmental variable. This is just a quick article on how this was done.
Uncontrolled local administrators groups within any organization pose a huge security risk. Because these groups are locally managed it becomes difficult to audit and maintain them.
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Suggested Courses
Course of the Month11 days, 12 hours left to enroll

752 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