GPO: Run a script when the computer starts

Overview

Presentation In this article, we will see how to set up a script that runs at startup of the post using Group Policy (GPO). The advantage of using this type of script is that it is executed with the Administrators rights, which makes it possible to launch software installations on the workstation without any elevation …

Read more



Active directory: Delete a child domain

In the article Active directory: setting up a child domain where I explain how to configure a child domain in an Active Directory environment, I will explain here how to delete a child domain. As a reminder, when setting up the child domain, a trust relationship was created between the two domains and DNS delegation …

Read more



Remove an Active Directory Domain Controller

Supprimer controleur de domaine

In this article, we will see how to remove a domain controller in an Active Directory environment. The deletion is done in two steps: Demote the domain controller: remove the controller configuration. Delete roles. Before downgrading the server, ensure that the server does not have an FSMO role and always have at least 2 active …

Read more



DFS replication resolve error 4012

This article describes how to troubleshoot the DFS Replication Service 4012 error. In the Windows event log you have an error like this: The DFS Replication service stopped replication on the folder to the following local path: C: \ Windows \ SYSVOL \ domain. This server was disconnected from the other partners for a period …

Read more



Printer mapping: GPO and Script

When setting up an Active Directory, one of the things you want to set up automatically is the mapping of printers to users. Prerequisite: Have a server with the Print Service role (optional). It is possible to share a printer from the control panel. Have one or more shared printers. As for the mapping of …

Read more



GPO: disable access to previous versions

Resume

In this tutorial, I’ll explain how to disable access to previous versions from client computers by GPO in an active directory environment. Although convenient, this feature in case of user error can do some damage. As a reminder, in normal operation, access to previous versions is available by right-clicking on the folder. The GPO I …

Read more



GPO: Disable Server Manager at Logon

Overview

When logging on to a Windows Server (since 2008), the server manager opens automatically, but you do not necessarily need it. Personally, I even find that it tends to slow down the system. In this tutorial, we will see how to disable it with Group Policy (GPO) in an Active Directory environment. GPO: disable the …

Read more



Enable Windows Active Directory Recycle Bin 2012/2016/2019

Delete Objects - Trash

The Active Directory Recycle Bin is a feature that came with Windows 2008R2, which is disabled by default. To activate the recycle bin, the domain and drill level must be at least 2008R2. Once the trash is activated, it is not possible to go back. To use the Active Directory Recycle Bin, use the ADAC …

Read more



Approval relationship between this workstation and the primary domain failed

Windows 7/8/2008/2012 Here is how to fix this problem : 1. Log in with a local administrator account 2. Launch a command window in administratorr 3. Enter the following command: NETDOM RESETPWD /s:fqdn.controleur.de.domaine /ud:[email protected] /pd:MotDePasse 4. Restart the computer Windows 10/2016/2019 With Windows 10, there are several solutions to fix the problem, which we will …

Read more



GPO: Make users administrator of their computer

Presentation In this tutorial, we are going to have how to set up a GPO to make the admin domain users of their computer. The goal is to add the Domain Users group in the Administrators 1 group of the user station. The Domain Admins group is already a member of the group. Group Policy …

Read more