Solved

Make Users within an AD container not visible in the GAL

Posted on 2014-02-18
3
349 Views
Last Modified: 2014-02-21
We have a "PendingDeletion" container within Active Directory.  We put User accounts here for 90 days after the user leaves the company in case they return or the account is needed.  After 90 days we delete the account.  During this time Id like to make it so that anyone added to the PendingDeletion folder in AD is not visible in the GAL.
0
Comment
Question by:Twhite0909
[X]
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
3 Comments
 
LVL 22

Expert Comment

by:Nick Rhode
ID: 39867384
On that users mailbox you would choose the option on the General Tab in the Properties to "hide from exchange address list"  prior to disabling or moving the user account.  By default the GAL updates at 4:00am every morning.

General tab, select the Hide From Exchange Address
0
 

Author Comment

by:Twhite0909
ID: 39867399
I have seen the option for individual mailboxes to do this yes.  What I was hoping for was a way that when I move a handful of users to a Container that the Container has the rule to hide everyone under it from the GAl.. This is instead of manually checking the option for each user.
0
 
LVL 19

Accepted Solution

by:
Peter Hutchison earned 500 total points
ID: 39867451
I would create a powershell script, that say, is scheduled to run once a day, picks up all the mailboxes in that container and change the Hidden settings to true.
e.g.
Get-Mailbox -OrganizationalUnit "ou=ArchiveUsers,ou=Mycompany,ou=Com" | Set-Mailbox -HiddenFromAddressListsEnabled $true
0

Featured Post

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

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 errors for MS Exchange Server 2013 I. Certificate error "name on the security certificate is invalid or does not match the name of the site" II. Out of Office not working III. Make Internal URLs and Externa…
Check out this step-by-step guide for using the newly updated Experts Exchange mobile app—released on May 30.
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …
This video discusses moving either the default database or any database to a new volume.

726 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