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?

  • 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

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.

  • 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 clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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