Windows Server 2025: Joining the Computer’s Active Directory Domain

In this tutorial, we will see how to join a computer running Windows Server 2025 to an Active Directory domain. Before joining the Active Directory domain, you must have a user (administrator) account in the target domain with the necessary rights to add a computer. Before you make sure that the domain join is successful, …

Read more



Windows Server 2025: Install the ADDS role and configure an Active Directory domain

In this new tutorial dedicated to Windows Server 2025 and the ADDS role which allows you to install a domain controller, we will see how to install this role and create a new Active Directory domain. Before getting into the technical part, here are the new features brought by Windows Server 2025 to the ADDS …

Read more



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



Active Directory: Secure Domain Join to Domain Admins

In this tutorial, we will address a security point on an Active Directory environment, which is the domain joining of computers. What you need to know (some administrators don’t know this), all domain users can join a computer to a domain, they can even join up to 10 computers. Domain administrators have no limit as …

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



Rename an Active Directory domain

The following procedure shows you how to rename an Active Directory domain. 1. Open a command window in “administrator” mode and enter the following command which will generate a Domainlist.xml file : 2. Edit the xml file, changing your old domain to the new one: In the file, I modified rdr-it.intra to rdr-it.com. 3. Enter …

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



Active Directory: Add a Domain Controller to PowerShell

Introduction In this tutorial, we will see how to add an Active Directory domain controller to an existing domain using PowerShell. To do this through the GUI, I invite you to read this article: Add an AD DS Domain Controller to an Existing Domain. (fr) Adding a domain controller to PowerShell is done in two …

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