Active Directory: retrieve the base DN (distinguishedName) attribute of an object

In this tutorial, I will explain how to retrieve the base DN also called distinguishedName in an Active Directory. This attribute is often used to configure LDAP/Active Directory bindings for applications. All Active Directory objects (Users, Computers, Organizational Unit, etc.) have the attribute: distinguishedName and this is unique. I say that the base DN attribute …

Read more



Windows Server 2022: Installation of an Active Directory domain controller

In this first tutorial dedicated to Windows Server 2022, I will show you how to install an Active Directory domain controller. Si vous débutez avec les services Active Directory, je vous invite à suivre le cours j’ai créé avant : In this tutorial, here is what we will see: Installing the Active Directory Domain Services …

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



Rename a domain controller

In this tutorial, we will see how to rename domain controller in the “rules of the art”. The name change happens in several times, here is a summary: Add a secondary name to the DC Permutation of the secondary name in primary Deleting the secondary name In an environment with multiple domain controllers, it is …

Read more



Active Directory: installation and configuration of a domain controller

In this tutorial, we will see how to set up an Active Directory domain.

In summary, an Active Directory is a database (LDAP) that contains a set of objects (users, computers, etc.) and delivers several services:

Centralization of objects on the network in a single database
User Authentication
Rights management
Policy Application (GPO)