Solved

user to update own AD profile

Posted on 2008-06-11
8
267 Views
Last Modified: 2011-10-19
Hello, we have a script that updates information on active directory for admin users. Not admin users are not able to update their own profile. is it possible to give them access to only update their AD profile? all comments are appreciated.
0
Comment
Question by:hherrera
[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
  • 4
  • 4
8 Comments
 
LVL 65

Expert Comment

by:RobSampson
ID: 21765117
Can you use the HTA from here:
http://www.scriptinganswers.com/vault/AD%20Administration/

The second script is the HTA, just rename that frin VBS to HTA.

This HTA doesn't seem to change any delegation of accounts though....

Regards,

Rob.
0
 

Author Comment

by:hherrera
ID: 21773647
thank you for your comment, I was able to use that code but unfortunatelly it gives me the same result, which is that the profile does not update.
0
 
LVL 65

Expert Comment

by:RobSampson
ID: 21774478
Do you get any error with your VBScript if you just run a simple update?

Rob.
Set objAD = CreateObject("ADSystemInfo")
Set objUser = GetObject("LDAP://" & objAD.UserName)
objUser.TelephoneNumber = InputBox("Enter Telephone number:", "Telephone Number", "xxxx")
objUser.SetInfo
MsgBox "Done"

Open in new window

0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:hherrera
ID: 21774494
I tryied the code you provided, no errors. it displays the "DONE" windows but it does not update the users info in AD.
0
 
LVL 65

Accepted Solution

by:
RobSampson earned 40 total points
ID: 21774561
Hmmm, OK, remote directly into a Domain Controller, and run AD Users and Computers.
Go to a normal user account, and double-click it.  On the Security tab, see if SELF has necessary Write permissions, such as Write Personal Information and Write Phone and Mail Options

Regards,

Rob.
AD-User-Security.jpg
0
 

Author Closing Comment

by:hherrera
ID: 31466388
Thank you very much, that was it. in the SELF  properties, there was no write permissions enabled. thank you again.
0
 

Author Comment

by:hherrera
ID: 21774580
Thank you very much, that was it. in the SELF properties, there was no write permissions enabled. thank you again.
0
 
LVL 65

Expert Comment

by:RobSampson
ID: 21774599
No problem.

Thanks for the grade.

Regards,

Rob.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This is pretty cool.  The purpose of this VB Script is to help you document where JAR (Java ARchive) files and specifically java class files are located so that you can address issues seen with a client or that you can speak intelligently with a dev…
Not long ago I saw a question in the VB Script forum that I thought would not take much time. You can read that question (Question ID  (http://www.experts-exchange.com/Programming/Languages/Visual_Basic/VB_Script/Q_28455246.html)28455246) Here (http…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …

729 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