Discussion Locked

Automate Add Auth Usrs to Pwr Users Grp

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

We recently migrated to a new W2K domain (Native Mode). I need to add Authenticated Users to the local Power Users group on all my PCs. All PCs are running W2K. I tried using the cusrmgr tool included in the Resource Kit but it doesn't recognize the Power Users group. I did run it from a domain admin account. (It did work when I added a domain group to the local Admin group.)

Does anyone know how I can automate this task? I really don't want to have to Manage each PC and manually add users if I don't have to!

Thanks in advance!

3 replies

by joseph moore

The NET LOCALGROUP command will do this for you.
For example, say the NetBIOS name for your Win2K domain is MYDOMAIN (I know how to do this in an NT domain, so that is why the NetBIOS name for your native mode Win2K domain). To add Authenticate Users to the local Power Users, the syntax would be:

net localgroup "power users" "MYDOMAIN\Authenticated Users" /ADD

Note the quotation marks. You will need them.

Now, how do you remotely run this on all client systems? Well, you could put this line in the user logon scripts. I "think" it would work. You should test it out first. Definately, if an admin logs into a client workstation, the line in the admin's login script would work. But, it should work also from a normal user login script.

hope this helps

by lorkah

Well, net localgroup did not work. I'm assuming it is because the user does not have admin rights needed to add members to the Power User group. I tried putting it in a startup script...same result. I ended up creating a .bat file, ran it as a domain admin from my PC with the following syntax:
\\server\share\cusrmgr.exe -m \\workstation\ -alg "power users" -u everyone. This worked great for all the machines that were on the network at the time. Thanks for your help though!

This discussion is closed to new replies.