Editing with ADSIEDIT

I have a group of AD accounts in their own OU that I need to manipulate.  I need to be able to hide and unhide the accounts from the Exchange address book.  How can I do this without having to go into each account under the Exchnage Advanced tab and checking or unchecking the box that says "Hide from Exchange Address Lists"  

I want to be able to change the description field as well.  Thank you
LVL 1
clexchAsked:
Who is Participating?
 
Farhan KaziConnect With a Mentor Systems EngineerCommented:
Hi Clexch,
You can use 'ADModify.exe'
Here are the steps:

Double click on "ADModify.exe" -> Click on "Modify Attributes" -> From "Domain List" select your domain name -> From "Domain Controller List" select server name -> From "Show only" check only on "Users" -> Click on Green Arrow button -> From "Domain Tree List" Select your domain name and click on + -> Select OU where users exists -> Click on "Add to List" button -> Now from right side list select users to whome to want to set session properties or click on "Select All" button if you want to set properties for all users. -> Click on "Next" button -> Click on "Exchange General" tab -> Check or Un-Check "Hide From Address Lists" -> Click on Go button.

For more Info:
http://www.computerperformance.co.uk/w2k3/utilities/admodify.htm
http://technet.microsoft.com/en-us/library/aa996216.aspx

To download:
http://www.computerperformance.co.uk/ScriptsGuy/ADModify.zip

Hope this helps!
Farhan
0
 
clexchAuthor Commented:
Thank you for straighting that out for me.  ADModify is what I was thinking of.  I don't know where I got adsiedit from.
0
 
clexchAuthor Commented:
What rights do I need to use ADModify?  Thanks
0
 
Farhan KaziSystems EngineerCommented:
User should have Domain Admins rights or a delegated user with at least user properties editing rights.
0
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.

All Courses

From novice to tech pro — start learning today.