Как активировать windows server 2022 datacenter

Activate Windows Server 2022

Open powerrshell and run administrator

Find Available Target Editions

DISM.exe /Online /Get-TargetEditions

Convert Server Standard 2022 Evaluation to Server Datacenter 2022

DISM /online /Set-Edition:ServerDatacenter /ProductKey:WX4NM-KYWYW-QJJR4-XV3QB-6VM33 /AcceptEula

How To Activate

slmgr /ipk WX4NM-KYWYW-QJJR4-XV3QB-6VM33
slmgr /skms kms.teevee.asia
slmgr /ato

1 марта 2025 г. 13:29

1133

Содержание:

  1. Для чего необходима активация Server 2022
  2. Способы активации Windows Server 2022
  3. Активация Windows Server 2022 Standard через командную строку
  4. Как активировать Windows Server 2022 через интернет или по телефону
  5. Как проверить статус активации
  6. Что делать, если активация не проходит

После установки Windows Server 2022 система требует активации. Это обязательный этап, без которого могут возникнуть ограничения в работе и постоянные уведомления. Рассмотрим официальные и безопасные способы как активировать Виндовс Сервер 2022. 

Для чего необходима активация Server 2022

Если система не активирована, это приводит к ряду неудобств:

  • Появляются постоянные уведомления о необходимости активации.
  • Нельзя изменить темы, обои и настройки интерфейса.
  • Система не получает обновления безопасности и исправления ошибок.
  • Некоторые серверные службы могут работать с ограничениями.

Активация гарантирует, что сервер получит доступ ко всем функциям, будет защищён от уязвимостей и сможет корректно работать в долгосрочной перспективе.

Способы активации Windows Server 2022

Официальная активация Виндовс Сервер 2022 возможна с помощью командной строки либо через интернет или по телефону. Каждый вариант доступен и не требует сложных действий. Всё, что необходимо, — это лицензионный ключ. Выгодно и быстро можно приобрести его ЗДЕСЬ.

Активация Windows Server 2022 Standard через командную строку

Если у вас есть официальный ключ для Windows Server 2022, выполните следующие шаги:

  • Откройте командную строку от имени администратора. Для этого нажмите Win + R и введите cmd.

  • Введите команду slmgr /ipk и через пробел впишите ваш лицензионный ключ. Нажмите Enter.

  • Подтвердите выполнение команды и введите slmgr /ato, затем снова нажмите Enter.

  • Дождитесь завершения процесса.

Этот метод позволяет активировать систему за несколько секунд.

Как активировать Windows Server 2022 через интернет или по телефону

Если стандартный способ не сработал, попробуйте активировать сервер через Microsoft:

  • Откройте параметры Windows, нажав Win + I. Перейдите в раздел «Система» → «Активация».
  • Введите лицензионный ключ и нажмите «Активировать».
  • Если автоматическая активация не удалась, выберите «Активация по телефону».
  • Следуйте инструкциям Microsoft и введите код активации.

Этот способ особенно полезен, если сервер не имеет доступа к интернету или возникают ошибки при стандартной активации. 

Как проверить статус активации

Чтобы убедиться, что активация Windows Server 2022 Datacenter прошла успешно, выполните команду slmgr /xpr в командной строке. В появившемся окне отобразится информация о статусе активации.

Что делать, если активация не проходит

Иногда система может выдавать ошибки при вводе ключа. Возможные причины:

  • Ключ введён с ошибкой — попробуйте ввести его заново.
  • Нет подключения к интернету — проверьте сеть и повторите попытку.
  • Сервер активации временно недоступен — подождите некоторое время и попробуйте снова.
  • Ключ не подходит к данной версии Windows Server — убедитесь, что он соответствует установленной редакции системы.

Если ни один из способов не помог, рекомендуется связаться с технической поддержкой Microsoft.

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 2022 Datacenter and it is not activated. We need to activate it to made it function normally and remove the licese watermark on the desktop.

