How to properly activate and validate a Windows Server license

Last update: 12/09/2025
Author Isaac
  • Activation of Windows Server varies depending on the edition and license type used.
  • KMS servers and SLGMR activation are common methods but require precise configurations.
  • Evaluation editions must be converted before being activated with a valid key.
  • There are commands useful for validating, diagnosing and troubleshooting activation errors.

Activate and validate Windows Server

Do you have a newly installed server and are wondering how to validate your Windows Server license? It might seem like a complicated process, especially if you're encountering terms like KMS , volume licensing , or command-line activation for the first time. But don't worry, because here you'll discover everything you need to know to activate your Windows Server system correctly and without errors.

In this article, we'll analyze the different activation methods available , understand the differences between trial and retail versions , and explore all the useful commands you can run to check your license status, troubleshoot errors, and validate your configuration. Get your console ready with administrator privileges, because today we're going to clear up all your doubts.

Available methods to activate Windows Server

Windows Server can be activated in several ways, depending on how you acquired your license. The three main activation methods are:

How to know if my Windows is activated

  • Product Key (Retail or OEM): entered manually from the system or with commands.
  • KMS (Key Management Service) Servers: Commonly used in business environments to license multiple computers.
  • Digital license or MAK volume: associated with your Microsoft account or corporate network.

It's also important to know if your server is in evaluation mode . Many Windows Server installations are initially distributed with an "Evaluation" edition, and to activate them, you first need to convert them to a valid retail edition (such as Standard or Datacenter) . This process is similar to activating Windows 10.

In this case, the process begins with a command that changes the product edition to a valid version where you can enter your final key.

  How to create multiple folders at once in Windows quickly and easily

Check if Windows Server is activated

Before starting any steps, the first thing you need to know is whether your copy of Windows Server is already activated. You can check this from the graphical interface or via the command line.

From the graphical user interface (GUI) :

  • Click on the Home and go to Configuration.
  • Choose Update and security.
  • Choose the section Activation.
  • Read the product status: if it is activated, the corresponding message will appear.

From the command line ( CMD or PowerShell ):

  • Open CMD as administrator.
  • Run the command: slmgr /xpr.
  • A pop-up window will tell you whether it is permanently activated or not.

For more detailed license information, you can use:

slmgr /dlv

Convert an Evaluation Edition to a Retail Version

One of the most common problems is having an Evaluation version of Windows Server installed. To properly activate the system, it is essential to first convert it to a standard or valid version.

From PowerShell or CMD as administrator, run the following command, replacing the X with your product key:

DISM /online /Set-Edition:ServerStandard /ProductKey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX /AcceptEula

This step may take several minutes, or even hours depending on the environment. Once completed, you will need to restart the server for the changes to take effect.

Important: If you are using a platform like Oasix Cloud, you must request the key from the support team, indicating the project and domain of the server to be activated.

Activate Windows Server using slmgr

Once your system has the correct edition, you can activate Windows Server using the slmgr.vbs commands. These commands allow you to manage keys, KMS servers, and perform a full system activation.

Recommended steps:

  1. Delete any previous keys (optional):
    slmgr.vbs /upk
  2. Install new product key:
    slmgr.vbs /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
  3. Configure KMS key server (if applicable):
    slmgr.vbs /skms kms.ejemplo.com:1688
  4. Run activation:
    slmgr.vbs /ato

After completing these steps, you can confirm that everything is correct with:

slmgr.vbs /dlv

Activation using Visual Basic Script (cscript.exe)

Another possible way to work with licenses in Windows Server is through the cscript + slmgr.vbs combination from the folder system32This method is more technical but equally effective.

  How to enable XMP profile in BIOS to improve RAM performance

Steps:

  1. Open Run (Win key + R)
  2. Run to delete previous key:
    cscript.exe c:\windows\system32\slmgr.vbs -upk
  3. Enter new password with:
    cscript.exe c:\windows\system32\slmgr.vbs -ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
  4. Configure KMS server (if applicable):
    cscript.exe c:\windows\system32\slmgr.vbs -skms kms.infomaniak.cloud
  5. Run activation:
    cscript.exe c:\windows\system32\slmgr.vbs -ato

DISM Command: The Ally for Editing Changes

DISM (Deployment Image Servicing and Management) is a Windows utility that also allows you to change system editions, essential when working with base images or systems under evaluation.

An example for converting to Windows Server 2019 Standard would be:

DISM /Online /Set-Edition:ServerStandard /ProductKey:N69G4-B89J2-4G8F4-WWYCC-J464C /AcceptEula

This command does not activate the final license, but it performs the necessary conversion so you can then enter your final key.

Automatic activation on cloud platforms such as OASIX

In virtualized environments offered by platforms like OASIX, official images are preconfigured to automatically activate against their own KMS servers.

However, the following should be taken into account:

  • The external network must be available. You don't need to open additional ports.
  • Images must be registered as WindowsIf you forgot to do this step, you can contact support and they'll do it for you without having to re-upload the image.
  • Once the instance is deployed, you must run the corresponding KMS commands.

Resolve common activation errors

Sometimes the activation process doesn't complete successfully, and errors such as invalid key , convert before activation , or connectivity problems with the KMS server appear . Here are some tips to resolve them:

  • Verify that the system edition matches the keyA Standard key is not valid in a Datacenter.
  • Confirm internet connection or to the corporate network if you use KMS.
  • Always run CMD or PowerShell as administrator.
  • Update the system before attempting to activate. Some errors are resolved with pending updates.
  • Check the supplier's support If your key was recently purchased but fails.

Successfully activating Windows Server requires understanding several factors: the license type, the installed edition, and the activation method. Whether you're working with individual keys, KMS servers, or cloud platforms like OASIX, the process can be easily completed by carefully following the correct steps. By leveraging commands like DISM and slmgr.vbs , you can have your server activated and functional in just a few minutes.

How to Activate Windows 10
Related articles:
How to Activate Windows 10 (EVERYTHING YOU NEED TO KNOW)