Install and Configure NFS Client on Windows

The Network File System (NFS) client is not installed by default on Windows Server 2022/2019/2016/2012R2 and Windows 11/10 desktop versions. To install it, open the Server Manager and select Add Roles and Features -> Client for NFS.

Continue reading “Install and Configure NFS Client on Windows”

USB Devices Passthrough over IP Network on Windows with Usbipd-win

The inability to pass through a connected USB device from a Hyper-V host to a virtual machine is one of the major shortcomings of the Microsoft hypervisor. You can use the open-source project usbipd-win to solve this problem ( The usbipd-win utility allows you to pass through (redirect USB device or key including HASP) over the network from a Windows host to any Hyper-V virtual machine, remote computer running Linux, Windows, or WSL2.

Continue reading “USB Devices Passthrough over IP Network on Windows with Usbipd-win”

How to Rename a Domain Controller in Active Directory?

If you try to rename an Active Directory domain controller the way you rename domain member computers/servers (by using the sysdm.cpl console or the Rename-Computer PowerShell cmdlet)), a warning will appear:

Domain controllers cannot be moved from one domain to another, they must first be demoted. Renaming this domain controller may cause it to become temporarily unavailable to users and computers. For information on renaming domain controllers, including alternate renaming methods, see Renaming a Domain Controller ( To continue renaming this domain controller, click OK.

Continue reading “How to Rename a Domain Controller in Active Directory?”

Setting Process CPU Affinity in Windows

By default, a running app in Windows can run on any of the available CPU cores. The operating system manages and distributes processes between cores. However, you can manually bind certain processes (applications) to processor cores in Windows using the Processor Affinity feature. Let’s see how to bind a program (process) to specific CPU cores in Windows.

Continue reading “Setting Process CPU Affinity in Windows”

How to Remotely Logoff Users in Windows?

Several times I came across a situation where one of the users on a Windows Server host with an RDS (Remote Desktop Services) role ran an application that leaked and occupied all available RAM. It was impossible to connect to such a host via RDP remotely. To kill the leaked process, you need to remotely logoff this user.

Continue reading “How to Remotely Logoff Users in Windows?”

Domain Controller Crashes on Boot with Stop Code 0xc00002e2

After an emergency shutdown of a physical server with an Active Directory domain controller role, the BSOD with an error stop code 0x00002e2 appears on boot. The error points out that the Active Directory database (NTDS.DIT) is damaged. In this article, we will figure out how to fix the ntds.dit file and start a domain controller (in our case, it is a server running Windows Server 2019).

Continue reading “Domain Controller Crashes on Boot with Stop Code 0xc00002e2”

Windows: Monitoring Logs and Text File Changes in Real Time

If a Windows service or application writes logs not to the Event Viewer (.evt and .evtx files), but to plain text log files, you sometimes need to display and monitor new events in real-time.

Continue reading “Windows: Monitoring Logs and Text File Changes in Real Time”

Using Predictive IntelliSense in PowerShell

Predictive IntelliSense is a new feature in PSReadline 2.1 and is available by default in PowerShell 7.2. When typing a command in the PowerShell console, Predictive IntelliSense suggests the appropriate commands you have previously typed (using the history of previous PowerShell commands). Predictive IntelliSense works differently than the TAB auto-completion feature (or Bash’s TAB auto-completion). the suggestion of subsequent characters in the command is displayed in gray text after the cursor.

Continue reading “Using Predictive IntelliSense in PowerShell”

Disable Local Accounts in Windows via GPO

Best security practices for Windows domain networks recommend disabling local user accounts on computers and servers in the Active Directory domain. Local accounts with administrator permissions on computers can be a weak part of your domain’s security. You can use tools like LAPS (Local Administrator Password Solution) to set unique, complex administrator passwords, or you can completely disable local administrator (and/or user) accounts using AD Group Policies.

Continue reading “Disable Local Accounts in Windows via GPO”