kUzakGdFmSKtOLKSkbLp0NbblTElT3TbmjWykI6S7abprjJ1EGAkWax3MSe7

Method 1: Manual activation

The first way, we can use the Windows Command Prompt (CMD) to activate the Windows Server 2022 Datacenter 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.

2SQRyaIKy9eTKIfA1kIbUD72REcZ2Chjq6k9iSKJcNydiOfQozSuqnF0Ksx9okW40E

2️⃣ Copy, right click to paste all below commands into CMD window at once then hit Enter.

cscript //nologo %windir%\system32\slmgr.vbs /ipk WX4NM-KYWYW-QJJR4-XV3QB-6VM33
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 2022 Datacenter 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 WX4NM-KYWYW-QJJR4-XV3QB-6VM33
Installed product key WX4NM-KYWYW-QJJR4-XV3QB-6VM33 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), ServerDatacenter edition (ef6cfc9f-8c5d-44ac-9aad-de6a2ea0ae03) ...
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.

EtpLr1qBmUwKpdLneF50iWt4xRNXzcZuYavNDT69K2A5IJW6Vv2qhwOV6Fu6

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.

2SQRyaIKy9eTKIfA1kIbUD72REcZ2Chjq6k9iSKJcNydiOfQozSuqnF0KT57twn02LUGjdXgr6FJXQLIdXl2Y9xchFsH79ET9DeTHkanXtlFLfImzxfgy

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 WX4NM-KYWYW-QJJR4-XV3QB-6VM33
cscript //nologo $env:systemroot\system32\slmgr.vbs /skms kms.msgang.com
cscript //nologo $env:systemroot\system32\slmgr.vbs /ato

3️⃣ Your Windows Server 2022 Datacenter 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 WX4NM-KYWYW-QJJR4-XV3QB-6VM33
Installed product key WX4NM-KYWYW-QJJR4-XV3QB-6VM33 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), ServerDatacenter edition (ef6cfc9f-8c5d-44ac-9aad-de6a2ea0ae03) ...
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, 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.

qBwgz7bcvQoi09b1FcBXh2AWLwcIlqgnhDIHxblcndKnwACtquDMU9Rq6P2T

3️⃣ Navigate to the extracted folder. Right-click on the batch file, select Run as administrator to run the batch file with admin rights.

nT21MnqYsN8wAEvL4hfo1f1dnQB2otAIzZKRKp0dB9YIVfRR2PmZGQtiW7sO

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.

MWcIRPwvEz4zPy3WRPoJHoicM8HkYKfHMUsA3fdIb7SOi7vZ1S3VUAvLuanG

The script will run automatically. If has no issue, you should see the below output. 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 2022 Datacenter
.....................................................................................
.....................................................................................
Activating your Windows using product key: WX4NM-KYWYW-QJJR4-XV3QB-6VM33
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: 6VM33
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/8.1/10/11 and Windows Server 2008/2008R2/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 2022 Datacenter has been activated for free without any software or crack tools.

========================================================================================
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 2022 Datacenter
Activating your Windows license...
Done!
========================================================================================

Your Windows edition: Microsoft Windows Server 2022 Datacenter
Product Key Channel: Volume:GVLK
License Status: Licensed
========================================================================================
(*)Visit https://msang.com for more products.

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!

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!

Buy Me A Coffee

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)

Go to the account section on our website. With the cursor over Profile (without clicking), a dropdown menu will open. Select Product Keys.

There you’ll find the product key you need to activate Windows Server 2022.

If you’re going to activate a previously installed Windows Server, make sure it’s not in evaluation period and do the following:

