Windows Server

Last updated:

List all SPNs used in your Active Directory

Using setspn.exe: 3 unique methods to list Service Principal Names (SPNs) in your Windows network quickly using PowerShell / CMD.exe. An SPN or Service Principal Name is a unique identity for a service, mapped with a specific account.

Windows Server logo

Windows Server

Last updated:

Windows Server 2016 VM on Hyper-V stuck at stopping

If a Windows Server 2016 guest VM on Hyper-V hangs while stopping after Windows Updates, and it won't reboot, it might be caused by the recovery debug information type set. Especially when you have moved the Windows PageFile to a different partition / VHDX

Windows Server

Last updated:

Important note about Windows Update KB4056892

Microsoft's January 2018 Meltdown and Spectre updates, like KB4056892, were only offered when the QualityCompat registry key was set by your anti-virus software.

Windows Server

Last updated:

How to: Check installed .NET Framework versions

Users can install and run multiple .NET Framework versions on their computers. When you develop or deploy your app, you might need to know which .NET versions are installed on a machine and here is how to check the .NET version.

Microsoft SQL Server logo

Windows Server

Last updated:

How to determine if a SQL Server backup is compressed?

Compressed SQL Server backups can be verified in PowerShell using a handy PowerShell function. This comes in handy when you need to verify if existing SQL Server backups are compressed.

four hardbound books - book archive

Windows Server

Last updated:

How to unzip a file using PowerShell

Unzip files using PowerShell command-prompt may come in handy sometimes, even on your Windows 11 workstation. Use Expand-Archive cmdlet or .NET System.IO.Compression.ZipFile, as this post explains.

WSUS IIS Application Pool Advanced Settings

Windows Server

Last updated:

WsusPool keeps crashing: stops again and again

WSUSPool keeps stopping? Sometimes you find your WSUS server keeps crashing over and over again. The WSUS application pool periodically stops, WSUS is unavailable and/or the WSUS management console hangs.

Windows Server

Last updated:

Detect ethernet network speed in Windows

Being able to detect the ethernet network speed using PowerShell or WMI is perfect for Windows Server Core. If you ever need to lookup the speed of your ethernet network card in Windows, on the command-prompt, use one of the following PowerShell / WMIC commands.

Windows Server

Last updated:

DisableNSRecordsAutoCreation with Dnscmd

How to restrict automatic NS resource record registration in Windows Server DNS with Dnscmd and the DisableNSRecordsAutoCreation setting.

Enable Win32 long paths through GPO in Windows Server

Windows Server

Last updated:

Enable NTFS long paths through GPO in Windows Server

Enable NTFS long paths and lift the idiotic 260 characters limitation for NTFS paths. You use a GPO or Group Policy Object in Windows Server or a registry key value to set LongPathsEnabled.

Windows Server

Last updated:

Intrusion Detection with Windows Event ID's

The best paper I have read on building Indicators of Compromise (IOCs) with Windows Event IDs, plus a SANS series on Windows event logs for forensics.

Windows Server

Last updated:

Free up disk space in Windows Server - 5 extra methods

In this post I provide you with 5 ways to cleanup files and free up disk space in Windows Server 2016 (and older / newer Windows Server version), without using the Disk Cleanup Utility. Reclaim lots of lost gigabytes easy. Disk space usage is still an issue in Windows Server.

Windows Server

Last updated:

List all MAC addresses of all Hyper-V Virtual Machines

You sometimes need to list and get all MAC addresses of all Hyper-V virtual machines in your network. Either for your Hyper-V administration or provisioning if you don't set an unique MAC address automatically. Here is how to get all those MAC addresses easily with PowerShell.

IIS URL Rewrite Module error: IIS Version 7.0 or greater is required to install IIS URL Rewrite Module 2.

Windows Server

Last updated:

How to install IIS URL Rewrite Module on Windows Server 2016 & IIS 10

When you start to play with Windows Server 2016 and IIS 10, you'll get an error when you try to install the IIS URL Rewrite Module in IIS. The error occurs because the URL Rewrite Module installer contains an invalid version check for the IIS being used. Here is how to install IIS URL Rewrite Module 2 in IIS 10...

Swiss Army knife, a red and silver multi tool

Windows Server

Last updated:

AppCmd introduction and examples

The AppCmd.exe command is your one-stop-shop for administering Windows Server IIS web servers. In combination with WinRM it is your Swiss Army knife for your daily routine. This post introduces appcmd and provides you with a lot of helpful appcmd examples.