Install WSUS with a SQL Server database

Since Windows 2016 server, it is possible to install the Windows Server Update Service (WSUS) directly with a SQL Server database. In this article we will see how to proceed. Prerequisites To install WSUS with a SQL Server database you need: Windows 2016 or 2019 server for the WSUS role An instance of SQL Server …

Read more



WDS Boot PXE: Fix the 0xc0000001 Error

TFTP config

Symptom When you try to start a computer in PXE from a WDS server, the following error is displayed when loading the image: Windows failed to start. A recent hardware or software change might be the cause. To fix the problem:1. Insert your Windows installation disc and restart your computer.2. Choose your language settings, and …

Read more



Windows Server : view open files on network shares

In this article, I will explain how to view from a Windows server open shared files / folders. There are two ways to access open files / folders in either graphical or command-line mode using PowerShell. PowerShell List open folders / files: Get-SmbOpenFile Result : FileId SessionId Path ShareRelativePath ClientComputerName ClientUserName —— ——— —- —————– …

Read more



Installation and configuration of replica storage

Storage replica

Storage replication (storage replica) is a feature that comes with Windows Server 2016 that lets you replicate a volume to another server. To work the feature requires two volumes per server. The first for storing data and the second for logs. Storage replica works on the principle Active / Passive. The data is accessible only …

Read more



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



Windows file server: save access to files and folders

audit acces

Presentation In this tutorial, we will see a feature built into Windows, folder and file access auditing. This function allows logger access to resources (files and resources). It may be worthwhile to enable auditing on sensitive enterprise files to see if unauthorized people are trying to access it. Audit configuration Folder configuration 1. On the …

Read more



Manage Windows Server remotely in PowerShell with PSSession

Introduction In this tutorial, we will see how to remotely administer a Windows server in PowerShell (Powershell remoting) with PSSession. PSSession is the prefix of several Powershell commands that allow connection and management of it. All the commands in this tutorial are to be done with a PowerShell command prompt Prerequisites On the server where …

Read more