Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

user to update own AD profile

Posted on 2008-06-11
8
Medium Priority
?
270 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
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!

 

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 160 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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

Welcome, welcome!  If you are new to the series and haven't been following along, please take a brief moment to review the first three installments: Part 1 (http://www.experts-exchange.com/Programming/Languages/Visual_Basic/VB_Script/A_266-VBScri…
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…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses

609 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