• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 527
  • Last Modified:

is it possible to lock an exchage 2010 database so no more users can be added by helpdesk

once my exchange 2010 databases reach a set size can i lock them down
so that no new users can be added
i want to stop the helpdesk adding new users to databases over a certain size
4 Solutions
Exchange Server does not have any  mechanism to control number of mailboxes.

You can control size of the mailboxes, but not their max number.

Having standard capacity of Exchange DB of 2 TB , you cannot easily hit this limit.  If you are worried however , reduce the capacity of mailboxes.
Simon Butler (Sembee)ConsultantCommented:
The only thing you can do is remove a database from the algorithm which selects a database.

Set-MailboxDatabase -Identity "Mailbox Database 2" -IsExcludedFromProvisioning $true

I do this routinely with databases that are archive database.

AmitIT ArchitectCommented:
Setting up mailbox size is the solution here. That is the only way to control DB growth. Also you should have a monitoring tool, which can give you a report about user count and DB size everyday.
Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

dougdogAuthor Commented:
We have mailbox restrictions in place.
but when I cut off a database at say 60gig
I come back a few months later to find its now 80gig as helpdesk have added another 20 users
AmitIT ArchitectCommented:
For such case, set one DB only for mailbox creation and you yourself manage the mailbox distribution among DB's. Let helpdesk use one db for mailbox creation and every day or once in a week you can distribute them across other db's.

You can name it as staging db. That is the best way, i can think off for now.
as an workaround, You can use RBAC and remove the new-mailbox and enable-mailbox cmdlets.  You may able to use CustomWriteScope for the Database.


Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Tackle projects and never again get stuck behind a technical roadblock.
Join Now