Solved

user to update own AD profile

Posted on 2008-06-11
8
264 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
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
Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

 

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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Excel .....ActiveWorkbook.SaveAs 12 72
Make a file test.vbs using vbscript 5 73
Problem to open text file 11 113
Passing Credentials into a command line 13 35
Welcome back!  My apologies for taking so long to write part two of this series; it's been a long time coming!  As I promised in Part 1, this article will focus on how to locate those elusive AD properties that you are searching for.  Why is this us…
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 a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

831 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