Solved

Update User Profile in AD

Posted on 2010-09-20
3
264 Views
Last Modified: 2012-06-21
We have Windows 2003 Active Directory Infrastructure.
The Helpdesk or to say the ID management team creates / updates user accounts.
The issue with what they are doing or to say how they are doing is that it is causing following issues:

1) When a name change is done for a user, as per the exchange policy the SMTP address also gets updated. However, the email address field in the General tab does not gets updated with the information of Primary SMTP address. With this missing information, the Officle address book does not gets updated and we see such enteirs in OALGen logs:
OALGen will skip user entry 'Michael Griffin' in address list '\Global Address List' because the SMTP address '' is invalid.
I am looking for a script which can be executed to update the Primary SMTP address in the email field of the General Tab for the User account properties.

2) When the helpdesk is creating the account, they are not updating the user display name properly and leave user full Name as their acocunt name. So when I look up for an individual say fo rexample Michael Griffin, i will get the result as "GriffinMi" which is the LAN account name. I want the display names of the users to be reflected correctly in AD.
I am looking for a script which can go and update user Full Name as their Display name in AD.

Please suggest and help
0
Comment
Question by:amku03
  • 2
3 Comments
 
LVL 7

Accepted Solution

by:
grantsewell earned 500 total points
Comment Utility
You can use an LDAP script to do all of these items. VBScript or PowerShell will most likely be the most common. This EE Answer can probably give you a few ideas:

http://www.experts-exchange.com/Programming/Languages/Visual_Basic/VB_Script/Q_23414946.html

If you're in an Exchange environment, the SMTP address should be updated automatically after the change is made there.

It sounds like you need to work with your Help Desk to make sure they are correctly updating the users to meet your needs.
0
 

Author Comment

by:amku03
Comment Utility
the script mentioned int the post is looking for a text file data.
I donot want to export data from AD and then put it in csv and run teh script.
i am looking for the script to update the Full Name of the user account as entered in the Display name field.
0
 
LVL 7

Expert Comment

by:grantsewell
Comment Utility
You can use that script as a source. If your select is the entire director, you can have your query search for *=sAMAccountName and run a DO WHILE loop.
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Starting in Windows Server 2008, Microsoft introduced the Group Policy Central Store. This automatically replicating location allows IT administrators to have the latest and greatest Group Policy (GP) configuration settings available. Let’s expl…
Installing a printer using group policy preferences is not that hard let’s take a look at it. First lets open up your group policy console and edit the policy you want to add it to. I recommend creating a new policy for each printer makes it a l…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…
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 …

763 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now