Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

The background:

  1. Multiple OU Domains have been created.
  2. I want to add these domains with specific/different access rights to hundreds of machines.
  3. I have a script that is able to add the OU in the machine provided I have RDP to it.


How do I effectively do this without going to rdp to each machine?

share|improve this question
Weird, simul-edit, with nearly the same result. – jscott Sep 30 '10 at 1:54
-1... closing: The question is simply one thing: not making sense. There is no such thing as a OU Domain. – TomTom Sep 30 '10 at 5:16
Noted, maye the psexec is the answer after all – Niko Gunadi Sep 30 '10 at 6:27
up vote 0 down vote accepted

I don't really understand your terminology - Are we talking about OUs, Groups or Domains here? They're all very different things. Could you clarify this?

Regarding your question about executing a script across many workstations without remoting onto them: You should be able to achieve this with PSExec.

share|improve this answer
My script has multiple lines of: # net Localgroup "Backup Operators" WINDOW_LEVEL1 /add – Niko Gunadi Sep 30 '10 at 2:29
Ok, and what os that was clarifying? Seriously - get your terminology right. I dont understand it wither. – TomTom Sep 30 '10 at 5:15
I agree that my terminology is confusing. Though in the end, I just want to execute commands on remote computer with I'm logging in to the server. So using psexec should be do-able. – Niko Gunadi Sep 30 '10 at 6:26

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.