Install and activate Windows Server 2025

Here is how you install and activate Windows Server 2025: you boot the server from an installation media, choose an edition with or without Desktop Experience in setup, set up the disk and enter the product key. After the installation you activate a server with Desktop Experience under Settings › System › Activation, and a Server Core with the slmgr.vbs script. Microsoft does not let you switch between Core and Desktop Experience after the installation; the choice in setup is final.

Quick decision

Your situation What to do
New server, graphical interface wanted choose the edition “with Desktop Experience” (section 2)
Server without a GUI, smaller attack surface choose Server Core (section 2)
Key not yet entered add it later in Settings or with slmgr (section 3)
A test installation should become the full version convert the evaluation with DISM, see below
Error message during activation look up the error code (section 4)

1. Prepare

  • Create the media. The installation file (ISO) and the bootable USB flash drive are described in Download Windows Server.
  • Backup. For a clean installation on existing hardware, first back up all data. A clean installation erases the target partition.
  • Have the key ready. You need the 25-character product key from your order in the format XXXXX-XXXXX-XXXXX-XXXXX-XXXXX.
  • Hardware and firmware. In the UEFI, set the boot order so that the server starts from the flash drive.

2. Choose the edition and installation type

Boot the server from the media and follow the setup wizard. On the selection page, setup lists four entries according to Microsoft:

Entry in setup Meaning
Windows Server Standard Server Core, without a graphical interface
Windows Server Standard with Desktop Experience with a graphical interface and management tools
Windows Server Datacenter Server Core
Windows Server Datacenter with Desktop Experience with a graphical interface

Entries without the Desktop Experience suffix are the Server Core installations. With Server Core you manage the server through the command line, PowerShell, the SConfig tool or remotely. Microsoft recommends Server Core unless you explicitly need the graphical interface: it uses less storage and offers a smaller attack surface. Important: after the installation you can no longer switch between the two variants. If you want the other variant later, a clean installation is required.

Then choose the target disk, confirm the partition and start the installation. The server restarts several times during this.

3. Enter the product key and activate

Setup sometimes asks for the key during the installation. You can enter it there or skip it and add it afterwards. The edition must match the key: a Standard key does not activate a Datacenter installation.

Server with Desktop Experience

  1. Open Start › Settings › System › Activation.
  2. Next to Change product key, select the Change button.
  3. Enter the 25-character key. With an internet connection, the server activates online.
  4. Check the activation status; it should read “Active”.

Server Core or Command Prompt

Open a Command Prompt or PowerShell as administrator. The slmgr.vbs script installs the key and triggers the activation:

slmgr.vbs /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
slmgr.vbs /ato

According to Microsoft, /ipk checks whether the key is valid and matches the installed operating system, and replaces a key that is already installed. /ato starts the online activation. You see the status with:

slmgr.vbs /dli
slmgr.vbs /xpr

On Server Core you can also reach the same steps through the SConfig menu. Without internet, a telephone activation is documented; slmgr.vbs /dti shows the installation ID for it.

4. Typical errors

If the key does not match the edition or the online activation fails, Windows names an error code. 0xC004F069 is common with Datacenter and Standard installations; the causes and solutions are in
Windows error 0xC004F069. An overview of all codes is in the error code database. First check whether the installed edition and key match and whether the server can reach the internet.

Convert an evaluation into the full version

If you installed an evaluation for testing and bought a key later, you do not have to reinstall. Microsoft documents the conversion with DISM; the commands and the limits (for example that a domain controller cannot be converted) are described in
Download Windows Server.

After activation: check licenses

The server license covers operation, not access. Every user or device that connects additionally needs an access license. How you count cores, virtual machines and CALs is explained in
Licensing Windows Server: cores, VMs, CALs; the installation of the CALs is described in
Install Windows Server CALs and RDS CALs. Which version receives updates for how long is shown by the
Windows Server end-of-support overview. More server topics are bundled in the
Windows Server guides overview.

At our shop

All editions are in the Windows Server category. If a key does not work, check the edition and your input, then report the problem via “Report a problem” in your order.

Frequently asked questions

Can I switch from Server Core to Desktop Experience after the installation? No. According to Microsoft, you can no longer switch between Server Core and the Desktop Experience after the installation. A clean installation is required for that.

Where do I enter the key on Windows Server? On the server with Desktop Experience under Settings › System › Activation. On Server Core via slmgr.vbs /ipk in a Command Prompt with administrator rights or via SConfig.

Which installation type does Microsoft recommend? Microsoft recommends Server Core unless you explicitly need the graphical interface and its associated tools.

Do I have to activate the server with the internet? With internet it is easiest online. Without internet, according to Microsoft, a telephone activation using the installation ID is possible.

Besides the server license, do I still need access licenses? Yes. With Standard and Datacenter, every user or device that connects needs a Windows Server CAL in addition to the server license.

Sources

Checked on 2026-11-30 against the publisher’s information:

Cookies and Google services

With your consent we use Google Analytics (statistics) as well as Google's rating widget and Customer Reviews (Google services). In doing so, data is sent to Google, including to the USA. Declining has no disadvantages; you can change your choice at any time under “Cookie settings” in the page footer. Privacy policy