Jump to content

Add Computer to Group and or OU

Recommended Posts

Before I get started on re-inventing the wheel, I wanted to check if anyone already has code to move a computer (or multiple computers) from one OU to another.

Also looking for a way to add computers to a security group in AD.

Anything basic would be good, but if you have anything that's well suited for my task mentioned below, that would be great.

I only have Domain admin rights to my division OU, not the whole domain.

I have a Computers OU with a sub OU for XP machines and a sub OU for W2K machines.

I also have two groups for XP and W2K respectively.

I'm having trouble getting some of our remote sites to place computers in the proper containers when they create them so I'm looking for a way to either automatically do this or for me to more easily do it with a double-click when notice machines haven't put moved to the sub OU.

Thanks for any help or suggestions!

Link to post
Share on other sites


maybe this helps out:


So long,


Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...