Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Automatically adding users to computers.

Status
Not open for further replies.

stevemccall

IS-IT--Management
Aug 8, 2006
2
GB
Hi, I'd like to be able to automatically add a used to a computer as an administrator at their first login after checking the user is a member of the active directory. I'm not really sure about how to go about it. I'm assuming I'll have to write a script that will identify the user in the AD then add it to the local machine

Any help would really be appreciated.

Thanks

Steve
 
if its at logon then are you implying that the logonscript will be used to perform this task??? if so then it will be run under the context of the user, so this would mean the domain user would have to have the rights to make themselves admins...which i doubt is the case otherwise you wouldnt need add them...if you get my drift
 
stevem,

mrmovie is right, but what you could possibly do is get the username, computername posted to a central file such as an excel doc or something, then when you have enough you may be able to automate adding the users as admins using the spreadsheet or whatever you chose...

That way you would also have more control.

Keyboard Not Detected.....
Press F1 to Continue.
:}
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top