Avatar of Jay_Ratansi
Jay_Ratansi
 asked on

Exch2010 remove mailbox without deleting windows AD user?

In sbs2011/exchange2010 EMC, removing a mailbox requires deleting the AD user object.

we have a scenario where the windows user needs to stay as domain user eg. to use file share resources.

we could Remove in EMC and subsequently re-create as 'New Mail User' but this would break the original windows a/c?

How can we remove mailbox without deleting windows AD user?

thanks
Jay
Windows Server 2008ExchangeActive Directory

Avatar of undefined
Last Comment
Scott C

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Will Szymkowski

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Kash

disable the mailbox in EMC
Will Szymkowski

Kash is it really necessary to repeat what i said?

Will.
Kash

what is wrong with people on this forum. i have had this question open for a while and didn't see your comment in question.



OP >>>>> PLEASE AWARD POINTS TO WILL
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
Kamal Khaleefa

Is there anything you cant to accomplish!
Because disable or delete mailbox wont minimize the edb size will just disable the AD user
as experts "solution above"
Nick Rhode

As Will and Kash stated you can just Disable the mailbox and you will find that mailbox in the disconnected mailboxes space.  However if you plan on maybe connecting it back in at one point.  You might want to make sure you export a copy of the mailbox to PST of some kind.  Exchange I believe purges disconnected mailboxes by default after like 30 days.

If you go under the properties of the mailbox you should see a Limits Tab.  Check under deletion settings to view the timeframe of when it would be purged
Jay_Ratansi

ASKER
Looking at two scenarios & their effect on the GAL global address list:

1. Disable the mailbox : at the next update (6am or perhaps a manual force update), the Outlook address book will no longer show the disabled users?

2. Disable the mailbox and subsequently add as new Mail User : this would be possible?  at the next update (6am or perhaps a manual force update), the Outlook address book will now show the disabled users as Mail Users?

The arrangement to disable & allow access to windows domain is temporary. Eventually these users -using their own vanity domain and office365 - will be removed from the on-prem server altogether.

Thanks all for your feedback! How about assistance with my other open question!

jay
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
Scott C

@King2002...Even deleting the AD account and mailbox won't reduce the size of the EDB.  The resulting whitespace would still be in there to be used when needed.

To actually reduce the size of the EDB, you'd have to do an offline defrag which isn't worth the time and effort.
Jay_Ratansi

ASKER
Hi ScottCha,

This question is not about reducing the size of the EDB at all.  At this site, we're running Exchange2010 and the total EDB size is 90GB at most.

Thanks,
Jay
SOLUTION
Nick Rhode

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Scott C

Hello Jay, I know.  I was addressing the statement made by king2002 which might lead someone to believe that this or even removing a mailbox can reduce DB size.

Will gave you the solution which is what I would have put, but he beat me to it.  :-)

However, I will add that this is how it can be done in the Exchange Shell:

Disable-Mailbox -Identity "John Doe"

Disable-Mailbox -Identity "John Doe" -RemoteArchive
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
Kamal Khaleefa

For address book you can make a filter using powershell to get users with certain creteria and enabled ad account
Scott C

@king2002....what question are you answering?