MDT: Running a PowerShell Script During a Deployment

In this tutorial, I will explain how to run a PowerShell script (.ps1 file) during a deployment with MDT. Copy the ps1 1 file to the Scripts folder in the DeploymentShare folder. Open the properties of the task sequence then add a task of type Run Command Line 1. Move the task to the desired …

Read more



DNS: conditional forwarder

DNS query

Presentation of conditional forwarder In this article, I will explain and show you how to set up a conditional forwarder on a Windows DNS server. As a reminder, DNS redirection allows the service to send requests to another DNS service to resolve the request for an unknown zone. A conditional forwarder is used to specify …

Read more



MDT: Install updates with WSUS

Installing updates during deployment

In this tutorial, I’ll explain how to enable Windows updates to a WSUS server when deploying an image with MDT. Enable updates Open the properties of an installation sequence, go to the Task Sequence 1 tab and activate one of the two update patches 2 by unchecking the Disable this step 3> box. > and …

Read more



GPO: Installing the FusionInventory Agent

Following the many messages that I can see on the forum regarding the installation of the FusionInventory agent, I will explain how I have been proceeding for several years. In this article, I will explain how to install the FusionInventory agent using a script that runs when the computer starts up. It is possible to …

Read more



WSUS: Set up client-side targeting

resume strategy

Presentation The client-side targeting on WSUS, when enabled, allows you to directly assign to a group declare in the console. This declaration is not done GPO or by modifying the register of the customer workstation. Once activated, it is no longer possible to change the assignment of a station by hand from the WSUS console. …

Read more



Change the DNS cache duration of DFS Namespaces

In this article, I will explain how to change the DNS cache of a namespace. By default, the DNS cache is 300 seconds or 5 minutes. For example, during a server migration, it may be necessary to reduce the client cache. Change the duration Open the DFS Distributed File System Management console, right-click the name …

Read more



MDT: enable monitoring

More info

In MDT, it is possible to activate the monitoring, which makes it possible to follow the deployment of the stations and to have a progress report from the console. The state of the deployments is kept for 3 days. Activation of the monitoring To enable monitoring, right-click on the MDT share and click Properties. Go …

Read more



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