Solved

user to update own AD profile

Posted on 2008-06-11
8
250 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
  • 4
  • 4
8 Comments
 
LVL 65

Expert Comment

by:RobSampson
Comment Utility
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
Comment Utility
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
Comment Utility
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
 

Author Comment

by:hherrera
Comment Utility
I tryied the code you provided, no errors. it displays the "DONE" windows but it does not update the users info in AD.
0
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 
LVL 65

Accepted Solution

by:
RobSampson earned 40 total points
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
No problem.

Thanks for the grade.

Regards,

Rob.
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Welcome to part one of a multi-part tutorial series, VBScript for Windows System Administrators.  The goal of this series is to teach non-programmers how to write useful VBS code to automate their environment, and perform tasks faster, and in a more…
Well hello again!  Glad to see you've made it this far without giving up.  In this, the fourth installment of my popular series, I'm going to cover functions and subroutines, what they are, and why they are useful.  Just in case you stumbled onto th…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

771 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

12 Experts available now in Live!

Get 1:1 Help Now