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”

Select-Object: Filtering Output in PowerShell

The Select-Object cmdlet allows you to display certain properties of an object in a PowerShell command. Select-Object can select unique objects, a specified number of objects, or objects at a specified position in an array. Also, some PowerShell cmdlets don’t display all of the object’s properties, and you must use Select-Object to display additional attributes.

Continue reading “Select-Object: Filtering Output in PowerShell”

Configure OpenVPN Authentication via LDAP (Active Directory)

By default, OpenVPN certificates are used to authenticate users. This means, that any user who has a *.ovpn file with connection settings and certificates can connect to your OpenVPN server. In OpenVPN, you can enable and configure user authentication through an LDAP server (Active Directory or FreeIPA).

Continue reading “Configure OpenVPN Authentication via LDAP (Active Directory)”

OpenVPN: Assigning Static IP Addresses to Clients

By default, when connecting, OpenVPN clients receive a dynamic IP from the DHCP range that you set in the OpenVPN server configuration file (server.ovpn) server network netmask (for example, server 10.24.1.0 255.255.255.0). In some cases, you want certain OpenVPN clients to get the same static IP address every time they connect.

Continue reading “OpenVPN: Assigning Static IP Addresses to Clients”

How to Create a Windows Virtual Machine in Proxmox VE

In this article, we will show you how to create a virtual machine on the Proxmox Virtual Environment hypervisor and install the Windows 10/11 or Windows Server 2022/2019/2016 guest operating system on it.

Continue reading “How to Create a Windows Virtual Machine in Proxmox VE”

Renaming Mapped Network Drives in Windows

When you mount network drives in Windows (manually, via net use, or GPO), File Explorer shows the full UNC path to the mapped network folder as the drive name. In this example, the network shared folder \\DESKTOP-1FOH5A8\Share\Docs\Reports\2022 is mapped as drive Z:\. Displaying the network drive name as a UNC path is inconvenient for many users. In Windows, you can change the name of the mapped network drive through the registry.

Continue reading “Renaming Mapped Network Drives in Windows”

Installing KVM VirtIO Drivers in a Windows Virtual Machine

After installing Windows guest in a virtual machine on a KVM host, you must install the correct device drivers for virtual hardware  (KVM VirtIO drivers). Without these drivers, guest Windows won’t be able to recognize virtual network adapters and a number of other virtual hardware.

Continue reading “Installing KVM VirtIO Drivers in a Windows Virtual Machine”