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



WDS: capture an image of Windows

wds capture windows

Introduction In this tutorial, we will see how to capture Windows with a capture image on the WDS service. Before capturing the machine, the operating system must have been prepared using the sysprep utility. If you want to capture the image and send it automatically to the WDS server, you must first inject the drivers …

Read more


SQL Server configure remote access

This article describes how to configure remote access to a SQL Server (EXPRESS). 1. Open the SQL Server Configuration Manager. 2. Go to SQL Server Network Configuration / Protocols for SERVER NAME, then right-click TCP / IP and click Properties. 3. Go to the IP Addresses 1 tab and then search for the IPAll 2 …

Read more