Note: We recommend downloading and installing all software updates before starting the activation.

  1. Once you’ve installed all available updates for Windows Server, select the Start button and then click on Settings.
  2. Next, click on Update & Security.
  3. Now click on Activation.
  4. Then, click on Change product key.
  5. Enter the product key and click on Next.
  6. Note: If after entering your product key you receive the following message The product key you entered didn’t work. Check the product key and try again, or try a different one, it’s likely your system is the evaluation edition or the operating system is installed on a different activation channel than the licence belongs to. We suggest contacting one of our agents to help identify the error and help you fix 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 activation error.

  1. In the taskbar search box, type CMD. Then the Command Prompt will appear. Right-click and select Run as administrator.
  2. 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 Enter.
  3. After the activation process has finished, restart the server.
  4. After restarting, you will have your activated Windows Server 2022 ready for use. You can check this in the bottom right corner where the Windows Server Standard Evaluation watermark will no longer appear.

Windows Server 2022 is the latest server OS designed, developed, and launched by Microsoft, the tech giant of Microsoft. This is the most recent and modern OS server provided by Microsoft. In this guide, we will discuss the download Windows Server 2022 Datacenter, installation, and activation process with some easy instructions. So, let’s keep rolling;

Verify the System Requirements of Microsoft Windows Server 2022 Datacenter with Your Device Specifications

Verifying the system requirements of Server 2022 Datacenter with your device specification is the first step before continuing with the downloading, installation, and activation process. Here are the system requirements for Server Datacenter 2022;

Processor:

At least 1.4 GHz (Gigahertz) 64-bit processor, compatible with x64 instruction set with support for NX, DEP, CMPXCHG16b, LAHF/SAHF, and PrefetchW.

Memory:

A minimum of 512 MB (Megabytes) of memory; for the Server with the Desktop Experience installation option, you need at least 2 GB (Gigabyte) of memory space. ECC type memory (Error Correcting Code). In terms of the physical server, a minimum of 32 GB disk space is required.

Network:

A minimum 1 Gbps compliant network adapter with PCI Express architecture specification.

Graphics:

SVGA display with a minimum resolution of 1024 x 768 or higher.

Additional Requirements:

UEFI 2.3.1 c-based system, firmware with secure boot, Trusted Platform Module (TPM), portable boot/ thumb drive, and internet connection.

To know about your device specification, navigate through Settings > System > About on your Windows OS-operated device. It will help you to match the device specification with the system requirements of the Windows Server 2022 Datacenter edition.

Download Windows Server 2022 Datacenter from Microsoft Official Site

Once you have verified the software system requirements with your device’s system specification, you can proceed with the Windows 2022 Server Datacenter download process. Before that, ensure your device is well-connected with an active internet connection with a stable speed. Otherwise, the download process may take a long time to finish. After that, press the Download Now button below to start the download process directly from the Microsoft official site.

Depending on your internet connection, the ISO downloading process may take a while to complete. Till then, you need to keep patience. Don’t try to open the ISO file before the complete download Windows Server 2022 Datacenter.

Create a Bootable USB Drive for Microsoft Server 2022 Datacenter

Completing the downloading Windows Server 2022 Datacenter will give you access to the ISO file. With that, you need to create a bootable USB. You must assemble a USB drive with a minimum of 8GB storage space. Make sure to back up all the files stored on the USB drive in other storage spaces (e.g., local or cloud storage). After that, follow the below instructions to create a bootable USB drive with Server 2022 Datacenter ISO file;

  • Download and install the Rufus Utility Tool on your device. Rufus is an open-source utility tool for managing USB drives and device storage. You can download Rufus Utility Tool by following this official download link.
  • Insert the USB drive (8GB Minimum) on the device’s USB port in which you want to boot the ISO file of Server Datacenter 2022 and format

Note: Never forget to back up all your files from the USB drive. It is always required to be empty before turning it into a boot drive.

  • Launch the installed Rufus Utility Tool on your device. Upon launching, press the Select button located beside the Boot Selection box. It will open your local storage locations, navigate to the location of the Server Datacenter 2022 ISO file (by default, Downloads folder), and select the ISO file. You will notice the ISO file name on the Boot Selection Box. Follow the below screenshot to configure the Drive Properties. After completing the configuration, click the Start button from the bottom of the Rufus Utility Tool screen to complete the configuring process.

