Creating a local user on every machine in the UK OU

  • Thread starter Thread starter jcruickshank
  • Start date Start date
J

jcruickshank

I need to create a local user and give it local administrator rights
over the local machine and i want to do this for every Client machine
with in an Active Directory OU.

Is this possible?

I've tried using a script but the one i found required me to have a
..txt list of the computers, is there no way to query the directory
store the results inside a variable and then run the create script
against the results of the query?
 
In
I need to create a local user and give it local administrator rights
over the local machine and i want to do this for every Client machine
with in an Active Directory OU.

Can I ask why you need to do this? Why do you need local user accounts
(aside from the built-in Administrator) on any domain member computer at
all?

Is this possible?

Yes.
Is it adviseable? Probably not - but I don't know the answer to the question
above.
I've tried using a script but the one i found required me to have a
.txt list of the computers, is there no way to query the directory
store the results inside a variable and then run the create script
against the results of the query?

What about a batch file - specified in a computer startup script via group
policy?

Type "net user /?" in a command prompt (no quotes) and see what you can do
with it.
 
Back
Top