Solved

Delete mailbox only, not AD account

Posted on 2011-03-09
10
673 Views
Last Modified: 2012-05-11
There is an AD account named Domain\User1 which has an associated mailbox (User1).

I would like to delete the mailbox ONLY, not the AD account. I will then recreate a new, blank, mailbox for User1.

Does anyone know how this is possible with Exchange 2007? With 2003, you could delete a mailbox only via ADUC, but can't see a way to do this in 2007 EMC.
0
Comment
Question by:kam_uk
  • 6
  • 4
10 Comments
 
LVL 74

Expert Comment

by:Glen Knight
ID: 35086353
In EMC you need to select disable, this will remove exchange attributes but the user accnt will not be effected
0
 
LVL 74

Expert Comment

by:Glen Knight
ID: 35086365
You. Culd also use the Disable-Mailbox command in EMs, see here for ore details: http://technet.microsoft.com/en-us/library/aa997210(v=exchg.80).aspx
0
 
LVL 3

Author Comment

by:kam_uk
ID: 35086442
Hi Demazter

Thanks, but what I want to do is delete the mailbox and recreate it. If I just disable the mailbox, then that mailbox will be hanging around as a disconnected mailbox wouldn't it? Is there a way to delete a disconnected mailbox without affecting the AD account?
0
Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

 
LVL 74

Accepted Solution

by:
Glen Knight earned 500 total points
ID: 35086475
That's the way to do it, you then delete it from disconnected mailboxes.

See here for how: http://khurramullah.blogspot.com/2008/11/removing-disconnected-mailboxes-in.html

There isn't any other way to do it.
0
 
LVL 3

Author Comment

by:kam_uk
ID: 35086748
Thanks Demazter..

I did read this article here: http://technet.microsoft.com/en-us/library/aa995948(EXCHG.80).aspx

"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"

So I wasn't sure?
0
 
LVL 74

Expert Comment

by:Glen Knight
ID: 35086770
That's remOve-mailbox.

I am talking about disable-mailbox

They are very different ;)
0
 
LVL 3

Author Comment

by:kam_uk
ID: 35086799
Sure, but you're saying that I need to run remove-mailbox to delete the disconnected mailboxes? Maybe I'm misunderstanding :)

How can I remove the disconnected mailbox?
0
 
LVL 74

Expert Comment

by:Glen Knight
ID: 35086869
Yes you do but the mailbox will be disconnected which means it will not have an associated AD account to delete.
0
 
LVL 3

Author Comment

by:kam_uk
ID: 35086938
Ah ok :)

Could you confirm my steps:

1. Make a note of the mailbox GUID
2. Disable mailbox in EMC
3. Run this command:

Remove-Mailbox -Database <Database-Name> -StoreMailboxIdentity <MailboxGuid>

That will remove that disconnected mailbox only?
0
 
LVL 74

Expert Comment

by:Glen Knight
ID: 35087029
correct ;)
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

This process describes the steps required to Import and Export data from and to .pst files using Exchange 2010. We can use these steps to export data from a user to a .pst file, import data back to the same or a different user, or even import data t…
This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
In this video we show how to create an Accepted Domain 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 >> Ac…
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…

813 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