Rufus Utility Tool

It may take at most 5 minutes to complete the creating process of the boot drive. Upon completion, you’ll find the status bar is full. Close the application to continue with the installation process.

Installing Server 2022 Datacenter on Your Device

You can continue with the installation process when the bootable USB driver is ready with the Windows Server Datacenter 2022 ISO file. The below instructions will help you with the installation process of Server Datacenter 2022;

  • Insert the 2022 Server Datacenter bootable USB drive on the USB port of your device and turn off the device. Wait until the device is completely shut down. Once the device is completely turned off, try to turn it on the device by pressing the power key. After pressing the power key, constantly press the boot keys (ESC, F2, F10, F12, depending on your device model) to start booting from the USB drive.
  • Choose USB HDD: Specific Storage Device from the boot menu, then press enter to access the installation screen.
  • From the installation screen, select your language, time currency, and input method, then press the Next button to continue with the installation process.
  • Click the Install Now button to navigate to the version selection screen. Select Windows Server 2022 Datacenter Evaluation (Desktop Experience) from there and press Next.
  • Now you are almost done with the installation process, follow the on-screen instructions to complete the installation process. Tick on the I Accept checkbox on the Terms & Conditions screen before pressing the Next
  • After accepting the Terms and conditions, you must select the installation type and the disk drive where you want to install the Server 2022 Datacenter. Use an empty drive if you choose to custom installation type.

Note: The custom installation will install a fresh Server OS, while the upgrade installation will only replace the system files of the previous OS with the Server OS.

  • You are all set now; assign the username and password before finishing the installation process. Simultaneously pressing and holding the ctrl, alt, and del keys will allow you to instantly log in with the assigned login credentials.

Note: It may take 10-20 minutes to complete the installation process of Windows Server 2022 Datacenter on your device.

Upon completing the installation process, you can remove the bootable USB drive and continue the activation process. Before activating, you must require a genuine Windows Server 2022 Datacenter license key. The product key is a 25-digit key that ensures that the software copy is legit, unlocking all the features for you. Msckey is an online product key store that sells genuine product license keys at a fraction of the official price. Msckey is a Microsoft-verified partner and reseller who backs all its sales with a 30-day money-back or replacement guarantee and a 24/7 customer support team.

How to Activate Windows Server 2022 Datacenter with a Genuine License Key

After completing the installation process of Server 2022 Datacenter on your device, you can now proceed to the activation process. Before activating, ensure you have a legit Windows Server 2022 Datacenter product license key. You can purchase a genuine Server 2022 Datacenter product activation key from Msckey at the lowest price. The following instructions will help you to complete the activation process;

  • Open the Run Dialog Box (Windows + R), type cmd on the Run Dialog Box, and press ctrl + shift + enter key to open the Windows Command Prompt with elevated access.

Run Dialog Box

  • Execute the following command by replacing the x’s with the digits of your Microsoft Server 2022 Datacenter product activation key.

Dism /Online /Set-Edition:ServerDatacenter /AcceptEula /ProductKey:xxxxx-xxxxx-xxxxx-xxxxx-xxxxx

Dism /Online /Set-Edition:ServerDatacenter /AcceptEula /ProductKey

That’s all for today with the download Windows Server 2022 Datacenter install and activation guide. If the Server copy isn’t activated, then probably the product key isn’t legit. Contact the support page of the product license key store from where you purchased the product key to resolve the issue.

Понравилась статья? Поделить с друзьями:
0 0 голоса
Рейтинг статьи
Подписаться
Уведомить о
guest

0 комментариев
Старые
Новые Популярные
Межтекстовые Отзывы
Посмотреть все комментарии
  • Toshiba satellite a300 drivers windows 10
  • Ускорение интерфейса windows 10
  • Приложение для анимированных обоев windows 10
  • Как открыть безопасность windows 11 через командную строку
  • Как убрать пароль для входа в windows 10 pro