Move all DHCP scopes and settings to a new DHCP Server

Migrating a DHCP server doesn’t require manually rebuilding scopes, reservations, or lease data. On Windows Server 2012 and later, the Export-DhcpServer and Import-DhcpServer cmdlets offer a quick and efficient method to transfer the configuration to a new server. Here are the necessary steps: The export file is XML-based, allowing scope settings to be reviewed and … Weiterlesen

WSUS Server constantly reports „Connection error: Reset server node“

I installed the Windows Server Update Service on a Windows Server. After the server was filled with patches, the application kept crashing with the message „Connection error: Reset server node.“ I initially allocated more RAM to the server, but the error persisted! The problem is a memory limit in IIS for the WSUS application pool. … Weiterlesen

Check Exchange schema version

When installing a cumulative update for Exchange Server, it’s often unclear whether a schema update is necessary. Microsoft usually specifies the required schema version. To check if I’m already using the correct version, I wrote a PowerShell script that outputs the Exchange schema version: You can find a good table view of a collection of … Weiterlesen

Check and re-balance Exchange DAG

It you did some maintenance in your Exchange DAG you must move mailbox databses to other server. After exit the maintenance you should check if some databases are running active on the „wrong“ server. You can also wait until the PreferenceMoveFrequency is over and the cluster do this by itself. You can check the PreferenceMoveFrequency … Weiterlesen

Get all Exchange system mailboxes

When I migrate an Exchange Server and move all the mailboxes, I regularly „forget“ to move the system mailboxes, and then I get an error when deleting the mailbox database. Here are all the commands to find the relevant mailboxes and migrate them if necessary. IMPORTANT: This must be done for each mailbox database because … Weiterlesen

Move and Exit Exchange DAG member to maintenance

I had to patch many servers in a Exchange DAG (CU22, SU, etc.) and wanted to script the entire process cleanly to save time and standardize it. Here’s my script, which I wrote to cleanly put the server into maintenance mode. I also took into account the possibility of moving emails in the mail queues … Weiterlesen

Set NTFS Permissions via Powershell

During a file server migration, one of the more time-consuming tasks was rebuilding NTFS permissions on a folder structure. Doing this manually in the GUI would have worked, but it would also have been slow, repetitive, and easy to misconfigure. PowerShell turned out to be the better option because it allows the permission model to … Weiterlesen

Microsoft VAMT: The specified product key is invalid or is unsupported

I recently set up a KMS server and installed the Volume Activation Management Tool (VAMT) to activate product keys. Everything worked as expected for Windows Server 2016 and Windows Server 2022, but Windows Server 2019 keys caused a problem every time I tried to add them. VAMT consistently returned this error: The specified product key … Weiterlesen