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



DFS Replication: Installation and Configuration

Presentation DFS Replication allows you to set up a replication of a folder between several servers. There are “two types of replications”. One-way replication This type of replication is mainly used to centralize file server backups on a backup server. Multidirectional replication This type of replication makes it possible to have a folder with the …

Read more



PowerShell: configure an IP address

In this tutorial, I will walk you through how to configure an IP address and DNS servers using PowerShell. The first step will be to retrieve the Index from the card. Enter the following Cmdlet to display the computer’s network cards: Get-NetAdapter We will therefore configure the card which has Index 2. IP address configuration …

Read more



Hyper-V : enable nested virtualization

Presentation Nested virtualization is a feature available on Hyper-V from Windows Server 2016 and Windows 10, which enables virtualization options in a virtual machine. To put it simply, nested virtualization allows virtualization in a virtual machine. There are also some prerequisites : The Hyper-V host must be on Windows Server 2016/2019 or Windows 10 1607 …

Read more



Active Directory: Restore default GPOs Default Domain Policy / Default Domain Controller Policy

In this tutorial, we will see how to restore GPO Default Domain Policy / Default Domain Controller Policy to default. On domain controllers, a DCGPOFIX command line tool is available to restore the 2 default policies. Before proceeding with the restoration of the policies, I advise you to make a backup of this one before. …

Read more



AppLocker : configuration in an Active Directory environment

Presentation In this tutorial, we will see how to configure AppLocker in an Active Directory environment using group policies. AppLocker is a Windows feature that is similar to a firewall at the application level. AppLocker allows you to control the applications running on computers. AppLocker is able to act on: Executables (.exe). Windows Installer (msi, …

Read more



GPO: add a registry key

Intro In this tutorial, we will see how using a group policy, add a registry key. With group policies, it is also possible to delete or modify the value of an existing key Depending on the hive (HKLM / HKCU), the strategy should be placed on the correct OU (Organizational unit) and the correct computer …

Read more