Skip to content

Instantly share code, notes, and snippets.

@plutozonexyz
Last active April 2, 2024 18:24
Show Gist options
  • Save plutozonexyz/a344458b99cdb47f2350a850e1f5bc17 to your computer and use it in GitHub Desktop.
Save plutozonexyz/a344458b99cdb47f2350a850e1f5bc17 to your computer and use it in GitHub Desktop.
How to download Windows Server 2019 Evaluation, convert it to Standard, and activate it.

"How do I download Windows Server 2019, and activate it for free?"

Read this guide.

Steps

1. Download and Install

Download the ISO here:
https://software-download.microsoft.com/download/sg/17763.379.190312-0539.rs5_release_svc_refresh_SERVER_EVAL_x64FRE_en-us.iso
Flash it using WoeUSB on Linux or Rufus on Windows.
Follow the installation steps.

2. Change the Edition

You should be able to change the edition using DISM.
Dism /online /Set-Edition:ServerStandard /AcceptEula /ProductKey:N69G4-B89J2-4G8F4-WWYCC-J464C
Product key taken from: https://github.com/SystemRage/py-kms/wiki/Windows-GVLK-Keys#windows-server-2019
Reboot when it's done changing the base package.

3. Install the KMS key

Installing the KMS key ensures that the server is activated and stays activated. KMS only manages activation of the server and nothing else, so don't worry about some remote security flaw bullshit.

Change Directory to System32 if not already in.
cd C:\windows\system32
Uninstall the current product key.
cscript //nologo slmgr.vbs /upk
Install the new one.
cscript //nologo slmgr.vbs /ipk N69G4-B89J2-4G8F4-WWYCC-J464C
Set target KMS server (I use kms8.msguides.com because in my experience it's reliable).
cscript //nologo slmgr.vbs /skms kms8.msguides.com
Activate your product. If it does not work wait 5 minutes and try again. Do this twice if it doesn't work. If it still doesn't work please ask in the comments.
cscript //nologo slmgr.vbs /ato

4. ??

???

5. Profit

You just activated Windows Server at $0 cost. Note that I do not know if this actually works as I have not waited 180 days to see if it fails.

@geeksailor
Copy link

Might want to add if making a VM, when it asks for an ISO during the VM creation process, SELECT "I will install the operating system later" to bypass the automation part of the VM creation. Otherwise it will cause issues every time and fail to install. Add the CD/DVD drive after you create the VM and connect it before starting it up to install Server.
Also, if you wish to elevate the VM, you can use the commands "DISM /Online /Get-Target-Editions" to see what editions you can elevate to, and then run the command in step 2 with the appropriate edition (ServerStandard or ServerDataCenter) and the key for that edition.
Oh and the link for the keys migrated to if you want to update it.
Otherwise, everything else is spot on. Thank you for this guide!
Cheers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment