Table of Contents
As you know, Windows Server is a specialized operating system which is designed for server only. In today’s post, I will show you how to activate Windows in your VPS or dedicated server for FREE using KMS client product keys. So you can renew it whenever you want. Actually, the license will be renewed automatically every 7 days by default. In this way, just do it one time and forget it completely.
Before you begin
- If you’re using an evaluation edition of Windows Server. Let’s follow this post to convert then activate it to the licensed version.
- The methods work with Windows Server 2022/2019/2016, Windows Server version 1809, 1803, 1709. and Windows Server 2008/2012 (R2).
- KMS license is valid for 180 days only. But it will be renewed automatically before the expiration date if you are online. However, you can renew your Office manually anytime (even when its expired) by running the activation command or script again.
As you can see in the below screenshot, we’re using a copy of Windows Server 2019 Standard and it is not activated. We need to activate it to made it function normally and remove the licese watermark on the desktop.
Method 1: Manual activation
The first way, we can use the Windows Command Prompt (CMD) to activate the Windows Server 2019 Standard license free forever.
1️⃣ Click on the search icon, type cmd in the Windows search box, right click on the best match Command Prompt then select Run as administrator.
2️⃣ Copy, right click to paste all below commands into CMD window at once then hit Enter.
cscript //nologo %windir%\system32\slmgr.vbs /ipk N69G4-B89J2-4G8F4-WWYCC-J464C
cscript //nologo %windir%\system32\slmgr.vbs /skms kms.msgang.com
cscript //nologo %windir%\system32\slmgr.vbs /ato
Note
Note: If you see the error 0xC004F074, it means that your internet connection is unstable or the server is busy. Please make sure your device is online and try the command “ato” again until you succeed.
3️⃣ Your Windows Server 2019 Standard is activated using a KMS key. It’ll reactivate after every 7 days automatically. So, your Windows is permanently activated.
::Output
C:\>cscript //nologo %windir%\system32\slmgr.vbs /ipk N69G4-B89J2-4G8F4-WWYCC-J464C
Installed product key N69G4-B89J2-4G8F4-WWYCC-J464C successfully.
C:\>cscript //nologo %windir%\system32\slmgr.vbs /skms kms.msgang.com
Key Management Service machine name set to kms.msgang.com successfully.
C:\>cscript //nologo %windir%\system32\slmgr.vbs /ato
Activating Windows(R), ServerStandard edition (de32eafd-aaee-4662-9444-c1befb41bde2) ...
Product activated successfully.
Note
Tip: Why we need cscript in the commands. By just executing a vbs script file, output gets sent to dialog boxes, which need your interaction. Using cscript, the desired output gets printed to your current stdout.
4️⃣ Finally, check activation status of your Windows Server again. Open Windows Settings then check Windows Activation.
Method 2: Using PowerShell
The second way, we can use the Windows PowerShell to activate the Windows license. The steps are similar with using cmd method, but the commands would be changed a little bit.
1️⃣ Click on the search icon, type powershell in the Windows search box, right click on the best match Windows PowerShell then select Run as administrator.
2️⃣ Copy, right click to paste all below commands into CMD window at once then hit Enter.
cscript //nologo $env:systemroot\system32\slmgr.vbs /ipk N69G4-B89J2-4G8F4-WWYCC-J464C
cscript //nologo $env:systemroot\system32\slmgr.vbs /skms kms.msgang.com
cscript //nologo $env:systemroot\system32\slmgr.vbs /ato
3️⃣ Your Windows Server 2019 Standard is activated using a KMS key. It’ll reactivate after every 7 days automatically. So, your Windows is permanently activated.
#Output
PS C:\> cscript //nologo $env:systemroot\system32\slmgr.vbs /ipk N69G4-B89J2-4G8F4-WWYCC-J464C
Installed product key N69G4-B89J2-4G8F4-WWYCC-J464C successfully.
PS C:\> cscript //nologo $env:systemroot\system32\slmgr.vbs /skms kms.msgang.com
Key Management Service machine name set to kms.msgang.com successfully.
PS C:\> cscript //nologo $env:systemroot\system32\slmgr.vbs /ato
Activating Windows(R), ServerStandard edition (de32eafd-aaee-4662-9444-c1befb41bde2) ...
Product activated successfully.
Method 3: Using batch script
The benefits of this method are:
- When activating with the batch script, you don’t have type the activation commands manually on each client computers.
- The script can activate all Windows client (7/8/8.1./10/11) and Windows server (2008/2008R2/2012/2012R2/2016/2019/2022) editions.
- The script can be used on either Windows 64-bit or Windows 32-bit.
- You don’t need to know which Windows edition you’re using. Script detects your Windows edition automatically then activates it.
This one is not recommended anymore due to the new update of Microsoft. In case, if you have to use the batch script for automation, you can continue with below steps:
1️⃣ The first step is download the batch script to your computer by clicking on the below button. Our script is safe, but you should verify the security and contents of any script from the internet you are not familiar with.
2️⃣ Right click on downloaded zip file then extract it.
3️⃣ Navigate to the extracted folder. Right-click on the batch file, select Run as administrator to run the batch file with admin rights.
Windows may give you a pop-up window saying Windows protected your PC. You would receive a popup if you attempt to run or install an application that Windows doesn’t recognize. To run the script, click on the More info link then click Run anyway button.
The script will run automatically. If has no issue, you should see the below screenshot. The Windows has been activated. You can now press any key to close the command prompt window.
::Output
.....................................................................................
#Project: Activating Microsoft software products for FREE without additional software
.....................................................................................
#Supported products: Microsoft Windows 7/8/10/11/2022/2019/2016/2012R2/2012/2008
.....................................................................................
You're using: Microsoft Windows Server 2019 Standard
.....................................................................................
.....................................................................................
Activating your Windows using product key: N69G4-B89J2-4G8F4-WWYCC-J464C
Product activated successfully.
.....................................................................................
Your Windows license details:
Description: Windows(R) Operating System, VOLUME_KMSCLIENT channel
License Status: Licensed
Product Key Channel: Volume:GVLK
Partial Product Key: J464C
Volume activation expiration: 259200 minute(s) (180 day(s))
Press any key to close this window.
If you want to create your own batch script by yourself. You can click on the below button to retrieve the code:
@echo off
color f0
mode con cols=98 lines=30
title Activate Windows license for FREE - msgang.com
cls
echo .....................................................................................
echo #Project: Activating Microsoft software products for FREE without additional software
echo .....................................................................................
echo #Supported products: Windows 7/8/10/11/2008/2008R2/2012/2012R2/2016/2019/2022
echo .....................................................................................
for /f "tokens=* delims== " %%i in ('"powershell -c (Get-CimInstance Win32_OperatingSystem).Caption"') do (set edition=%%i)
echo You're using: %edition%
echo .....................................................................................
::Microsoft Windows 10
if /i "%edition%" equ "Microsoft Windows 10 Home" (set productkey=TX9XD-98N7V-6WMQ6-BX7FG-H8Q99)
if /i "%edition%" equ "Microsoft Windows 10 Home N" (set productkey=3KHY7-WNT83-DGQKR-F7HPR-844BM)
if /i "%edition%" equ "Microsoft Windows 10 Home Single Language" (set productkey=7HNRX-D7KGG-3K4RQ-4WPJ4-YTDFH)
if /i "%edition%" equ "Microsoft Windows 10 Pro" (set productkey=W269N-WFGWX-YVC9B-4J6C9-T83GX)
if /i "%edition%" equ "Microsoft Windows 10 Pro N" (set productkey=MH37W-N47XK-V7XM9-C7227-GCQG9)
if /i "%edition%" equ "Microsoft Windows 10 Pro for Workstations" (set productkey=NRG8B-VKK3Q-CXVCJ-9G2XF-6Q84J)
if /i "%edition%" equ "Microsoft Windows 10 Pro N for Workstations" (set productkey=9FNHH-K3HBT-3W4TD-6383H-6XYWF)
if /i "%edition%" equ "Microsoft Windows 10 Enterprise" (set productkey=NPPR9-FWDCX-D2C8J-H872K-2YT43)
if /i "%edition%" equ "Microsoft Windows 10 Enterprise N" (set productkey=DPH2V-TTNVB-4X9Q3-TJR4H-KHJW4)
if /i "%edition%" equ "Microsoft Windows 10 Education" (set productkey=NW6C2-QMPVW-D7KKK-3GKT6-VCFB2)
if /i "%edition%" equ "Microsoft Windows 10 Education N" (set productkey=2WH4N-8QGBV-H22JP-CT43Q-MDWWJ)
if /i "%edition%" equ "Microsoft Windows 10 Enterprise LTSC 2019" (set productkey=M7XTQ-FN8P6-TTKYV-9D4CC-J462D)
if /i "%edition%" equ "Microsoft Windows 10 Enterprise LTSC 2021" (set productkey=M7XTQ-FN8P6-TTKYV-9D4CC-J462D)
if /i "%edition%" equ "Microsoft Windows 10 Enterprise LTSB 2016" (set productkey=DCPHK-NFMTC-H88MJ-PFHPY-QJ4BJ)
if /i "%edition%" equ "Microsoft Windows 10 Enterprise 2015 LTSB" (set productkey=WNMTR-4C88C-JK8YV-HQ7T2-76DF9)
if /i "%edition%" equ "Microsoft Windows 10 Enterprise Evaluation" (set productkey=NPPR9-FWDCX-D2C8J-H872K-2YT43)
::Microsoft Windows 11
if /i "%edition%" equ "Microsoft Windows 11 Home" (set productkey=TX9XD-98N7V-6WMQ6-BX7FG-H8Q99)
if /i "%edition%" equ "Microsoft Windows 11 Home N" (set productkey=3KHY7-WNT83-DGQKR-F7HPR-844BM)
if /i "%edition%" equ "Microsoft Windows 11 Home Single Language" (set productkey=7HNRX-D7KGG-3K4RQ-4WPJ4-YTDFH)
if /i "%edition%" equ "Microsoft Windows 11 Pro" (set productkey=W269N-WFGWX-YVC9B-4J6C9-T83GX)
if /i "%edition%" equ "Microsoft Windows 11 Pro N" (set productkey=MH37W-N47XK-V7XM9-C7227-GCQG9)
if /i "%edition%" equ "Microsoft Windows 11 Pro for Workstations" (set productkey=NRG8B-VKK3Q-CXVCJ-9G2XF-6Q84J)
if /i "%edition%" equ "Microsoft Windows 11 Pro N for Workstations" (set productkey=9FNHH-K3HBT-3W4TD-6383H-6XYWF)
if /i "%edition%" equ "Microsoft Windows 11 Enterprise" (set productkey=NPPR9-FWDCX-D2C8J-H872K-2YT43)
if /i "%edition%" equ "Microsoft Windows 11 Enterprise N" (set productkey=DPH2V-TTNVB-4X9Q3-TJR4H-KHJW4)
if /i "%edition%" equ "Microsoft Windows 11 Education" (set productkey=NW6C2-QMPVW-D7KKK-3GKT6-VCFB2)
if /i "%edition%" equ "Microsoft Windows 11 Education N" (set productkey=2WH4N-8QGBV-H22JP-CT43Q-MDWWJ)
if /i "%edition%" equ "Microsoft Windows 11 Enterprise Evaluation" (set productkey=NPPR9-FWDCX-D2C8J-H872K-2YT43)
::Microsoft Windows Server 2012
if /i "%edition%" equ "Microsoft Windows Server 2012" (set productkey=BN3D2-R7TKB-3YPBD-8DRP2-27GG4)
if /i "%edition%" equ "Microsoft Windows Server 2012 Essentials" (set productkey=HTDQM-NBMMG-KGYDT-2DTKT-J2MPV)
if /i "%edition%" equ "Microsoft Windows Server 2012 Standard" (set productkey=XC9B7-NBPP2-83J2H-RHMBY-92BT4)
if /i "%edition%" equ "Microsoft Windows Server 2012 Datacenter" (set productkey=48HP8-DN98B-MYWDG-T2DCC-8W83P)
::Microsoft Windows Server 2012 R2
if /i "%edition%" equ "Microsoft Windows Server 2012 Essentials" (set productkey=KNC87-3J2TX-XB4WP-VCPJV-M4FWM)
if /i "%edition%" equ "Microsoft Windows Server 2012 R2 Standard" (set productkey=D2N9P-3P6X9-2R39C-7RTCD-MDVJX)
if /i "%edition%" equ "Microsoft Windows Server 2012 R2 Datacenter" (set productkey=W3GGN-FT8W3-Y4M27-J84CP-Q3VJ9)
::Microsoft Windows Server 2016
if /i "%edition%" equ "Microsoft Windows Server 2016 Essentials" (set productkey=JCKRF-N37P4-C2D82-9YXRT-4M63B)
if /i "%edition%" equ "Microsoft Windows Server 2016 Standard" (set productkey=WC2BQ-8NRM3-FDDYY-2BFGV-KHKQY)
if /i "%edition%" equ "Microsoft Windows Server 2016 Datacenter" (set productkey=CB7KF-BWN84-R7R2Y-793K2-8XDDG)
::Microsoft Windows Server 2019
if /i "%edition%" equ "Microsoft Windows Server 2019 Essentials" (set productkey=WVDHN-86M7X-466P6-VHXV7-YY726)
if /i "%edition%" equ "Microsoft Windows Server 2019 Standard" (set productkey=N69G4-B89J2-4G8F4-WWYCC-J464C)
if /i "%edition%" equ "Microsoft Windows Server 2019 Datacenter" (set productkey=WMDGN-G9PQG-XVVXX-R3X43-63DFG)
::Microsoft Windows Server 2022
if /i "%edition%" equ "Microsoft Windows Server 2022 Standard" (set productkey=VDYBN-27WPP-V4HQT-9VMD4-VMK7H)
if /i "%edition%" equ "Microsoft Windows Server 2022 Datacenter" (set productkey=WX4NM-KYWYW-QJJR4-XV3QB-6VM33)
::Microsoft Windows 8
if /i "%edition%" equ "Microsoft Windows 8 Pro" (set productkey=NG4HW-VH26C-733KW-K6F98-J8CK4)
if /i "%edition%" equ "Microsoft Windows 8 Enterprise" (set productkey=32JNW-9KQ84-P47T8-D8GGY-CWCK7)
::Microsoft Windows 8.1
if /i "%edition%" equ "Microsoft Windows 8.1 Pro" (set productkey=GCRJD-8NW9H-F2CDX-CCM8D-9D6T9)
if /i "%edition%" equ "Microsoft Windows 8.1 Enterprise" (set productkey=MHF9N-XY6XB-WVXMC-BTDCT-MKKG7)
::Windows Server versions 20H2, 2004, 1909, 1903, and 1809 (Semi-Annual Channel versions)
if /i "%edition%" equ "Microsoft Windows Server Standard" (set productkey=VDYBN-27WPP-V4HQT-9VMD4-VMK7H)
if /i "%edition%" equ "Microsoft Windows Server Datacenter" (set productkey=WX4NM-KYWYW-QJJR4-XV3QB-6VM33)
::Microsoft Windows 7
wmic os get caption | find /v "Caption" > %temp%\ver.txt
set /p edition=<%temp%\ver.txt
echo.%edition% | findstr /C:"Microsoft Windows 7 Professional" >nul 2>&1
if not errorlevel 1 (set productkey=FJ82H-XT6CR-J8D7P-XQJJ2-GPDD4) else (break)
echo.%edition% | findstr /C:"Microsoft Windows 7 Enterprise" >nul 2>&1
if not errorlevel 1 (set productkey=33PXH-7Y6KF-2VJC9-XBBR8-HVTHH) else (break)
::Microsoft Windows Server 2008 R2
echo.%edition% | findstr /C:"Microsoft Windows Server 2008 R2 Standard" >nul 2>&1
if not errorlevel 1 (set productkey=YC6KT-GKW9T-YTKYR-T4X34-R7VHC) else (break)
echo.%edition% | findstr /C:"Microsoft Windows Server 2008 R2 Enterprise" >nul 2>&1
if not errorlevel 1 (set productkey=489J6-VHDMP-X63PK-3K798-CPX3Y) else (break)
echo.%edition% | findstr /C:"Microsoft Windows Server 2008 R2 Datacenter" >nul 2>&1
if not errorlevel 1 (set productkey=74YFP-3QFB3-KQT8W-PMXWJ-7M648) else (break)
::Microsoft Windows Server 2008
echo.%edition% | findstr /C:"Microsoftr Windows Serverr 2008 Standard" >nul 2>&1
if not errorlevel 1 (set productkey=TM24T-X9RMF-VWXK6-X8JC9-BFGM2) else (break)
echo.%edition% | findstr /C:"Microsoftr Windows Serverr 2008 Enterprise " >nul 2>&1
if not errorlevel 1 (set productkey=YQGMW-MPWTJ-34KDK-48M3W-X4Q6V) else (break)
echo.%edition% | findstr /C:"Microsoftr Windows Server 2008 Datacenter" >nul 2>&1
if not errorlevel 1 (set productkey=7M67G-PC374-GR742-YH8V4-TCBY3) else (break)
echo .....................................................................................
echo Activating your Windows using product key: %productkey%
cscript %windir%\system32\slmgr.vbs /upk >nul 2>&1
cscript %windir%\system32\slmgr.vbs /ckms >nul 2>&1
cscript %windir%\system32\slmgr.vbs /cpky >nul 2>&1
cscript %windir%\system32\slmgr.vbs /skms kms.msgang.com >nul 2>&1
cscript %windir%\system32\slmgr.vbs /ipk %productkey% >nul 2>&1
cscript %windir%\system32\slmgr.vbs /ato | find /i "successfully"
echo .....................................................................................
echo Your Windows license details:
echo.
cscript %windir%\system32\slmgr.vbs /dlv | find /i "Description"
cscript %windir%\system32\slmgr.vbs /dlv | find /i "Licensed"
cscript %windir%\system32\slmgr.vbs /dlv | find /i "Channel:"
cscript %windir%\system32\slmgr.vbs /dlv | find /i "Partial"
cscript %windir%\system32\slmgr.vbs /dlv | find /i "expiration"
echo.
echo Press any key to close this window.
pause >nul
@echo off
color f0
mode con cols=98 lines=30
title Activate Windows license for FREE - msgang.com
cls
echo .....................................................................................
echo #Project: Activating Microsoft software products for FREE without additional software
echo .....................................................................................
echo #Supported products: Windows 7/8/10/11/2008/2008R2/2012/2012R2/2016/2019/2022
echo .....................................................................................
for /f "tokens=* delims== " %%i in ('"powershell -c (Get-CimInstance Win32_OperatingSystem).Caption"') do (set edition=%%i)
echo You're using: %edition%
echo .....................................................................................
::Microsoft Windows 10
if /i "%edition%" equ "Microsoft Windows 10 Home" (set productkey=TX9XD-98N7V-6WMQ6-BX7FG-H8Q99)
if /i "%edition%" equ "Microsoft Windows 10 Home N" (set productkey=3KHY7-WNT83-DGQKR-F7HPR-844BM)
if /i "%edition%" equ "Microsoft Windows 10 Home Single Language" (set productkey=7HNRX-D7KGG-3K4RQ-4WPJ4-YTDFH)
if /i "%edition%" equ "Microsoft Windows 10 Pro" (set productkey=W269N-WFGWX-YVC9B-4J6C9-T83GX)
if /i "%edition%" equ "Microsoft Windows 10 Pro Education" (set productkey=6TP4R-GNPTD-KYYHQ-7B7DP-J447Y)
if /i "%edition%" equ "Microsoft Windows 10 Pro Education N" (set productkey=YVWGF-BXNMC-HTQYQ-CPQ99-66QFC)
if /i "%edition%" equ "Microsoft Windows 10 Pro N" (set productkey=MH37W-N47XK-V7XM9-C7227-GCQG9)
if /i "%edition%" equ "Microsoft Windows 10 Pro for Workstations" (set productkey=NRG8B-VKK3Q-CXVCJ-9G2XF-6Q84J)
if /i "%edition%" equ "Microsoft Windows 10 Pro N for Workstations" (set productkey=9FNHH-K3HBT-3W4TD-6383H-6XYWF)
if /i "%edition%" equ "Microsoft Windows 10 Enterprise" (set productkey=NPPR9-FWDCX-D2C8J-H872K-2YT43)
if /i "%edition%" equ "Microsoft Windows 10 Enterprise N" (set productkey=DPH2V-TTNVB-4X9Q3-TJR4H-KHJW4)
if /i "%edition%" equ "Microsoft Windows 10 Education" (set productkey=NW6C2-QMPVW-D7KKK-3GKT6-VCFB2)
if /i "%edition%" equ "Microsoft Windows 10 Education N" (set productkey=2WH4N-8QGBV-H22JP-CT43Q-MDWWJ)
if /i "%edition%" equ "Microsoft Windows 10 Enterprise 2016 LTSB" (set productkey=DCPHK-NFMTC-H88MJ-PFHPY-QJ4BJ)
::Microsoft Windows 11
if /i "%edition%" equ "Microsoft Windows 11 Home" (set productkey=TX9XD-98N7V-6WMQ6-BX7FG-H8Q99)
if /i "%edition%" equ "Microsoft Windows 11 Home N" (set productkey=3KHY7-WNT83-DGQKR-F7HPR-844BM)
if /i "%edition%" equ "Microsoft Windows 11 Home Single Language" (set productkey=7HNRX-D7KGG-3K4RQ-4WPJ4-YTDFH)
if /i "%edition%" equ "Microsoft Windows 11 Pro" (set productkey=W269N-WFGWX-YVC9B-4J6C9-T83GX)
if /i "%edition%" equ "Microsoft Windows 11 Pro Education" (set productkey=6TP4R-GNPTD-KYYHQ-7B7DP-J447Y)
if /i "%edition%" equ "Microsoft Windows 11 Pro Education N" (set productkey=YVWGF-BXNMC-HTQYQ-CPQ99-66QFC)
if /i "%edition%" equ "Microsoft Windows 11 Pro N" (set productkey=MH37W-N47XK-V7XM9-C7227-GCQG9)
if /i "%edition%" equ "Microsoft Windows 11 Pro for Workstations" (set productkey=NRG8B-VKK3Q-CXVCJ-9G2XF-6Q84J)
if /i "%edition%" equ "Microsoft Windows 11 Pro N for Workstations" (set productkey=9FNHH-K3HBT-3W4TD-6383H-6XYWF)
if /i "%edition%" equ "Microsoft Windows 11 Enterprise" (set productkey=NPPR9-FWDCX-D2C8J-H872K-2YT43)
if /i "%edition%" equ "Microsoft Windows 11 Enterprise N" (set productkey=DPH2V-TTNVB-4X9Q3-TJR4H-KHJW4)
if /i "%edition%" equ "Microsoft Windows 11 Education" (set productkey=NW6C2-QMPVW-D7KKK-3GKT6-VCFB2)
if /i "%edition%" equ "Microsoft Windows 11 Education N" (set productkey=2WH4N-8QGBV-H22JP-CT43Q-MDWWJ)
if /i "%edition%" equ "Microsoft Windows 11 Enterprise Evaluation" (set productkey=NPPR9-FWDCX-D2C8J-H872K-2YT43)
::Microsoft Windows Server 2012
if /i "%edition%" equ "Microsoft Windows Server 2012" (set productkey=BN3D2-R7TKB-3YPBD-8DRP2-27GG4)
if /i "%edition%" equ "Microsoft Windows Server 2012 Essentials" (set productkey=HTDQM-NBMMG-KGYDT-2DTKT-J2MPV)
if /i "%edition%" equ "Microsoft Windows Server 2012 Standard" (set productkey=XC9B7-NBPP2-83J2H-RHMBY-92BT4)
if /i "%edition%" equ "Microsoft Windows Server 2012 Datacenter" (set productkey=48HP8-DN98B-MYWDG-T2DCC-8W83P)
::Microsoft Windows Server 2012 R2
if /i "%edition%" equ "Microsoft Windows Server 2012 Essentials" (set productkey=KNC87-3J2TX-XB4WP-VCPJV-M4FWM)
if /i "%edition%" equ "Microsoft Windows Server 2012 R2 Standard" (set productkey=D2N9P-3P6X9-2R39C-7RTCD-MDVJX)
if /i "%edition%" equ "Microsoft Windows Server 2012 R2 Datacenter" (set productkey=W3GGN-FT8W3-Y4M27-J84CP-Q3VJ9)
::Microsoft Windows Server 2016
if /i "%edition%" equ "Microsoft Windows Server 2016 Essentials" (set productkey=JCKRF-N37P4-C2D82-9YXRT-4M63B)
if /i "%edition%" equ "Microsoft Windows Server 2016 Standard" (set productkey=WC2BQ-8NRM3-FDDYY-2BFGV-KHKQY)
if /i "%edition%" equ "Microsoft Windows Server 2016 Datacenter" (set productkey=CB7KF-BWN84-R7R2Y-793K2-8XDDG)
::Microsoft Windows Server 2019
if /i "%edition%" equ "Microsoft Windows Server 2019 Essentials" (set productkey=WVDHN-86M7X-466P6-VHXV7-YY726)
if /i "%edition%" equ "Microsoft Windows Server 2019 Standard" (set productkey=N69G4-B89J2-4G8F4-WWYCC-J464C)
if /i "%edition%" equ "Microsoft Windows Server 2019 Datacenter" (set productkey=WMDGN-G9PQG-XVVXX-R3X43-63DFG)
::Microsoft Windows Server 2022
if /i "%edition%" equ "Microsoft Windows Server 2022 Standard" (set productkey=VDYBN-27WPP-V4HQT-9VMD4-VMK7H)
if /i "%edition%" equ "Microsoft Windows Server 2022 Datacenter" (set productkey=WX4NM-KYWYW-QJJR4-XV3QB-6VM33)
::Microsoft Windows 8
if /i "%edition%" equ "Microsoft Windows 8 Pro" (set productkey=NG4HW-VH26C-733KW-K6F98-J8CK4)
if /i "%edition%" equ "Microsoft Windows 8 Enterprise" (set productkey=32JNW-9KQ84-P47T8-D8GGY-CWCK7)
::Microsoft Windows 8.1
if /i "%edition%" equ "Microsoft Windows 8.1 Pro" (set productkey=GCRJD-8NW9H-F2CDX-CCM8D-9D6T9)
if /i "%edition%" equ "Microsoft Windows 8.1 Enterprise" (set productkey=MHF9N-XY6XB-WVXMC-BTDCT-MKKG7)
::Windows Server versions 20H2, 2004, 1909, 1903, and 1809 (Semi-Annual Channel versions)
if /i "%edition%" equ "Microsoft Windows Server Standard" (set productkey=VDYBN-27WPP-V4HQT-9VMD4-VMK7H)
if /i "%edition%" equ "Microsoft Windows Server Datacenter" (set productkey=WX4NM-KYWYW-QJJR4-XV3QB-6VM33)
::Microsoft Windows 7/2008/2008R2/LTSC
@for /f "tokens=3*" %%i in ('Reg Query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v ProductName 2^>Nul') do Set "editionx=%%i %%j"
if /i "%editionx%" equ "Windows 7 Professional" (set productkey=FJ82H-XT6CR-J8D7P-XQJJ2-GPDD4)
if /i "%editionx%" equ "Windows 7 Enterprise" (set productkey=33PXH-7Y6KF-2VJC9-XBBR8-HVTHH)
::Microsoft Windows Server 2008 R2
if /i "%editionx%" equ "Windows Server 2008 R2 Standard" (set productkey=YC6KT-GKW9T-YTKYR-T4X34-R7VHC)
if /i "%editionx%" equ "Windows Server 2008 R2 Enterprise" (set productkey=489J6-VHDMP-X63PK-3K798-CPX3Y)
if /i "%editionx%" equ "Windows Server 2008 R2 Datacenter" (set productkey=74YFP-3QFB3-KQT8W-PMXWJ-7M648)
::Microsoft Windows Server 2008
if /i "%editionx%" equ "Windows Server (R) 2008 Standard" (set productkey=TM24T-X9RMF-VWXK6-X8JC9-BFGM2)
if /i "%editionx%" equ "Windows Server (R) 2008 Enterprise" (set productkey=YQGMW-MPWTJ-34KDK-48M3W-X4Q6V)
if /i "%editionx%" equ "Windows Server (R) 2008 Datacenter" (set productkey=7M67G-PC374-GR742-YH8V4-TCBY3)
if /i "%editionx%" equ "Windows 10 Enterprise LTSC 2019" (set productkey=M7XTQ-FN8P6-TTKYV-9D4CC-J462D)
if /i "%editionx%" equ "Windows 10 Enterprise LTSC 2021" (set productkey=M7XTQ-FN8P6-TTKYV-9D4CC-J462D)
if /i "%editionx%" equ "Windows 10 Enterprise Evaluation" (set productkey=NPPR9-FWDCX-D2C8J-H872K-2YT43)
if /i "%editionx%" equ "Windows 11 Enterprise Evaluation" (set productkey=NPPR9-FWDCX-D2C8J-H872K-2YT43)
if /i "%editionx%" equ "Windows 10 Enterprise 2015 LTSB" (set productkey=WNMTR-4C88C-JK8YV-HQ7T2-76DF9)
::Microsoft Windows Server 2008
::wmic os get caption | find /v "Caption" > %temp%\ver.txt
::set /p edition8=<%temp%\ver.txt
::Microsoft Windows Server 2008
::echo.%edition8% | findstr /C:"Microsoftr Windows Serverr 2008 Standard" >nul 2>&1
::if not errorlevel 1 (set productkey=TM24T-X9RMF-VWXK6-X8JC9-BFGM2) else (break)
::echo.%edition8% | findstr /C:"Microsoftr Windows Serverr 2008 Enterprise " >nul 2>&1
::if not errorlevel 1 (set productkey=YQGMW-MPWTJ-34KDK-48M3W-X4Q6V) else (break)
::echo.%edition8% | findstr /C:"Microsoftr Windows Serverr 2008 Datacenter " >nul 2>&1
::if not errorlevel 1 (set productkey=7M67G-PC374-GR742-YH8V4-TCBY3) else (break)
echo .....................................................................................
echo Activating your Windows using product key: %productkey%
cscript %windir%\system32\slmgr.vbs /upk >nul 2>&1
cscript %windir%\system32\slmgr.vbs /ckms >nul 2>&1
cscript %windir%\system32\slmgr.vbs /cpky >nul 2>&1
cscript %windir%\system32\slmgr.vbs /skms kms.msgang.com >nul 2>&1
cscript %windir%\system32\slmgr.vbs /ipk %productkey% >nul 2>&1
cscript %windir%\system32\slmgr.vbs /ato | find /i "successfully"
echo .....................................................................................
echo Your Windows license details:
echo.
cscript %windir%\system32\slmgr.vbs /dlv | find /i "Description"
cscript %windir%\system32\slmgr.vbs /dlv | find /i "Licensed"
cscript %windir%\system32\slmgr.vbs /dlv | find /i "Channel:"
cscript %windir%\system32\slmgr.vbs /dlv | find /i "Partial"
cscript %windir%\system32\slmgr.vbs /dlv | find /i "expiration"
echo.
echo Press any key to close this window.
pause >nul
Method 4: Using PowerShell script
The last way, we can active Windows license using a PowerShell script. The script details can be found at my GitHub. When using the PowerShell script, you can active all Windows editions (Cliens and Server editions) included: Windows 7/8/10/11 and Windows Server 2008/2012/2016/2019/2022.
This method works similar with the batch script method but you don’t need to download anything. And we had no pop-up window saying Windows protected your PC anymore.
All you need to do is open PowerShell as administrator then run below command.
The script will run automatically. If has no issue, you should see the below output. The Windows Server 2019 Standard has been activated free forever.
#Output
========================================================================================
Description: Activating Microsoft software products for FREE without additional software
Website: https://msgang.com
Script by: Leo Nguyen
For detailed script execution: https://win.msgang.com
========================================================================================
You're using Microsoft Windows Server 2019 Standard
Activating your Windows license...
Done!
========================================================================================
Product Key Channel: Volume:GVLK
License Status: Licensed
========================================================================================
(*)Visit https://msang.com for more products.
Conclusion
Hello Friends! My name is Leo, and I’m excited to share everything I know about activating Microsoft software products. In the past, I managed several YouTube channels on this topic, but they were taken down by Microsoft. That’s why I decided to start this blog to keep the conversation alive without interruptions. I’m committed to sharing my knowledge and insights for as long as possible!
If you would have any questions or concerns, please leave your comments or visit my Discord server. I would be glad to explain in more details. Thank you so much for all your feedback and support!
Want to activate others Microsoft products for free? You can follow the below posts:
- Windows 7/8/8.1/10/11
- Windows Servers 2008/2012/2016/2019/2022
- Microsoft Office 2013/2016/2019/2021 (included Visio and Project)
13 марта 2025 г. 10:22
886
Содержание:
- Как проверить, активирован ли Windows Server 2019
- Активация Windows Server 2019 с лицензионным ключом
- Как активировать Виндовс Сервер 2019 без интернета
- Активация через «Параметры»
- Активация через «Панель управления»
- Что делать, если активация не проходит
Активация Windows Server 2019 — обязательный шаг для полноценного использования системы. Без неё сервер будет работать в ограниченном режиме, а со временем появятся уведомления о необходимости активации. Чтобы избежать таких проблем, важно выполнить процедуру правильно и своевременно. В этом руководстве рассмотрим, как активировать сервер с помощью лицензионного ключа и что делать, если интернет-соединение недоступно.
Как проверить, активирован ли Windows Server 2019
Прежде чем вводить ключ, стоит убедиться, что система действительно нуждается в активации. Сделать это можно с помощью встроенного инструмента проверки лицензии. Для этого достаточно открыть командную строку с правами администратора и выполнить команду slmgr /dlv.
Через несколько секунд появится окно с информацией о текущем статусе лицензии. Если напротив License Status указано Licensed, активация уже выполнена, и дальнейшие действия не требуются. Если же система находится в режиме Notification или Grace Period, это значит, что срок пробной версии истекает, и требуется ввод лицензии. В таком случае можно переходить к следующему этапу.
Активация Windows Server 2019 с лицензионным ключом
При таком способе активация займет всего пару минут. Чтобы активировать Windows Server 2019 Standard, выполните следующие шаги:
- Откройте командную строку от имени администратора.
- Введите команду slmgr /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX, заменив XXXXXX на ваш лицензионный ключ. Если у вас еще нет его, купить недорого и с моментальной доставкой можно ЗДЕСЬ.
- Нажмите Enter, затем введите команду slmgr /ato для запуска активации.
- Для проверки успешности выполнения команды используйте slmgr /dlv.
После успешной активации в статусе License Status появится значение Licensed.
Как активировать Виндовс Сервер 2019 без интернета
Бывает, что сервер работает в закрытой сети или не имеет доступа к интернету. В этом случае Microsoft предлагает альтернативный способ — телефонную активацию. Чтобы выполнить её, нужно сначала сгенерировать уникальный Installation ID. Это делается с помощью команды slmgr /dti в командной строке. После этого необходимо связаться с центром активации Microsoft и продиктовать полученный код. В ответ оператор предоставит Confirmation ID — его нужно ввести командой slmgr /atp, добавив полученные цифры. Завершив этот процесс, можно проверить статус лицензии командой slmgr /dlv, чтобы убедиться, что сервер активирован. Этот метод удобен в ситуациях, когда интернет-соединение недоступно, но требуется выполнить активацию без задержек.
Активация через «Параметры»
Этот метод самый простой для тех, кто использует Windows Server 2019 с графической оболочкой. Вот как это делается:
- Откройте «Параметры» с помощью сочетания клавиш Win + I.
- Перейдите в раздел «Обновление и безопасность» → «Активация».
- В правой части окна нажмите «Изменить ключ продукта».
- Введите лицензионный ключ Windows Server 2019 и нажмите «Далее».
- Дождитесь завершения проверки и активации.
После успешной активации статус системы изменится на Licensed, а все функции Windows Server 2019 станут доступными без ограничений.
Активация через «Панель управления»
Этот способ подходит пользователям, которые привыкли к классическому интерфейсу Windows:
- Откройте «Панель управления» (через меню «Пуск» или с помощью Win + R, затем введите control).
- Перейдите в раздел «Система».
3. В нижней части окна найдите блок «Активация Windows» и нажмите «Изменить ключ продукта».
4. Введите лицензионный ключ и нажмите «ОК». Cсылки для дешевого приобретения ключа имеются выше.
5. Дождитесь завершения активации.
Если сервер подключен к интернету, система автоматически свяжется с сервером Microsoft и подтвердит лицензию.
После активации можно приступить к установке терминального сервера, инструкцию по которой мы размести в другой статье.
Также на сайте есть инструкция о настройке терминального сервера в Windows Server 2019.
Что делать, если активация не проходит
Иногда система выдает ошибки при вводе ключа или отправке запроса. В таком случае первым делом стоит проверить корректность ключа: если он введен с ошибкой, активация не пройдет. Если система сообщает, что сервер активации недоступен, возможно, соединение блокируется брандмауэром или антивирусом. Временное отключение защиты и повторная попытка могут решить проблему.
При ошибке 0xC004F074, которая связана с проблемами службы лицензирования, поможет её перезапуск. Это можно сделать с помощью команд net stop sppsvc, а затем net start sppsvc. Если после этого активация всё ещё не проходит, стоит обратиться в техническую поддержку Microsoft.
Microsoft KMS Activation
Usage
Start a Command Prompt as an Administrator
.
Windows
slmgr.vbs -ipk NPPR9-FWDCX-D2C8J-H872K-2YT43
slmgr.vbs -skms kms.malash.net
slmgr.vbs -ato
Office
cd C:\Program Files\Microsoft Office\Office16
cscript ospp.vbs /inpkey:FXYTK-NJJ8C-GB6DW-3DYQT-6F7TH
cscript ospp.vbs /sethst:kms.malash.net
cscript ospp.vbs /act
GVLKs
Authoritative source on Microsoft’s TechNet and Windows Server Activation Guide.
Windows 10
Operating system edition | KMS Client Setup Key |
---|---|
Windows 10 Core | TX9XD-98N7V-6WMQ6-BX7FG-H8Q99 |
Windows 10 Core N | 3KHY7-WNT83-DGQKR-F7HPR-844BM |
Windows 10 Core Country Specific | PVMJN-6DFY6-9CCP6-7BKTT-D3WVR |
Windows 10 Core Single Language | 7HNRX-D7KGG-3K4RQ-4WPJ4-YTDFH |
Windows 10 Professional | W269N-WFGWX-YVC9B-4J6C9-T83GX |
Windows 10 Professional N | MH37W-N47XK-V7XM9-C7227-GCQG9 |
Windows 10 Enterprise | NPPR9-FWDCX-D2C8J-H872K-2YT43 |
Windows 10 Enterprise N | DPH2V-TTNVB-4X9Q3-TJR4H-KHJW4 |
Windows 10 Education | NW6C2-QMPVW-D7KKK-3GKT6-VCFB2 |
Windows 10 Education N | 2WH4N-8QGBV-H22JP-CT43Q-MDWWJ |
Windows 10 Enterprise 2015 LTSB | WNMTR-4C88C-JK8YV-HQ7T2-76DF9 |
Windows 10 Enterprise 2015 LTSB N | 2F77B-TNFGY-69QQF-B8YKP-D69TJ |
Windows 10 Enterprise 2016 LTSB | DCPHK-NFMTC-H88MJ-PFHPY-QJ4BJ |
Windows 10 Enterprise 2016 LTSB N | QFFDN-GRT3P-VKWWX-X7T3R-8B639 |
Windows 8 / 8.1
Operating system edition | KMS Client Setup Key |
---|---|
Windows 8 Professional | NG4HW-VH26C-733KW-K6F98-J8CK4 |
Windows 8 Professional N | XCVCF-2NXM9-723PB-MHCB7-2RYQQ |
Windows 8 Enterprise | 32JNW-9KQ84-P47T8-D8GGY-CWCK7 |
Windows 8 Enterprise N | JMNMF-RHW7P-DMY6X-RF3DR-X2BQT |
Windows Embedded 8 Industry Professional | RYXVT-BNQG7-VD29F-DBMRY-HT73M |
Windows Embedded 8 Industry Enterprise | NKB3R-R2F8T-3XCDP-7Q2KW-XWYQ2 |
Windows 8.1 Professional | GCRJD-8NW9H-F2CDX-CCM8D-9D6T9 |
Windows 8.1 Professional N | HMCNV-VVBFX-7HMBH-CTY9B-B4FXY |
Windows 8.1 Enterprise | MHF9N-XY6XB-WVXMC-BTDCT-MKKG7 |
Windows 8.1 Enterprise N | TT4HM-HN7YT-62K67-RGRQJ-JFFXW |
Windows Embedded 8.1 Industry Pro | NMMPB-38DD4-R2823-62W8D-VXKJB |
Windows Embedded 8.1 Industry Enterprise | FNFKF-PWTVT-9RC8H-32HB2-JB34X |
Windows 7
Operating system edition | KMS Client Setup Key |
---|---|
Windows 7 Professional | FJ82H-XT6CR-J8D7P-XQJJ2-GPDD4 |
Windows 7 Professional N | MRPKT-YTG23-K7D7T-X2JMM-QY7MG |
Windows 7 Professional E | W82YF-2Q76Y-63HXB-FGJG9-GF7QX |
Windows 7 Enterprise | 33PXH-7Y6KF-2VJC9-XBBR8-HVTHH |
Windows 7 Enterprise N | YDRBP-3D83W-TY26F-D46B2-XCKRJ |
Windows 7 Enterprise E | C29WB-22CC8-VJ326-GHFJW-H9DH4 |
Windows Server 2022
Operating system edition | KMS Client Setup Key |
---|---|
Windows Server 2022 Datacenter | WX4NM-KYWYW-QJJR4-XV3QB-6VM33 |
Windows Server 2022 Standard | VDYBN-27WPP-V4HQT-9VMD4-VMK7H |
Windows Server 2019
Operating system edition | KMS Client Setup Key |
---|---|
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
Operating system edition | KMS Client Setup Key |
---|---|
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 |
Windows Server 2012
Operating system edition | KMS Client Setup Key |
---|---|
Windows Server 2012 | BN3D2-R7TKB-3YPBD-8DRP2-27GG4 |
Windows Server 2012 N | 8N2M2-HWPGY-7PGT9-HGDD8-GVGGY |
Windows Server 2012 Single Language | 2WN2H-YGCQR-KFX6K-CD6TF-84YXQ |
Windows Server 2012 Country Specific | 4K36P-JN4VD-GDC6V-KDT89-DYFKP |
Windows Server 2012 Server Standard | XC9B7-NBPP2-83J2H-RHMBY-92BT4 |
Windows Server 2012 MultiPoint Standard | HM7DN-YVMH3-46JC3-XYTG7-CYQJJ |
Windows Server 2012 MultiPoint Premium | XNH6W-2V9GX-RGJ4K-Y8X6F-QGJ2G |
Windows Server 2012 Datacenter | 48HP8-DN98B-MYWDG-T2DCC-8W83P |
Windows Server 2012 R2 Server Standard | D2N9P-3P6X9-2R39C-7RTCD-MDVJX |
Windows Server 2012 R2 Datacenter | W3GGN-FT8W3-Y4M27-J84CP-Q3VJ9 |
Windows Server 2012 R2 Essentials | KNC87-3J2TX-XB4WP-VCPJV-M4FWM |
Windows Server 2008
Operating system edition | KMS Client Setup Key |
---|---|
Windows Server 2008 Web | WYR28-R7TFJ-3X2YQ-YCY4H-M249D |
Windows Server 2008 Standard | TM24T-X9RMF-VWXK6-X8JC9-BFGM2 |
Windows Server 2008 Standard without Hyper-V | W7VD6-7JFBR-RX26B-YKQ3Y-6FFFJ |
Windows Server 2008 Enterprise | YQGMW-MPWTJ-34KDK-48M3W-X4Q6V |
Windows Server 2008 Enterprise without Hyper-V | 39BXF-X8Q23-P2WWT-38T2F-G3FPG |
Windows Server 2008 HPC | RCTX3-KWVHP-BR6TB-RB6DM-6X7HP |
Windows Server 2008 Datacenter | 7M67G-PC374-GR742-YH8V4-TCBY3 |
Windows Server 2008 Datacenter without Hyper-V | 22XQ2-VRXRG-P8D42-K34TD-G3QQC |
Windows Server 2008 for Itanium-Based Systems | 4DWFP-JF3DJ-B7DTH-78FJB-PDRHK |
Windows Server 2008 R2 Web | 6TPJF-RBVHG-WBW2R-86QPH-6RTM4 |
Windows Server 2008 R2 HPC edition | TT8MH-CG224-D3D7Q-498W2-9QCTX |
Windows Server 2008 R2 Standard | YC6KT-GKW9T-YTKYR-T4X34-R7VHC |
Windows Server 2008 R2 Enterprise | 489J6-VHDMP-X63PK-3K798-CPX3Y |
Windows Server 2008 R2 Datacenter | 74YFP-3QFB3-KQT8W-PMXWJ-7M648 |
Windows Server 2008 R2 for Itanium-based Systems | GT63C-RJFQ3-4GMB6-BRFB9-CB83V |
Office LTSC 2021
Product | GVLK |
---|---|
Office LTSC Professional Plus 2021 | FXYTK-NJJ8C-GB6DW-3DYQT-6F7TH |
Office LTSC Standard 2021 | KDX7X-BNVR8-TXXGX-4Q7Y8-78VT3 |
Project Professional 2021 | FTNWT-C6WBT-8HMGF-K9PRX-QV9H8 |
Project Standard 2021 | J2JDC-NJCYY-9RGQ4-YXWMH-T3D4T |
Visio LTSC Professional 2021 | KNH8D-FGHT4-T8RK3-CTDYJ-K2HT4 |
Visio LTSC Standard 2021 | MJVNY-BYWPY-CWV6J-2RKRT-4M8QG |
Access LTSC 2021 | WM8YG-YNGDD-4JHDC-PG3F4-FC4T4 |
Excel LTSC 2021 | NWG3X-87C9K-TC7YY-BC2G7-G6RVC |
Outlook LTSC 2021 | C9FM6-3N72F-HFJXB-TM3V9-T86R9 |
PowerPoint LTSC 2021 | TY7XF-NFRBR-KJ44C-G83KF-GX27K |
Publisher LTSC 2021 | 2MW9D-N4BXM-9VBPG-Q7W6M-KFBGQ |
Skype for Business LTSC 2021 | HWCXN-K3WBT-WJBKY-R8BD9-XK29P |
Word LTSC 2021 | TN8H9-M34D3-Y64V9-TR72V-X79KV |
Office 2019
Product | GVLK |
---|---|
Office Professional Plus 2019 | NMMKJ-6RK4F-KMJVX-8D9MJ-6MWKP |
Office Standard 2019 | 6NWWJ-YQWMR-QKGCB-6TMB3-9D9HK |
Project Professional 2019 | B4NPR-3FKK7-T2MBV-FRQ4W-PKD2B |
Project Standard 2019 | C4F7P-NCP8C-6CQPT-MQHV9-JXD2M |
Visio Professional 2019 | 9BGNQ-K37YR-RQHF2-38RQ3-7VCBB |
Visio Standard 2019 | 7TQNQ-K3YQQ-3PFH7-CCPPM-X4VQ2 |
Access 2019 | 9N9PT-27V4Y-VJ2PD-YXFMF-YTFQT |
Excel 2019 | TMJWT-YYNMB-3BKTF-644FC-RVXBD |
Outlook 2019 | 7HD7K-N4PVK-BHBCQ-YWQRW-XW4VK |
PowerPoint 2019 | RRNCX-C64HY-W2MM7-MCH9G-TJHMQ |
Publisher 2019 | G2KWX-3NW6P-PY93R-JXK2T-C9Y9V |
Skype for Business 2019 | NCJ33-JHBBY-HTK98-MYCV8-HMKHJ |
Word 2019 | PBX3G-NWMT6-Q7XBW-PYJGG-WXD33 |
Office 2016
Product | GVLK |
---|---|
Office Professional Plus 2016 | XQNVK-8JYDB-WJ9W3-YJ8YR-WFG99 |
Office Standard 2016 | JNRGM-WHDWX-FJJG3-K47QV-DRTFM |
Project Professional 2016 | YG9NW-3K39V-2T3HJ-93F3Q-G83KT |
Project Standard 2016 | GNFHQ-F6YQM-KQDGJ-327XX-KQBVC |
Visio Professional 2016 | PD3PC-RHNGV-FXJ29-8JK7D-RJRJK |
Visio Standard 2016 | 7WHWN-4T7MP-G96JF-G33KR-W8GF4 |
Access 2016 | GNH9Y-D2J4T-FJHGG-QRVH7-QPFDW |
Excel 2016 | 9C2PK-NWTVB-JMPW8-BFT28-7FTBF |
OneNote 2016 | DR92N-9HTF2-97XKM-XW2WJ-XW3J6 |
Outlook 2016 | R69KK-NTPKF-7M3Q4-QYBHW-6MT9B |
PowerPoint 2016 | J7MQP-HNJ4Y-WJ7YM-PFYGF-BY6C6 |
Publisher 2016 | F47MM-N3XJP-TQXJ9-BP99D-8K837 |
Skype for Business 2016 | 869NQ-FJ69K-466HW-QYCP2-DDBV6 |
Word 2016 | WXY84-JN2Q9-RBCCQ-3Q3J3-3PFJ6 |
Office 2013
Product | GVLK |
---|---|
Office 2013 Professional Plus | YC7DK-G2NP3-2QQC3-J6H88-GVGXT |
Office 2013 Standard | KBKQT-2NMXY-JJWGP-M62JB-92CD4 |
Project 2013 Professional | FN8TT-7WMH6-2D4X9-M337T-2342K |
Project 2013 Standard | 6NTH3-CW976-3G3Y2-JK3TX-8QHTT |
Visio 2013 Professional | C2FG9-N6J68-H8BTJ-BW3QX-RM3B3 |
Visio 2013 Standard | J484Y-4NKBF-W2HMG-DBMJC-PGWR7 |
Access 2013 | NG2JY-H4JBT-HQXYP-78QH9-4JM2D |
Excel 2013 | VGPNG-Y7HQW-9RHP7-TKPV3-BG7GB |
InfoPath 2013 | DKT8B-N7VXH-D963P-Q4PHY-F8894 |
Lync 2013 | 2MG3G-3BNTT-3MFW9-KDQW3-TCK7R |
OneNote 2013 | TGN6P-8MMBC-37P2F-XHXXK-P34VW |
Outlook 2013 | QPN8Q-BJBTJ-334K3-93TGY-2PMBT |
PowerPoint 2013 | 4NT99-8RJFH-Q2VDH-KYG2C-4RD4F |
Publisher 2013 | PN2WF-29XG2-T9HJ7-JQPJR-FCXK4 |
Word 2013 | 6Q7VD-NX8JD-WJ2VH-88V73-4GBJ7 |
Office 2010
Product | GVLK |
---|---|
Office Professional Plus 2010 | VYBBJ-TRJPB-QFQRF-QFT4D-H3GVB |
Office Standard 2010 | V7QKV-4XVVR-XYV4D-F7DFM-8R6BM |
Access 2010 | V7Y44-9T38C-R2VJK-666HK-T7DDX |
Excel 2010 | H62QG-HXVKF-PP4HP-66KMR-CW9BM |
SharePoint Workspace 2010 | QYYW6-QP4CB-MBV6G-HYMCJ-4T3J4 |
InfoPath 2010 | K96W8-67RPQ-62T9Y-J8FQJ-BT37T |
OneNote 2010 | Q4Y4M-RHWJM-PY37F-MTKWH-D3XHX |
Outlook 2010 | 7YDC2-CWM8M-RRTJC-8MDVC-X3DWQ |
PowerPoint 2010 | RC8FX-88JRY-3PF7C-X8P67-P4VTT |
Project Professional 2010 | YGX6F-PGV49-PGW3J-9BTGG-VHKC6 |
Project Standard 2010 | 4HP3K-88W3F-W2K3D-6677X-F9PGB |
Publisher 2010 | BFK7F-9MYHM-V68C7-DRQ66-83YTP |
Word 2010 | HVHB3-C6FV7-KQX9W-YQG79-CRY7T |
Visio Standard 2010 | 767HD-QGMWX-8QTDB-9G3R2-KHFGJ |
Visio Professional 2010 | 7MCW8-VRQVK-G677T-PDJCM-Q8TCP |
Visio Premium 2010 | D9DWC-HPYVV-JGF4P-BTWQB-WX8BJ |
Head to your account section on our website. Hover over Profile (without clicking) and a dropdown menu will open. Select Product Keys.
There you will find the product key you need to activate Windows Server 2019.
If you are activating a previously installed Windows Server, make sure it is not in the evaluation period and do the following:
Note: We recommend downloading and installing all software updates before starting activation.
- Once you have installed all available updates for Windows Server, select the Start button and click Settings.
- Next, click Update & Security.
- Click Activation.
- Next, click Change product key.
- Enter your product key and click Next.
Note: If after entering your product key you receive the following message The product key you entered did not work. Check the product key and try again, or try a different one, it is likely that your system is an evaluation edition or the operating system is installed on a different activation channel than the one the licence belongs to. We suggest contacting one of our agents to help identify the error and assist you in resolving it. For personalised assistance, click here.
If your system is installed as an evaluation edition, you’ll need to perform the following process:
Note: The server must have all available updates installed, or you’ll receive an error during activation.
- In the search box on the taskbar, type CMD. The Command Prompt will then appear. Right-click and select Run as administrator.
- In the box, type the following command: dism /online /set-edition:serverstandard /productkey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX /accepteula. Replace the Xs with your product key and press the Enter key.
- After the activation process is complete, you must restart the server.
- After restarting, you will have your activated Windows Server 2019 ready for use. You can check this in the bottom right corner where the Windows Server Standard Evaluation mark will no longer appear.
Microsoft added a wide range of cloud-based features to Windows Server 2019, but the first step to the cloud can trip up admins who encounter activation problems with the server OS.
Windows Server 2019 requires license activation after 180 days, otherwise the system will shut down. With multiple server workloads, it’s not efficient to log in to each machine and manually activate them. There are also times when entering a valid key from the Volume Licensing Service Center (VLSC) will not work. Errors and key rejection can happen, often for no apparent reason. To avoid frustration with the server GUI, it’s beneficial to learn how to activate the Windows Server 2019 license through alternative methods such as the command line or Key Management Services (KMS).
Why use Windows Server 2019?
A switch to Windows Server 2022 might be a bit premature for many organizations who might prefer a more battle-tested server OS, while Windows Server 2016 might lack the more advanced functionality sought by some companies.
Windows Server 2019 offers important enhancements and a few years of updates that should placate even the wariest of admins who prefer stability over cutting-edge features. Some advantages in Windows Server 2019 over Windows Server 2016 include:
- a unified management center for both networking and ecosystem monitoring;
- scalable, expanded storage up to 64 TB, plus replication for disaster recovery;
- better performance in Storage Space Direct — up to two times faster according to Microsoft — through improvements in mirror-accelerated parity; and
- cloud-based file witness sharing.
Perhaps most fundamentally, Windows Server 2016 was not built for hybrid environments, making data management trickier for admins.
Windows Server 2019 also bakes in two modern technologies: AI and IoT support. Windows Server 2019 uses artificial intelligence for smarter predictions based on analytics. Microsoft added this feature to help admins lower operating costs. Devices on connected IoT platforms, such as servers and machines, can seamlessly share and back up data.
Microsoft updated Server 2019’s security features, added better support for Linux VMs, tweaked subsystem containers for easier development and updated its Remote Desktop Services functionality. This newest version also integrates with Windows Admin Center.
But the key to unlocking all this functionality is to activate Windows Server 2019 to avoid disruptions after deployment.
Activation via the command line and Software License Manager
Tapping into the elevated command line is a reliable way to access the Software License Manager (SLMGR), also called the Windows Software Licensing Management Tool. Interacting directly with SLMGR handles activation and access to license information.
There are some potential issues that come with working via the command line. Accidental commands will typically generate an error message, but it’s possible to harm the environment. Certain SLMGR parameters can also alter registry information. Double check the command before execution to avoid problems.
This SLMGR uses parameters to deliver specific instructions. The parameters act like extensions and use the following format: slmgr /[parameter].
The SLMGR parameters fetch licensing information, alter licensing information and execute activation for Windows Server 2019.
Here are some common SLMGR parameters:
- /dli: displays basic license and activation information;
- /dlv: displays detailed license and activation information;
- /xpr: displays the expiration date of an installed license;
- /upk: uninstalls the existing license key;
- /cpky: removes license key information from the registry;
- /ipk [XXXXX-XXXXX-XXXXX-XXXXX-XXXXX]: changes the 25-digit license key or tries to activate the license if the provided key does not currently; and
- /ato: forces immediate online activation, which is especially useful when KMS servers or Microsoft’s VLSC online activation servers aren’t reachable.
The primary extension used with activating Windows Server 2019 is /ipk, often used if there are issues using the VLSC.
Activate Windows Server 2019 with the command line
The following example command activates a license key. Navigate to the system32 folder from the command line, replace the Xs with the 25-digit license key and press Enter to execute the command:
slmgr /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
A pop-up dialog box will show if the operation failed or succeeded. Microsoft recommends a server restart after a successful activation attempt. After a reboot, Server Manager will show the activated server.
If a server is missing from Server Manager, there might be an activation error. Open the command line and enter the slmgr /ato command. A Windows Script Host pop-up will display an error message that explains why the Multiple Activation Key was invalid. Either use another activation key or contact Microsoft for support.
KMS is an alternative activation method
Another way to handle VLSC activation is to use KMS, a client-server model for volume activation.
KMS clients connect to a KMS server, also called the KMS host, on the network for activation. A KMS host can be a VM or physical machine. To activate a computer running Windows Server 2019, the KMS host must use one of the following OSes: Windows Server 2012 R2, Windows Server 2016 or Windows Server 2019.
How to find and use the KMS Host license key
To set up a KMS host requires obtaining the KMS Host key. Use the following steps to activate the KMS host:
- From the VLSC website, navigate to License > Relationship Summary > Click Current Active License ID > Product Keys and copy the Windows Srv 2019 DataCtr/Std KMSfrom the keys list.
- Open the command prompt, type slmgr /ipk followed by the 25-digit KMS host product key and press Enter. Then, use slmgr /ato to activate the host key.
The server also needs the Volume Activation Services server role installed either from Server Manager or via this PowerShell command:
Install-WindowsFeature -Name VolumeActivation -IncludeManagementTools
The KMS host should then announce its presence on the network for KMS clients, such as a Windows Server 2019 machine. The KMS client should activate automatically, which remains valid for 180 days until it renews the activation via the KMS host.
Editor’s note: This article was revised in 2024 by TechTarget editors to improve the reader experience.