Ws
Operating Systems Azure

Windows Server 2025 Datacenter Server Core on Azure User Guide

| Product: Windows Server 2025 Datacenter Server Core on Azure

Overview

This guide covers the deployment and use of Windows Server 2025 Datacenter Server Core on Microsoft Azure, using cloudimg's virtual machine image from the Azure Marketplace.

The image is Microsoft Windows Server 2025 Datacenter in the Server Core installation option: no desktop, Start menu or File Explorer, a smaller footprint and fewer updates to install than the Desktop Experience. It is Gen2, x64, in English (en-US), built from Microsoft's own Windows Server 2025 Datacenter Server Core Gen2 image on the Azure Marketplace (MicrosoftWindowsServer:WindowsServer:2025-datacenter-core-g2, version 26100.33828.261112, which already includes Microsoft's November 2026 cumulative update). cloudimg ran Windows Update and Microsoft Update until nothing was pending, generalized it with Sysprep and captured it on 1 December 2026.

cloudimg adds no server software of its own. You get Microsoft's Windows Server, fully patched on the day of capture, checked on two fresh virtual machines before release, with this guide and cloudimg's support.

What's included:

  • Windows Server 2025 Datacenter, Server Core, version 24H2, build 26100.33828
  • Microsoft's November 2026 cumulative update (KB5131079, KB5136489 and KB5127690). Windows Update and Microsoft Update reported nothing pending when the image was captured on 1 December 2026
  • The Windows Server licence, included and activated through Azure: no product key to enter
  • Microsoft Defender Antivirus with real-time protection on, and Windows Firewall on for every profile
  • Remote Desktop (TCP 3389) as the way in, to a PowerShell console with SConfig, Windows' text menu for server settings. OpenSSH Server is installed but stopped and disabled (Microsoft's Azure image starts it); Step 7 shows how to turn it on
  • The Azure VM agent, so Azure features such as Reset password, Run command and extensions work
  • Gen2 with Trusted Launch (Secure Boot and vTPM) and NVMe disk controller support, so it runs on current sizes such as Standard_D2s_v6 as well as on SCSI sizes such as the B and Dv5 series
  • cloudimg's support team is on hand 24 hours a day by email (support@cloudimg.co.uk), with a guaranteed response within 24 hours

No server roles are added. Install IIS, DNS, Active Directory, file services or any other role that Server Core supports with Install-WindowsFeature (Step 5).

Platform: Microsoft Azure (Gen2 Hyper-V) Administrator account: the user name and password you choose when you deploy the VM. There is no default password on this image.

SConfig on a fresh VM from this image: the Windows Server 2025 Datacenter menu with update setting, Remote Desktop and Windows activation

Prerequisites

  1. An Azure subscription
  2. A Remote Desktop client: Remote Desktop Connection (mstsc) on Windows, Windows App (formerly Microsoft Remote Desktop) on macOS, or Remmina on Linux
  3. The public IP address of the machine you will connect from, so you can allow Remote Desktop from that address only

Recommended size: Standard_D2s_v5 (2 vCPUs, 8 GiB memory) or larger. Server Core needs less memory than the Desktop Experience, so B-series sizes such as Standard_B2ms suit many roles, and NVMe sizes such as Standard_D2s_v6 work too.

Step 1: Deploy the Virtual Machine

Option A: Azure Portal

  1. In the Azure Marketplace, search for "Windows Server 2025 Datacenter Server Core cloudimg"
  2. Select the offer and click Create
  3. Configure the basics:
  4. Subscription and Resource group: select or create
  5. Virtual machine name and Region: your choice
  6. Security type: Trusted launch virtual machines (the default) or Standard
  7. Size: Standard_D2s_v5 recommended
  8. Under Administrator account, enter a Username and a Password that you choose. Azure refuses reserved names such as "administrator", "admin" and "guest", and asks for a password of at least 12 characters
  9. Under Inbound port rules, allow RDP (3389). Azure then opens port 3389 to the whole internet, so restrict it straight after deployment (step 7)
  10. Click Review + create, then Create
  11. When the deployment finishes, open the VM's Networking (Network settings) page, edit the inbound rule for port 3389 and set Source to My IP address (or your office or VPN address range)

Do not leave Remote Desktop open to the internet. This image locks an account for 10 minutes after 10 bad password attempts, administrator included, so password-guessing bots on an open port 3389 can keep your administrator locked out. Restricting the source address stops that. Azure Bastion is an alternative that needs no public RDP port at all.

Option B: Azure CLI

Accept the offer terms once per subscription, then create the VM with no inbound rules. Leave out --admin-password and the CLI asks for the password, which keeps it out of your shell history:

az vm image terms accept --urn cloudimg1647283583153:windows-server-2025-core:default:latest

az vm create \
  --resource-group myResourceGroup \
  --name my-ws2025-core \
  --image cloudimg1647283583153:windows-server-2025-core:default:latest \
  --size Standard_D2s_v5 \
  --admin-username <your-admin-name> \
  --public-ip-sku Standard \
  --nsg-rule NONE

