Skip to content

Instantly share code, notes, and snippets.

@butageek
Last active December 4, 2023 09:58
Star You must be signed in to star a gist
Embed
What would you like to do?
Activate Windows for free

For Windows 10

Step 1 - Open PowerShell or Command Prompt as administrator

Step 2 - Install KMS client key

slmgr /ipk your_license_key

Replace your_license_key with following volumn license keys according to Windows Edition:

Home: TX9XD-98N7V-6WMQ6-BX7FG-H8Q99
Home N: 3KHY7-WNT83-DGQKR-F7HPR-844BM
Home Single Language: 7HNRX-D7KGG-3K4RQ-4WPJ4-YTDFH
Home Country Specific: PVMJN-6DFY6-9CCP6-7BKTT-D3WVR
Professional: W269N-WFGWX-YVC9B-4J6C9-T83GX
Professional N: MH37W-N47XK-V7XM9-C7227-GCQG9
Education: NW6C2-QMPVW-D7KKK-3GKT6-VCFB2
Education N: 2WH4N-8QGBV-H22JP-CT43Q-MDWWJ
Enterprise: NPPR9-FWDCX-D2C8J-H872K-2YT43
Enterprise N: DPH2V-TTNVB-4X9Q3-TJR4H-KHJW4

Step 3 - Set KMS machine address

slmgr /skms kms_server

Replace kms_server with the real KMS server address (by online search). For now, the working KMS server is kms9.msguides.com.

Step 4 - Activate your Windows

slmgr /ato

For Windows Server

Step 1 - Open PowerShell or Command Prompt as administrator

Step 2 - Convert Windows Server Evaluation to retail edition

To get the available editions:

DISM /Online /Get-TargetEditions

To set your Windows Server to a higher edition:

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

Step 3 - Install KMS client key

slmgr /ipk your_license_key

Replace your_license_key with following volumn license keys according to Windows Edition:

Windows Server 2022 Datacenter: WX4NM-KYWYW-QJJR4-XV3QB-6VM33
Windows Server 2022 Standard: VDYBN-27WPP-V4HQT-9VMD4-VMK7H
Windows Server 2019 Datacenter: WMDGN-G9PQG-XVVXX-R3X43-63DFG
Windows Server 2019 Standard: N69G4-B89J2-4G8F4-WWYCC-J464C
Windows Server 2019 Essentials: WVDHN-86M7X-466P6-VHXV7-YY726
Windows Server 2016 Datacenter: CB7KF-BWN84-R7R2Y-793K2-8XDDG
Windows Server 2016 Standard: WC2BQ-8NRM3-FDDYY-2BFGV-KHKQY
Windows Server 2016 Essentials: JCKRF-N37P4-C2D82-9YXRT-4M63B

Step 4 - Set KMS machine address

slmgr /skms kms_server

Replace kms_server with the real KMS server address (by online search). For now, the working KMS server is kms9.msguides.com.

Step 5 - Activate your Windows

slmgr /ato
@sue-white
Copy link

You can also try www.onthehubstore.com

@FrostedTrash
Copy link

Thanks! Worked for me with the kms9.msguide.com Server. The other servers gave me a connection error. Hope this helps other ppl with the issue too!

@IngCris
Copy link

IngCris commented Jan 13, 2023

The servers do not works

@IngCris
Copy link

IngCris commented Jan 13, 2023

temp1

@butageek
Copy link
Author

Thanks! Worked for me with the kms9.msguide.com Server. The other servers gave me a connection error. Hope this helps other ppl with the issue too!

Thanks for the feedback. I've updated the gist accordingly.

@alansw84
Copy link

I think it should be kms9.msguides.com, there's missing a "s"..

@butageek
Copy link
Author

I think it should be kms9.msguides.com, there's missing a "s"..

Actually I've got this server from another user report, and I haven't tried myself. I'll update the server URL with the missing "s". Thanks for the update.

@raj396686
Copy link

image

@Fernyte
Copy link

Fernyte commented Mar 22, 2023

Thanks. I tried onthehubstore, it's good.

@MiguelSanMartinG
Copy link

I love it <3

@thevistadev
Copy link

nice i finally activated windows thanks

@Estuardo73
Copy link

Thanks a lot, is work

@vns990
Copy link

vns990 commented Aug 28, 2023

Insider preview users bookmark this it will save you a lot of grief if you don't have a KMS to use.

@svinstvoss1
Copy link

When I tried to reinstall Windows, I got an error - 0x80040154 - 0x90018
pls help

@diablo3077
Copy link

Great work bruh!

My Windows Server 2019 Standard Edition is activated now.

Keep up the hard work!

@real-jiakai
Copy link

image

Thank you, my bro.

@rakeshkumargupta
Copy link

It's worked. thanks alot.

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