<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Windows Server on justinverstijnen.nl</title><link>https://justinverstijnen.nl/blog/windows-server/</link><description>Recent content in Windows Server on justinverstijnen.nl</description><generator>Hugo</generator><language>en</language><atom:link href="https://justinverstijnen.nl/blog/windows-server/index.xml" rel="self" type="application/rss+xml"/><item><title>Fixing CVE-2026-41089 on Windows Server</title><link>https://justinverstijnen.nl/fixing-cve-2026-41089-on-windows-server/</link><pubDate>Sun, 17 May 2026 00:00:00 +0000</pubDate><guid>https://justinverstijnen.nl/fixing-cve-2026-41089-on-windows-server/</guid><description>&lt;p&gt;How would an attacker be able to use this? An attacker would send specially crafted Netlogon requests to a vulnerable server. By manipulating the way the Netlogon service processes these requests, the attacker may be able to trigger remote code execution (RCE) without requiring prior authentication. Something we must prevent at all costs.&lt;/p&gt;
&lt;p&gt;The potential impact of this CVE being unresolved is:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Remote code execution on the target server&lt;/li&gt;
&lt;li&gt;Full system compromise if the attack succeeds&lt;/li&gt;
&lt;li&gt;Privilege escalation to SYSTEM level access&lt;/li&gt;
&lt;li&gt;Lateral movement within the network&lt;/li&gt;
&lt;li&gt;Compromise of Active Directory infrastructure if a Domain Controller is affected&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;In this post I will quickly go through what systems are impacted and how you can install the required updates to remediate the vulnerability.&lt;/p&gt;</description></item><item><title>Active Directory FSMO roles</title><link>https://justinverstijnen.nl/active-directory-fsmo-roles/</link><pubDate>Tue, 04 Feb 2025 00:00:00 +0000</pubDate><guid>https://justinverstijnen.nl/active-directory-fsmo-roles/</guid><description>&lt;h2 id="what-are-the-fsmo-roles-of-active-directory"&gt;What are the FSMO roles of Active Directory?&lt;a class="td-heading-self-link" href="#what-are-the-fsmo-roles-of-active-directory" aria-label="Heading self-link"&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;FSMO stands for Flexible Single Master Operations. Active Directory is normally multi-master, meaning changes can be made on any domain controller. However, some operations must be handled by one specific domain controller at a time to avoid conflicts. These special responsibilities are called the FSMO roles.&lt;/p&gt;
&lt;p&gt;There are five FSMO roles:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Two forest-wide roles&lt;/li&gt;
&lt;li&gt;Three domain-wide roles&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Let&amp;rsquo;s look at them all and explain what their function is:&lt;/p&gt;</description></item><item><title>Managing Hyper-V server without Active Directory</title><link>https://justinverstijnen.nl/managing-hyper-v-server-without-active-directory/</link><pubDate>Tue, 17 Dec 2024 00:00:00 +0000</pubDate><guid>https://justinverstijnen.nl/managing-hyper-v-server-without-active-directory/</guid><description>&lt;p&gt;When you use Hyper-V server, you want to manage this with the management tools. However, by default Hyper-V only allows connections from domain-joined machines by design because of security and trust reasons.&lt;/p&gt;
&lt;p&gt;We can bypass this requirement by building these trust ourselves and so managing the server from a machine that isnt even in a domain but Entra ID Joined or in a workgroup.&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id="installing-hyper-v-management-tools"&gt;Installing Hyper-V management tools&lt;a class="td-heading-self-link" href="#installing-hyper-v-management-tools" aria-label="Heading self-link"&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;When you use Windows 11 Pro/Education/Enterprise, you have the option to install Hyper-V on your machine. This can be done through the features on demand window:&lt;/p&gt;</description></item><item><title>Migrate Group Policies to a new server or domain like a pro</title><link>https://justinverstijnen.nl/migrate-group-policy-objects-to-a-new-server-or-domain-like-a-pro/</link><pubDate>Wed, 07 Aug 2024 00:00:00 +0000</pubDate><guid>https://justinverstijnen.nl/migrate-group-policy-objects-to-a-new-server-or-domain-like-a-pro/</guid><description>&lt;p&gt;Once in a while, we as IT administrators need to export and import our Group Policies of Windows Server to another server. Sometimes to copy a great policy you&amp;rsquo;ve built, or to migrate a customer to a new server.&lt;/p&gt;
&lt;p&gt;By default, the only option Microsoft has built in into Group Policy Management (gpmc.msc) is the backup option. This creates some administrative tasks.&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id="the-export-and-import-scripts"&gt;The Export and Import scripts&lt;a class="td-heading-self-link" href="#the-export-and-import-scripts" aria-label="Heading self-link"&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;I have created two scripts with Powershell that fully exports and imports all Group Policy Objects (GPOs). This with 2 seperate scripts. These can be found and downloaded from my Github page:&lt;/p&gt;</description></item><item><title>Windows Server Backup Retention</title><link>https://justinverstijnen.nl/windows-server-backup-retention/</link><pubDate>Tue, 30 Apr 2024 00:00:00 +0000</pubDate><guid>https://justinverstijnen.nl/windows-server-backup-retention/</guid><description>&lt;p&gt;For more information about the wbadmin tool, see:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/wbadmin"&gt;https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/wbadmin&lt;/a&gt;&lt;/p&gt;
&lt;h2 id="the-script"&gt;The Script&lt;a class="td-heading-self-link" href="#the-script" aria-label="Heading self-link"&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;With this small script based on wbadmin we can remove old backups while keeping the last 30 items for example. This retains the data for 30 days while also keeping your storage nice and clean.&lt;/p&gt;
&lt;p&gt;The script itself consists of the following command:&lt;/p&gt;

 &lt;div class="td-card card border me-4"&gt;
