Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Active Directory Organizational Unit (OU)

Organizational Unit (OU) is a container in Active Directory domain that can contain different objects from the same AD domain: other containers, groups, user and computer accounts. Active Directory OU is a simple administrative unit within a domain on which an administrator can link Group Policy objects and assign permissions to another user.

Thus, we can distinguish two main tasks when using OU, except for storing objects in Active Directory:

  • Delegation of management and administrative tasks within the domain to other administrators and users without granting them the domain administrator permissions;
  • Linking Group Policies (GPO) to all objects (users and computers) in this OU.

How to Create an Active Directory Organizational Unit Using the ADUC?

To create an Active Directory Organizational Unit, your account must have Domain Admins rights, or it must be delegated the permissions to create a new OU (in the entire domain or in a specific container).

Open the Active Directory Users and Computers snap-in and select the domain container in which you want to create a new OU (we will create a new OU in the root of the domain).

Right click on domain name and select New > Organizational Unit.

Specify the name of the OU to be created.

By default, any created Organizational Unit is protected from accidental deletion. If you open the properties of the created OU, you will see that the option Protect object from accidental deletion is enabled on the Object tab. To delete this OU, you need to clear this checkbox. When you delete OU, you delete all other objects that it contains.

Active Directory OU Structure

In small Active Directory infrastructure (20-50 users) it is not necessary to create new OUs, you can add all objects to the default root containers (Users and Computers). In a large infrastructure it is desirable to divide all objects into different containers. Basically, the hierarchical design of the Organizational Unit in Active Directory is used, either geographically or functionally.

For example, your organization has branches worldwide in different countries and cities. It would be logical to create separate containers for each country at the top level of the domain, and also create separate containers inside the country for the city and/or state. Inside the latter, you can create separate containers for administrators, groups, computers, servers and users (see screenshot).

If necessary, you can add additional levels of the hierarchy (buildings, departments, etc.). With this hierarchy, you can flexibly delegate AD permissions and assign GPOs.

How to Create an Active Directory OU Using PowerShell

Previously, to create an AD OU, you could use the console utility dsadd. For example, to create an OU in a domain, you can run this command:

dsadd ou “ou=IT,dc=theitbros,dc=com”

In Windows Server 2008 R2 and newer OS a separate module for interact with AD appeared: Active Directory module for Windows PowerShell (is a part of RSAT). You can use the New-ADOrganizationalUnit cmdlet to create an Organizational Unit. For example, create a new OU named Canada in the root of the domain:

New-ADOrganizationalUnit -Name "Canada"

To create a new OU in an existing container, run the following command:

New-ADOrganizationalUnit -Name Toronto -Path "OU=Canada,DC=theitbros,DC=com" -Description "Toronto city" –PassThru

How to Delegate Active Directory Permissions to the Organizational Units?

When delegating Active Directory permissions to OU to other users, it is desirable to grant permissions not directly to user accounts, but to administrative groups. Thus, in order to grant OU permissions to a new user, it is enough to add it to the security group.

To delegate, right-click on the OU and select Delegate Control.

In the Delegate Management Wizard, select the group of users which you want to grant access to.

Then, select the administrative tasks that you want to delegate.

The post Active Directory Organizational Unit (OU) appeared first on TheITBros.



This post first appeared on TheITBros.com, please read the originial post: here

Share the post

Active Directory Organizational Unit (OU)

×

Subscribe to Theitbros.com

Get updates delivered right to your inbox!

Thank you for your subscription

×