adding users in a domain to the local power users group

looking to add all users in a domain to the powers users group of there local machine
is there any way i can do this
(is needed to run some bespoke software)
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

It is possible. The method depends on whether you are using

1. Active Directory with W2K/XP clients
2. NT 4.0 domain with NT/W2K/XP clients
3. Active Directory with NT/W2K/XP clients

Option 1 you can use Group Policies to define the membership of remote local groups. Use Active Directory Users and Computers, select an OU containing the desired computer objects, right click, properties, Group Policies

Computer Configuration\Windows Settings\Security Settings\Restricted Groups

Restricted groups allow an administrator to define two properties for security-sensitive groups (that is, "restricted" groups).

The two properties are Members and Member Of. The Members list defines who should and should not belong to the restricted group. The Member Of list specifies which other groups the restricted group should belong to.

When a restricted Group Policy is enforced, any current member of a restricted group that is not on the Members list is removed. Any user on the Members list which is not currently a member of the restricted group is added.

Option 2 is more difficult but may be achieved by using the rekit command SUBINACL.EXE

Option 3 - Option 1 won't work on your NT clients.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
In an NT environment, you can use the net command as follows:

net localgroup "power users" /add "DOMAIN\Domain Users"

where DOMAIN is the name of your NT domain.

This will make all users that authenticate to the domain a member of the local power users group.
tpeacock  - that's a great command but if run in the context of the logged on user is likely to fail. We're assuming that the logged on user is not already a member of the Power Users or Administrators local groups. Only members of these groups can change the membership of the Power Users local group.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows OS

From novice to tech pro — start learning today.