Active Directory: create an organizational unit (OU) in PowerShell

In this “How to” tutorial, we will see how to create an Organizational Unit in an Active Directory with the New-ADOrganizationalUnit cmdlet. Create an OU in PowerShell Open a PowerShell command prompt From a domain controller open a PowerShell window Use the New-ADOrganizationalUnit Cmdlet to Create the OU Enter the following command by adapting the …

Read more



Active Directory: Add an organizational unit – OU

In this “How to” tutorial, we will see how to create an Organizational Unit in an Active Directory with the Active Directory Users and Computers console available on domain controllers in graphical mode. Add an OU in the Active Directory Open the Active Directory Users and Computer console From a domain controller, open the Active …

Read more



GPO: add a registry key

Intro In this tutorial, we will see how using a group policy, add a registry key. With group policies, it is also possible to delete or modify the value of an existing key Depending on the hive (HKLM / HKCU), the strategy should be placed on the correct OU (Organizational unit) and the correct computer …

Read more



GPO: Central store

Vérification via l'éditeur de l'utilisation du magasin central

Presentation of the central store The central store makes it possible to share and synchronize all of the Group Policy Definition (ADMX) files on all of the domain controllers by relying on the SYSVOL folder. By default the ADMX files are in the C:\Windows\PolicyDefinitions folder which is specific to each domain controller. It is also …

Read more



Add an AD DS domain controller to an existing domain

Schéma multi AD

In this article, I will explain how to add a domain controller to an existing domain and manage replication links. Below, an illustration of the final architecture: Throughout this tutorial, we will add the controller XXXX-AD1 to the existing domain, which already has two controllers on site A. Prerequisites for XXXX-AD1: When adding the first …

Read more



FSMO roles

Presentation of FSMO roles In an Active Directory environment, there are 5 Flexible Single Master Operation (FSMO) roles, two roles are unique in the forest and the other three are unique in a domain. A domain controller can have none or more FSMO roles. Domain Naming Master It is unique in the forest, it is …

Read more



Active Directory: access the Active Directory Schema console

The Active Directory Schema console is not available natively, it is necessary to register it in order to access it. This console is to be used with great care, improper handling can put the entire Active Directory forest in error. This console gives access to the role FSMO: Schema Master. 1. Open a command prompt …

Read more



Create an Active Directory environment in PowerShell

Introduction In this tutorial, we will see how to create an Active Directory environment using PowerShell, that is to say the creation of the first domain controller which includes: The Active Directory tutorial: installing and configuring a domain controller explains how to do it using the graphical interface. Prerequisites Ideally from a blank server, which …

Read more