Then allow Remote Desktop from your own address only, and read the VM's public IP:

az network nsg rule create \
  --resource-group myResourceGroup \
  --nsg-name my-ws2025-coreNSG \
  --name allow-rdp-from-my-ip \
  --priority 1000 \
  --direction Inbound --access Allow --protocol Tcp \
  --destination-port-ranges 3389 \
  --source-address-prefixes <your-public-ip>/32

az vm show --resource-group myResourceGroup --name my-ws2025-core --show-details --query publicIps -o tsv

Step 2: Connect with Remote Desktop

  1. Open your Remote Desktop client and connect to the VM's public IP address
  2. Windows: run mstsc, enter the IP address and click Connect
  3. macOS: in Windows App, add a PC with the IP address
  4. Linux: in Remmina, create an RDP connection to the IP address
  5. When asked for credentials, sign in as <vm-name>\<your-admin-name> with the password you set at deployment. On Windows, choose More choices, then Use a different account
  6. Accept the certificate warning: the VM uses its own self-signed Remote Desktop certificate, made on the VM's first boot

Network Level Authentication is required, as on Microsoft's own image (every current Windows, macOS and Remmina client supports it). There is no desktop: about a minute after the VM starts you get a console window running SConfig, a numbered menu for the computer name, domain, network settings, Windows Update, Remote Desktop, activation, restart and shut down. Type a number and press Enter. Option 15 leaves SConfig for a PowerShell prompt; type sconfig to return to it.

If you close the console window, sign out and back in, or press Ctrl+Alt+End (Ctrl+Alt+Del inside the session), choose Task Manager, then File > Run new task and run powershell.

Step 3: Check the patch level and activation

From SConfig choose 15 (Exit to command line), then run:

Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion' | Select-Object EditionID, InstallationType, DisplayVersion, CurrentBuild, UBR | Format-List
Get-HotFix | Sort-Object InstalledOn -Descending | Select-Object -First 3 | Format-Table

On a fresh VM from this image the output is:

EditionID        : ServerDatacenter
InstallationType : Server Core
DisplayVersion   : 24H2
CurrentBuild     : 26100
UBR              : 33828

Source        Description      HotFixID      InstalledBy          InstalledOn
------        -----------      --------      -----------          -----------
my-ws2025-... Security Update  KB5131079                          11/12/2026 12:00:00 AM
my-ws2025-... Update           KB5136489                          11/12/2026 12:00:00 AM
my-ws2025-... Update           KB5127690                          11/12/2026 12:00:00 AM

InstallationType reads Server Core. The build reads 26100.33828, or higher once you have installed later updates.

Windows activates itself against Azure's Key Management Service a few minutes after the VM first starts. Check it with:

Get-CimInstance SoftwareLicensingProduct -Filter "PartialProductKey IS NOT NULL AND Name LIKE 'Windows%'" | Select-Object Name, LicenseStatus
Name                                 LicenseStatus
----                                 -------------
Windows(R), ServerDatacenter edition             1

LicenseStatus 1 means licensed. If it still reads 5 in the first few minutes, wait and run it again (see Troubleshooting). SConfig's option 11 shows the same.

A PowerShell console on a fresh VM: the edition, build and installation type, the newest updates and the activated licence

Microsoft Defender Antivirus, Windows Firewall and the services that matter on a fresh VM:

Get-MpComputerStatus | Select-Object AMRunningMode, AntivirusEnabled, RealTimeProtectionEnabled | Format-Table
Get-NetFirewallProfile | Select-Object Name, Enabled | Format-Table
Get-Service sshd, TermService, WindowsAzureGuestAgent, RdAgent | Select-Object Name, Status, StartType | Format-Table
AMRunningMode AntivirusEnabled RealTimeProtectionEnabled
------------- ---------------- -------------------------
Normal                    True                      True

Name    Enabled
----    -------
Domain     True
Private    True
Public     True

Name                    Status StartType
----                    ------ ---------
RdAgent                Running Automatic
sshd                   Stopped  Disabled
TermService            Running    Manual
WindowsAzureGuestAgent Running Automatic

The firewall blocks inbound connections that no rule allows on every profile.

A PowerShell console on a fresh VM: Microsoft Defender Antivirus with real-time protection on, Windows Firewall on for the Domain, Private and Public profiles, OpenSSH Server stopped and disabled, and the Remote Desktop and Azure agent services running

Step 4: Keeping Windows patched

Windows Update reported nothing pending when the image was captured on 1 December 2026. After that, patch it like any Windows Server: SConfig's option 6 (Install updates) searches for, downloads and installs updates, and option 5 sets whether Windows installs them automatically (the image keeps Microsoft's default, Automatic). Azure Update Manager can also assess and schedule patching across your Azure VMs. Microsoft supports Windows Server 2025 until November 2029 (mainstream) and November 2034 (extended).

SConfig's Update setting on a fresh VM: the current configuration is Automatic

Windows restarts to finish some updates. To control when that happens, choose Download only or Manual in option 5 and install from option 6 at a time that suits you, or manage patching and its maintenance window with Azure Update Manager.

