Steve.mccall Posted August 8, 2006 Posted August 8, 2006 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 machineAny help would really be appreciated. Thanks Steve
awilliamson Posted August 8, 2006 Posted August 8, 2006 If this is an AD based network, adding DOMAIN USERS to the local Administrators group will grant the permissions.
Steve.mccall Posted August 8, 2006 Author Posted August 8, 2006 If this is an AD based network, adding DOMAIN USERS to the local Administrators group will grant the permissions.I'd really prefer to write a script that will enable a user that has never used a machine before to be added physically to the machine rather than add the domain user to the admin group if it is possible.Steve
tain Posted August 8, 2006 Posted August 8, 2006 http://www.microsoft.com/resources/documen...p.mspx?mfr=trueTo add the existing user accounts stevev, ralphr (from the Sales domain), and jennyt to the Exec local group on the local computer, type: net localgroup exec stevev sales\ralphr jennyt /addHopefully you realize the security implications of what you are trying to accomplish.
RogueSpear Posted August 8, 2006 Posted August 8, 2006 I'd really prefer to write a script that will enable a user that has never used a machine before to be added physically to the machine rather than add the domain user to the admin group if it is possible.What you just said are the exact same thing, unless you mean that you want to create a local user with admin rights to that machine, but will have no rights at all on the domain.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now