Add a DNS zone on Windows Server

In this “how to” tutorial, I will show you how to add a DNS zone on a Windows DNS server. Open the DNS console On a server where the DNS role is installed, open the DNS Manager administrative console. Add a DNS zone in direct lookup zones In the left panel, right-click on Direct search …

Read more



OpenSSH client and server – installation on Windows Server 2012R2 and 2016

In this tutorial, I will explain how to install the OpenSSH client and Server on Windows Server 2012R2 and 2016. At the time of writing this tutorial, this feature is native to Windows 10 and Windows Server 2019 and you might also want to have OpenSSH client or server on an earlier version. Personally, I …

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



PrintNightmare: secure print configuration

In this “little” tutorial, I will show you how to set up a “secure” configuration. Since the publication of the PrintNightmare flaw, Microsoft has deployed several updates to correct this problem and took the opportunity to modify the behavior of Windows to harden the configuration. In this tutorial, we will see the parameters to use …

Read more



KB5005033: Allow non-administrators to install printer drivers

To fight against the flaws that affect the print spooler on Windows, the KB5005033 of August 2021, modifies the behavior of Windows 10 by requesting the administrator rights for the installation and the update of the print drivers. The changes proposed in this article bypass the KB related blockage, which again exposes your system. It …

Read more



KB5005573 – Error 0x0000011b – Printing

On Windows Server 2016 servers, KB5005573 randomly causes printing error 0x0000011b on computers. As of 9/17/2021, the workaround is to uninstall this update from the print servers. In the case of using WSUS, the update should also be disapproved. Edit 1: Another workaround will be to change the value of the HKEY_LOCAL_MACHINE \ SYSTEM \ …

Read more



Use the hosts file to simulate a DNS record on Windows

Location of the hosts file : C:\Windows\System32\drivers\etc. Pour ajouter un enregistrement : 1. Start notepad as administrator. 2. Open the hosts file located in C:\Windows\System32\drivers\etc. To display the hosts file which has no extension it is necessary to select All files (*. *) 3. Add a record in the form: 4. Save and close the …

Read more



Jenkins: run PowerShell scripts

To complete the tutorial on Jenkins where I explain how to use it to run scheduled tasks and therefore turn it into a scheduler, I will show you in this tutorial, how to run PowerShell scripts. The Double-Hop Problem If you followed the first tutorial, I showed you how to run “simple” PowerShell cmdlets. If …

Read more



Chocolatey: software repository for Windows

In this article, I will tell you about a very practical little program to make it easier for you to install programs on workstations and servers. Chocolatey is to Windows what apt-get is to Debian. Chocolatey allows you to install, update and remove software in PowerShell (ps). To install Chocolatey you must launch the command …

Read more



Export / Import a scheduled task

In this tutorial, I will tell you how to export and import a scheduled task. This tutorial applies to both Windows Server and the Desktop version (Windows 10). To illustrate this tutorial, I will export a scheduled task that runs a PowerShell script that allows restarting a computer. The scheduled task runs the ps-restartcomputer.ps1 script …

Read more