How to Hide Specific OU in Active Directory Users and Computers

When you open an active directory users and computers console, you will see some of the following containers or OUs. These are the available OUs or container types:

  • Builtin
  • Computers
  • Domain Controllers
  • ForeignSecurityPrincipals
  • Managed Service Accounts
  • Users

Show all OU in Active Directory Console

But these are not the only containers or organizational units in the active directory users and computers console. Some of them are hidden and you can show them in the list by clicking on: View -> Advanced Features. So here is how ADUC looks like in advanced mode.

ADUC in advanced mode

Hiding a Specific OU in Active Directory Users and Computers

Rarely used containers or OUs can be hidden so they will not be visible in standard mode. You can follow these steps to hide any OU or container.

Step 1: In advanced mode, right-click a container you want to hide.

Step 2: Open Attribute Editor tab.

Step 3: Locate showInAdvancedViewOnly attribute and double click it.

Step 4: Choose true and click OK.

Hide an OU in Active Directory

When you have hidden some containers, this is how ADUC looks like in standard mode:

Hidden Containers not shown

 

Leave a Comment