&lt;div class="card-header code"&gt;
 &lt;strong&gt;POWERSHELL&lt;/strong&gt;
 &lt;/div&gt;
&lt;div class="card-body code p-0 m-0"&gt;
 &lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-powershell" data-lang="powershell"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="n"&gt;wbadmin&lt;/span&gt; &lt;span class="n"&gt;delete&lt;/span&gt; &lt;span class="n"&gt;backup&lt;/span&gt; &lt;span class="n"&gt;-keepVersions:&lt;/span&gt;&lt;span class="mf"&gt;30&lt;/span&gt; &lt;span class="n"&gt;-quiet&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
 &lt;/div&gt;

&lt;script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4082816808518335"
 crossorigin="anonymous"&gt;&lt;/script&gt;
&lt;ins class="adsbygoogle"
 style="display:block; text-align:center;"
 data-ad-layout="in-article"
 data-ad-format="fluid"
 data-ad-client="ca-pub-4082816808518335"
 data-ad-slot="9865066433"&gt;&lt;/ins&gt;
&lt;script&gt;
 (adsbygoogle = window.adsbygoogle || []).push({});
&lt;/script&gt;
&lt;h3 id="explanation-of-the-command"&gt;Explanation of the command&lt;a class="td-heading-self-link" href="#explanation-of-the-command" aria-label="Heading self-link"&gt;&lt;/a&gt;&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;wbadmin:&lt;/strong&gt; The command-line tool that makes this solution possible. It is part of Windows Server Backup.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;delete:&lt;/strong&gt; Indicates that a delete operation should be performed.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;backup:&lt;/strong&gt; Specifies what should be deleted: backups.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;-keepVersions:30&lt;/strong&gt; Keeps the 30 most recent backups and deletes all older backups.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;-quiet:&lt;/strong&gt; Prevents confirmation prompts (Y/N) and avoids showing a command window to interactive users.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;You can change the amount of backups to keep according to your needs and storage by changing the 30 to a lower or higher number.&lt;/p&gt;</description></item><item><title>Change Evaluation version to Standard/Datacenter version</title><link>https://justinverstijnen.nl/windows-server-evaluation-to-standard/</link><pubDate>Wed, 03 May 2023 00:00:00 +0000</pubDate><guid>https://justinverstijnen.nl/windows-server-evaluation-to-standard/</guid><description>&lt;p&gt;&lt;a href="https://sajvwebsiteblobstorage.blob.core.windows.net/blog/windows-server-evaluation-to-standard-71/jv-media-71-30eb3963ce1a.jpg"&gt;&lt;img src="https://sajvwebsiteblobstorage.blob.core.windows.net/blog/windows-server-evaluation-to-standard-71/jv-media-71-30eb3963ce1a.jpg" alt="jv-media-71-30eb3963ce1a.jpg"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;When you install a fresh Windows Server installation from a .iso file, it will be installing the OS as a Evaluation version. When you want to activate the installation with a key you need to rebuild the OS and set the edition to Standard.&lt;/p&gt;
&lt;p&gt;Microsoft considers Standard and Standard Evaluation as different editions of Windows, because of this we have to change the edition before you can activate the installation. When you want to use the edition Datacenter, you can change the command to Datacenter which also works.&lt;/p&gt;</description></item></channel></rss>