General discussion
February 7, 2002 at 05:37 PM
who's the daddy?

Localgroups

by who's the daddy? . Updated 24 years, 7 months ago

I am currently implementing a large Windows 2000 installation with multiple server and sites.

One thing I would like to do is add a domain group (PC Support) to the local Administrators group on all of the PC’s (they are all W2K pro) so the helpdesk staff can log in as themselves and be local admins (I don’t want to make them Domain admins or have to manually add the group to each PC).

I can’t find a way to do it with Group Policies.

I can do it with NET LOCALGROUP /ADD but standard users don’t have rights to do this.

I can use RUNAS /USER:ADMINISTRATOR “NET LOCALGROUP /ADD” but this asks for a password.

Does anyone know a way to pipe a password into the RUNAS command (I have tried < pword.txt where pword.txt contains the password but get an echo error) Any help is much appreciated.

This discussion is locked

All Comments