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



Configure roaming profiles in an Active Directory environment

Presentation In this tutorial, I will explain how to set up roaming profiles for your users in an Active Directory environment. When I started working (already a few years ago), roaming profiles were all the rage. Roaming profiles store user (profile) data (C:\Users\) in a shared folder that is located on a server. This allows …

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: 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



PowerShell: sign scripts

In this tutorial, I will explain how to sign your scripts. Before going into the subject, we will see why signing the scripts, the main reason is security. If your environment (computers + servers) is configured to run only signed scripts and a PowerShell script is launched in a malicious file, it will be neutralized …

Read more



DFS: delete a namespace on Windows Server

In this tutorial, I will explain how to delete a DFS namespace on Windows Server. In the vast majority of cases, you won’t normally need this tutorial 😉 Although this operation is relatively simple to perform using the graphical interface, it sometimes happens that it does not go as planned, especially if you have planned …

Read more