Would like to utilize account in Active Directory only for e-mail and would like to disable logon functionality

Posted on 2008-10-22
Medium Priority
Last Modified: 2010-08-05
At my organization there are a bunch of accounts in the AD that are only used for their mailbox.  For example, if the marketing department needed to have a mailbox created for magazine orders, we would just create new user in AD named something like "magazines".  By default, when you're going through the new user wizard in AD, it asks you if you'd like to create a mailbox for this user.  Since for this example, the marketing dept. will want multiple users to be able to open the shared mailbox for "magazines", we would just type in "magazines@domain.com".  Then we would give say... 5 users permissions to view the "magazines@domain.com" mailbox and then everyone would be happy.

However, I've been questioning this process and it just doesn't seem right... because by creating a new user in AD, you're making a new login account as well when we only need a new mailbox to be created.  Is there a better way to do this?  When you go into AD and right-click on the "users" organizational unit and click on "new", you can choose the following:

MSMQ Queue Alias
Shared Folder

If there was an option to do a new "Mailbox" then that would be exactly what I'm looking for, but it doesn't seem like you can just create a new mailbox...  

I just don't like how I have a ton of accounts in the AD that are only used to access it's mailbox when anyone could go on a computer and just type in "magazines" as the user account (for example) and then type in a password and get on (if they know it or guess it).
Question by:Swamp_Thing
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
  • 4
  • 3
LVL 16

Accepted Solution

robrandon earned 600 total points
ID: 22777326
For the accounts that you want to have mailboxes, but not allow the accounts to logon, go into AD and the properties of the account.  Go to the Account tab and click the "Logon Hours..." button.  Deny the logon for all times.

You can also try something similar with the "Log On To..." button, by specifying specific computers but not selecting any.


Author Comment

ID: 22777528
So there's no way to just create an Exchange mailbox?  I don't need the account to be able to log into the domain.
LVL 16

Expert Comment

ID: 22777563

You can create a public folder and give the public folder an email address.  That way the emails will go there and you can grant appropriate rights to the folder.

Is Your AD Toolbox Looking More Like a Toybox?

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.


Author Comment

ID: 22777800
I'm going to try this now and see if that will work ok, it sounds like it will.  I'll post back in a few minutes.

Author Comment

ID: 22777887
Hmmm... not sure where or how I would do this.  Would I be creating the new "public folder" in AD or within Outlook?
LVL 16

Assisted Solution

robrandon earned 600 total points
ID: 22777983
Within Outlook/Exchange.

The easiest way is to go into Exchange System Manager.  You can find Folders - Public Folders under the Administrative Groups.  Create a folder there.  Then, right-click the folder, and choose Mail Enable.  

Also, right-click the folder, choose properties, and set the Permissions.


Author Comment

ID: 22779525
Ok, I did that and I was able to create a test public folder and give it an e-mail address.

However, the number of unread items doesn't appear next to the public folder.  If there were 10 unread e-mails in there, the user wouldn't know unless they opened the folder.  Being able to be mapped to a mailbox as opposed to a public folder seems to work better in my application.

Therefore, I will accept your answer in which you said I could just set the logon hours for the accounts that are just being used for their mailbox.  Thanks for the help!

Featured Post

Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

This article will help to fix the below error for MS Exchange server 2010 I. Out Of office not working II. Certificate error "name on the security certificate is invalid or does not match the name of the site" III. Make Internal URLs and External…
This process allows computer passwords to be managed and secured without using LAPS. This is an improvement on an existing process, enhanced to store password encrypted, instead of clear-text files within SQL
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager
how to add IIS SMTP to handle application/Scanner relays into office 365.
Suggested Courses
Course of the Month7 days, 19 hours left to enroll

765 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