Creating a local user/group using Group Policies

K

KDP

I'm not sure if this is possible, but almost feel like it should be.
I'm trying to create a local user and/or group using Group Policies.
Basically what I want to be able to do is create a new LOCAL user
anytime my Group Policy is applied to any workstation in a particular
OU.

I can't seem to find a way to dynamically create a new local user on
workstations without actually going to the workstations. I could write
a script using the net user command, but I was hoping there's an
option for it somewhere in Group Policies.

Any and all ideas would be much appreciated.

-KDP
 
G

Glenn L

This cannot be done using group policies.

I suppose you could use (sysinternals.com) PSexec to remotely run the "net
user" and "net group" commands on your workstations. This can parse the
workstation list from a file.

You could also write an ADSI script that queries the OU for workstations
then using WMI to access those workstations and perform your local account
management.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top