Active Directory: Change Object Owner in Bulk

Below you will find scripts that will allow you to mass change the owner of different Active Directory objects such as: In a “normal” situation, the owner of Active Directory objects is: When an object is created by a user who is not a member of one of the above groups through delegation or use …

Read more



Install WSUS role on Windows Server 2025

In this tutorial, we will see how to install the WSUS (Windows Server Update Services) role on Windows Server 2025, which will allow you to have a server in your environment to control the distribution of updates for Microsoft products (Windows, Office, SQL Server, etc.). The WSUS role is also a “component” of MECM, because …

Read more



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



Installing Windows Server 2025

In this first tutorial, dedicated to Windows Server 2025, we will see its installation, which differs very little from other versions of Windows Server. At the time of writing this tutorial, Windows Server 2025 is still in “preview.” I will also not cover the hardware requirements regarding CPU and RAM which will depend on several …

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



PowerShell: automatically delete files older than X days

In this tutorial, we will see how to delete files older than X day using PowerShell. This type of script is often used in businesses on servers to rotate logs. If we take the example of IIS, the logs are never deleted, which means that after 3 years, we end up with more than 1,000 …

Read more



ARR: Block PowerShell access to Exchange

In this tutorial, I will show you how to block PowerShell remote access to Exchange with ARR. As a security measure, if you use IIS ARR to publish Exchange servers to the Internet, you must block PowerShell remote access. By default, it is possible to remotely administer an Exchange server with PowerShell, we find all …

Read more