[Last Call] Learn how to a build a cloud-first strategyRegister Now


Force removal of exchange mailboxes for missing subdomain

Posted on 2012-08-11
Medium Priority
Last Modified: 2012-08-29

I have removed a missing subdomain using ndsutil because no working DC was avalible for a old branch office.

All the users are out of our hands from many years back and now i whant to delete the exchange mailboxes but i cant delete them because no domain controller can be found.

How do i force a removal?
Question by:mattemattsson
  • 2
LVL 52

Expert Comment

by:Manpreet SIngh Khatra
ID: 38284487
Is there a GC in your current environment ?
Remove Mailbox would mean that the AD Account would be deleted hence you can use Disable mailbox.

Disable-Mailbox john@contoso.com -DomainController "DC FQDN" (You can use the DC switch to run the command quering a certain DC).

Use the Disable-Mailbox cmdlet to disable the mailbox of an existing user or InetOrgPerson and remove that object's Exchange attributes from the Active Directory directory service. The user account associated with the mailbox will remain in Active Directory but will no longer be associated with a mailbox

Use the Remove-Mailbox cmdlet to delete the user account that is associated with a particular mailbox from the Active Directory directory service and to process the associated, disconnected mailbox as directed by the specified parameters

- Rancy
LVL 33

Accepted Solution

Exchange_Geek earned 1500 total points
ID: 38284786
I think both removal and disabling would require you to be in-sync with DC of sub domain, cause you are making changes to AD (user attributes) and for that you'll need to be in-sync with that DC.

Tricky situation.

Try the cmdlet that Rancy suggestion, it'll remove Exchange attributes from the user - however as i said I've got my doubts on it.

If it doesn't work, post your feedback and their is a back door that you'll need to work with, i can guide you with it - only if the above cmdlet fails.

All the best and Happy Weekend.

LVL 52

Expert Comment

by:Manpreet SIngh Khatra
ID: 38346047
mattemattsson: I guess i should have been given some credit as well for answering your question and giving you suggestion of what to do :)

- Rancy

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

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

In this post, I will showcase the steps for how to create groups in Office 365. Office 365 groups allow for ease of flexibility and collaboration between staff members.
Mailbox Corruption is a nightmare every Exchange DBA wishes he never has. Recovering from it can be super-hectic if not entirely futile. And though techniques like the New-MailboxRepairRequest cmdlet have been designed to help with fixing minor corr…
To show how to create a transport rule in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Rules tab.:  To cr…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Suggested Courses

830 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