You want to move an OU and all its child objects to a different
location in the directory tree.
126.96.36.199 Using a graphical user interface
Open the Active Directory Users and Computers snap-in.
If you need to change domains, right-click on
"Active Directory Users and
Computers" in the left pane, select Connect to
Domain, enter the domain name, and click OK.
In the left pane, browse to the OU you want to move.
Right-click on the OU and select Move.
Select the new parent container for the OU and click OK.
188.8.131.52 Using a command-line interface
> dsmove "<OrgUnitDN>" -newparent "<NewParentDN>"
184.108.40.206 Using VBScript
set objOU = GetObject("LDAP://<NewParentDN>")
objOU.MoveHere "LDAP://<OrgUnitDN>", "<OrgUnitRDN>"
One of the benefits of Active Directory is the ability to structure
and restructure data easily. Moving an OU, even one that contains a
complex hierarchy of other OUs and objects, can be done without
impacting the child objects.
If any applications have a dependency on the location of specific
objects, you need to ensure they are either updated with the new
location or preferably, reference the objects by GUID, not by
You should also be mindful of
impact of inherited ACLs and applied group policy on the new parent
5.7.4 See Also
MS KB 313066 (HOW TO: Move Users, Groups, and Organizational Units
Within a Domain in Windows 2000) and MSDN: IADsContainer::MoveHere