Step 5: Adding roles

Install roles and features with PowerShell, for example IIS:

Install-WindowsFeature -Name Web-Server -IncludeManagementTools
Success Restart Needed Exit Code      Feature Result
------- -------------- ---------      --------------
True    No             Success        {Common HTTP Features, Default Document, D...

Get-WindowsFeature lists every role and feature and whether it is installed. Roles that need the Desktop Experience are not available on Server Core.

Step 6: Managing the server remotely and opening ports

Server Core has no graphical tools of its own, but you can manage it from another Windows machine in the same network with Server Manager, the Remote Server Administration Tools, Windows Admin Center or PowerShell remoting (Enter-PSSession). Windows Remote Management is on (SConfig option 4, Remote management: Enabled). These tools connect over the network, so reach the server through a VPN, a peered virtual network or a jump host, and keep its management ports closed to the internet.

Inbound traffic is blocked by default, so a service that listens for connections needs a Windows Firewall rule as well as a Network Security Group rule. Some roles add their own firewall rules when installed. To add one yourself:

New-NetFirewallRule -DisplayName 'Allow HTTPS inbound' -Direction Inbound -Protocol TCP -LocalPort 443 -Action Allow

Then open the same port in the VM's Network Security Group, from the sources that need it.

Step 7: Turning on SSH

OpenSSH Server is installed but stopped and disabled, so Remote Desktop is the only way in until you choose otherwise. Windows' own firewall rule for it ("OpenSSH SSH Server (sshd)", TCP 22) is already on. To use SSH, start the service and set it to start with Windows:

Set-Service sshd -StartupType Automatic
Start-Service sshd
Get-Service sshd | Select-Object Name, Status, StartType
Name  Status StartType
----  ------ ---------
sshd Running Automatic

Then allow TCP 22 in the Network Security Group from your own address only, and connect with ssh <your-admin-name>@<vm-public-ip>.

Common Use Cases

  • Web and application servers on IIS and .NET with a small footprint
  • Active Directory domain controllers, DNS and DHCP servers in an Azure virtual network
  • File servers and infrastructure roles managed remotely from Windows Admin Center or Server Manager
  • A clean, patched starting point for your own golden images

Troubleshooting

Windows shows as not activated

Activation happens a few minutes after the VM's first start, through Azure's Key Management Service (azkms.core.windows.net, TCP 1688). Azure's activation service now and then refuses a VM's first request, and Windows otherwise waits two hours before it tries again. If LicenseStatus still reads 5 after 15 minutes, check that the VM can reach that address (a custom route, firewall or proxy that blocks outbound TCP 1688 stops activation), then restart the VM: Windows activates as it starts, and LicenseStatus reads 1 a few minutes later.

"The referenced account is currently locked out"

Ten bad password attempts lock the account, administrator included, for 10 minutes. Wait 10 minutes and try again with the correct password. If it keeps happening, someone else is trying passwords: check that the inbound rule for port 3389 allows only your own address (Step 1).

Forgot the password

In the Azure portal, open the VM, choose Reset password (under Help), keep the mode Reset password, and enter your administrator user name and a new password. The same from the Azure CLI:

az vm user update --resource-group myResourceGroup --name my-ws2025-core --username <your-admin-name> --password '<new-password>'

Password expiry

Windows' default of 42 days applies to your administrator account, as on Microsoft's own Windows Server image: the password you set at deployment expires 42 days later. See it with net accounts (the line "Maximum password age (days)") or change it in Local Security Policy > Account Policies > Password Policy. Change your password before it expires: with Network Level Authentication an expired password cannot be changed at the Remote Desktop sign-in. If it has expired, use Azure's Reset password (above).

Remote Desktop does not connect

  1. Verify the VM is Running in the Azure portal
  2. Check that the Network Security Group allows TCP 3389 from your current public IP address. Home and mobile addresses change; update the rule's source if yours has
  3. Sign in as <vm-name>\<your-admin-name> with a client that supports Network Level Authentication
  4. If you still cannot get in, use Run command in the Azure portal (Operations > Run command > RunPowerShellScript) to inspect the server without Remote Desktop, for example Get-Service TermService

A service you installed cannot be reached

Check the Windows Firewall rule (Step 6) and the Network Security Group rule. Both must allow the port before traffic reaches your service.

Important Notes

Licensing. The Windows Server licence is included in the price of the Windows virtual machine, billed by Microsoft through your Azure subscription; you need no licence key. cloudimg's hourly charge on the listing covers cloudimg's work: patching, checking and packaging the image, this guide and support. The image contains no SQL Server, Microsoft Office or Visual Studio.

Microsoft and Windows Server are trademarks of the Microsoft group of companies. cloudimg is not affiliated with or endorsed by Microsoft.

Support

cloudimg's support team is on hand 24 hours a day by email (support@cloudimg.co.uk), with a guaranteed response within 24 hours, covering deployment, Remote Desktop access, activation, patching, adding roles and remote management.