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: Setting up an authentication silo

In this tutorial, I will explain how to set up an authentication silo with Active Directory, but before going into detail, I will explain in a few words what an authentication silo is used for. In fact it is quite simple, it allows to control on which computers a user can connect, the authentication silos …

Read more



GPO: Run PowerShell script at logon

In this tutorial, I will show you how to run a PowerShell script at user logon using Group Policy (GPO) in an Active Directory environment. Before you begin this tutorial, here are some considerations when running scripts at login: In this tutorial I will use a pretty simple script, it will just create an entry …

Read more



Windows 11 24H2: GPO application problem – gpupdate

With the deployment of Windows 11 24H2, you may have group policy application issues, which is visible by running the gpupdate command. Error message: Computer policy could not be updated successfully. The following errors were encountered:Group Policy processing failed. Windows could not resolve the computer name. This could be due to one of the following …

Read more



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



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



GPO – make a domain user local administrator of a computer

In this tutorial, I’ll show you how to make a domain user local administrator of a computer or server using Group Policy (GPO). In a previous tutorial, I explain how to do this using restricted groups, which involved creating an Active Directory group, putting the user in that group and then using the group policy, …

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