Solved

Update User Profile in AD

Posted on 2010-09-20
3
302 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
[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
  • 2
3 Comments
 
LVL 7

Accepted Solution

by:
grantsewell earned 500 total points
ID: 33718098
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
ID: 33719261
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
ID: 33719277
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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Had a business requirement to store the mobile number in an environmental variable. This is just a quick article on how this was done.
Let's recap what we learned from yesterday's Skyport Systems webinar.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Suggested Courses

617 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