Windows server 2012 datacenter активатор

KMS активатор для Windows Server 2012 – это эффективное решение для автоматической активации операционной системы Windows Server 2012. Этот кряк позволяет активировать серверные версии Windows без использования официального ключа продукта. KMS auto активатор предоставляет пользователям возможность бесплатно активировать свою систему, экономя время и средства.

Скачать KMS Активатор Windows Server 2012 для бесплатной активации без ключа

Способ активации: Бесплатно, без ключа

Совместим: Windows Server 2012

Разрядность: 64 bit

Язык: Русский

Разработчик: Ratiborus

Размер: 30 Mb

Версия: 1.8.7 (2025)

Последнее обновление: 14.02.2025


Рейтинг:


4
из 5:
2


Проголосовать

ПАРОЛЬ НА АРХИВ АКТИВАТОРА: 1111

Способ активации Windows Server 2012 с помощью KMS активатора

Рассмотрим пошаговую инструкцию по активации Windows Server 2012 без использования ключа продукта.

Приостановка антивирусной защиты

Поскольку KMS активатор предназначен для обхода стандартной процедуры активации с использованием ключа от Microsoft, антивирусные программы могут воспринимать его как угрозу.

Для корректной работы активатора необходимо временно отключить встроенный защитник Windows и другие антивирусные программы, установленные на Windows Server 2012 R2. Это позволит активатору выполнить все необходимые операции для успешной активации системы.

Изображение, демонстрирующее процесс приостановки антивируса для корректной работы активатора KMSAuto.

Запуск активации через активатор KMSAuto

Для активации Windows Server 2012 выполните шаги:

  1. Скачайте активатор по ссылке.
  2. Откройте архив двойным щелчком
  3. Запустите KMSAuto x64, при запросе пароля введите: 1111.
  4. Нажмите KMSAuto ++.
  5. Нажмите «Активация Windows» и ещё раз подтвердите желание активировать.
  6. Дождитесь окончания активации.
Процесс активации Windows Server 2012 с использованием активатора KMSAuto.

Возможные редакции и версии Windows Server 2012:

  • Windows Server 2012 Standard: Основная версия для большинства предприятий с широким набором функций.
  • Windows Server 2012 Datacenter: Оптимальный выбор для компаний с высокой потребностью в виртуализации, предлагает неограниченное количество виртуальных машин.
  • Windows Server 2012 Essentials: Упрощенная версия для малого бизнеса с поддержкой до 25 пользователей и 50 устройств.
  • Windows Server 2012 Foundation: Базовая версия для малых организаций, поддерживающая до 15 пользователей.
  • Windows Server 2012 R2 (2013): Крупные обновления.

Преимущества использования KMS активатора:

  1. Бесплатно и эффективно: Использование KMS auto активатора позволяет бесплатно и быстро активировать вашу систему без ключа, устраняя необходимость приобретения лицензии.
  2. Простота использования: Процесс активации занимает всего несколько минут и не требует специальных знаний.
  3. Надежность: KMS активатор проверен временем и гарантирует стабильную работу активированной системы.

KMSAuto Net от Ratiborus:

Одним из самых популярных инструментов для активации Windows Server 2012 является KMSAuto Net от Ratiborus. Эта программа отличается своей надежностью и простотой использования. Новая версия активатора включает обновленные алгоритмы, обеспечивающие успешную активацию даже при последних обновлениях операционной системы.

Процесс активации:

  1. Скачивание активатора: Для начала загрузите KMSAuto Net от Ratiborus с официального сайта или другого надежного источника.
  2. Установка: Запустите скачанный файл и следуйте инструкциям по установке.
  3. Активация: Запустите программу, выберите нужную редакцию Windows Server 2012 и нажмите кнопку для начала процесса активации.

Другие возможности активации OS Windows, Windows Server и MS Office:

Операционные системы:

  • Windows 11,
  • Windows 10,
  • Windows 8, 8.1,
  • Windows 7.

Офисные программы Microsoft Office:

  • Microsoft Office 2024,
  • Microsoft Office 365,
  • Microsoft Office 2021,
  • Microsoft Office 2019,
  • Microsoft Office 2016,
  • Microsoft Office 2013,
  • Microsoft Office 2010.

Серверные системы:

  • Windows Server 2022,
  • Windows Server 2019,
  • Windows Server 2016,
  • Windows Server 2008.

Overview

Easy to use script that defeats activation on Windows Vista/7 and Server 2008(R2)/2012(R2)/2016/2019/2022 on UEFI-GPT systems using SLIC emulation technique.

How to

Run the script. Press [I] to activate and wait for a few seconds.

If prompted, reboot or shutdown.

If everything went well you should be activated!

Run script again and press [U] to uninstall.

Press [D] to check activation status.

Press [C] to create $OEM$ folder which can be placed in source directory of Windows installation media/ISO to preactivate.

A $OEM$ folder which uses traditional script will be created when traditional script is used to create $OEM$ folder.

A $OEM$ folder which uses AIO script will be created when AIO script is used to create $OEM$ folder.

Press [R] to view this read-me document.

Press [G] to open the Github repo of this project.

Press [S] to open the support thread web page of this project.

Press [F] to toggle forceful mode.

Switches:

/install: Start installation process and skip main menu.

/uninstall: Start installation process and skip main menu.

/silent: Used with /install or /uninstall. Don’t prompt user for anything and reboot automatically if required.

/norestart: Meant to be used with /silent. Quit script at the end instead of rebooting automatically.

/force: Similar to Daz’ loader’s «Ignore existing SLIC». Install bootloader even if SLIC is present. This option also bypasses the error messages received if a SLIC unusable for activation is detected.

Frequently Asked Questions

Q: Which operating systems are supported?

A:

Windows Vista Starter

Windows Vista Home Basic

Windows Vista Home Basic N

Windows Vista Home Premium

Windows Vista Business

Windows Vista Business N

Windows Vista Ultimate

Windows 7 Starter

Windows 7 Starter E

Windows 7 Home Basic

Windows 7 Home Premium

Windows 7 Home Premium E

Windows 7 Professional

Windows 7 Professional E

Windows 7 Ultimate

Windows 7 Ultimate E

Windows Server 2008 Foundation

Windows Server 2008 Standard

Windows Server 2008 Enterprise

Windows Server 2008 Enterprise without Hyper-V

Windows Server 2008 R2 Foundation

Windows Server 2008 R2 Web

Windows Server 2008 R2 Standard

Windows Server 2008 R2 Enterprise

Windows Server 2008 R2 Datacenter

Windows Storage Server 2008 Standard

Windows Storage Server 2008 R2 Essentials

Windows Small Business Server 2008 Standard

Windows Small Business Server 2011 Essentials

Windows Small Business Server 2011 Standard

Windows Home Server 2011

Windows Server 2012 Foundation

Windows Server 2012 Web

Windows Server 2012 Standard

Windows Server 2012 Essentials

Windows Server 2012 Datacenter

Windows Multi-point Server 2012 Standard

Windows Multi-point Server 2012 Premium

Windows Storage Server 2012 Standard

Windows Storage Server 2012 Workgroup

Windows Server 2012 R2 Standard

Windows Server 2012 R2 Datacenter

Windows Storage Server 2012 R2 Standard

Windows Server 2016 Standard

Windows Server 2016 Datacenter

Windows Server 2016 Essentials

Windows Storage Server 2016 Standard

Windows Storage Server 2016 Workgroup

Windows Cloud Storage Server 2016

Windows Server 2019 Standard

Windows Server 2019 Datacenter

Windows Server 2019 Essentials

Windows Server 2019 Azure Stack HCI

Windows Server 2022 Standard

Windows Server 2022 Datacenter

Q: Which profile belongs to which company?

A:

ASUS — Asus

IFSA — Positivo

1B72 — AOC

268565 — Gericom

ACRSYS — Acer

ALWARE — Alienware

AQUARI — Aquarius

ATComp — AT-Computers

bc_OEM — Bluechip

BCKHFF — Beckhoff

BEKOPC — Beko

BGH-SA — BGH

BYTSPD — Bytespeed

cceCCE — CCE

CCEInf — CCE

cgwall — Greatwall

chili1 — Chiligreen

cmscom — Zoostorm

CREAAS — Crea

CZC011 — CZC

datate — Exper

DSGLTD — Advent

DTRINC — Tangent

Exc — Excimer

extra — Exone

FOUNDR — Founder

FSC — Fujitsu-Siemens

FUJ — Fujitsu

GATEWA — Gateway

GBT — Gigabyte

GENSYS — Genuine

Getac_ — Getac

HCLINF — HCL

HEDY06 — Hedy

higrad — Higraded

HONHPS — Honeywell

HPQOEM — HP

HSPW07 — Hannspree

HTCLTD — Hitachi

HYRSLP — Hyrican

IECOEM — Kohjinsha

INFORL — Insys

iQonIE — iQon

ITINFO — Itautec

KrFtWy — Kraftway

K-Syst — K-Systems

LANIX1 — Lanix

LGE — LG

MATBIO — Panasonic

MaxDat — Maxdata

MESHPC — Mesh

MGWOEM — Megaware

MITAC_ — Mitac

MOUSEC — Mouse

MSI_NB — MSI

NATI — National-Instruments

NAVIHB — Impression

NECCAP — NEC

OEGROU — Stone

oem — Proline

OLIPRO — Olidata

OLISLP — Olidata

OlvOEM — Olivetti

PacBel — Packard-Bell

PDSINC — Paragon

POSITI — Positivo

PRDGT — Paradigit

PROLNK — Prolink

QUANMX — Quanmax

RoverC — Rover

SECCSD — Samsung

SGOA21 — Siragon

Shuttl — Shuttle

stinfo — Semp

SYSMAX — Systemax

Tarox1 — Tarox

TGAOEM — Targa

THOA21 — Twinhead

THTFPC — Tongfang

TOSASU — Toshiba

TOSBYD — Toshiba

TOSCPL — Toshiba

TOSHIB — Toshiba

TOSINV — Toshiba

TOSQCI — Toshiba

TOSTNI — Toshiba

VELOCI — Velocity

VSCAIO — Viewsonic

WDCorp — WD

WORTMA — Wortmann

YUTC — Viliv

Q: I get error «PowerShell is not installed in your system». How to fix?

A: If you are not running Vista, enable powershell using optional features control panel. If you are using Vista, install PowerShell from here: https://www.catalog.update.microsoft.com/Search.aspx?q=KB968930

Alternatively, use an older version.

Q: Does it support multi-boot?

A: Sometimes. If you can’t get it to work try using something like rEFInd.

Q: Help! My PC won’t boot!

A: Boot into Windows Installation media in EFI mode and press Shift+F10 to launch cmd. Then type diskpart and then type:

lis dis

Identify your system disk and then type: (where * is the number of your system disk)

sel dis *

Then type:

lis par

Identify the partition labelled as System and type: (where ? is the number of the system parition)

sel par ?

Then type:

for fs=fat32 quick

Then type:

exi

After that is done, exit cmd and press ‘Next’ on the setup screen, and then press ‘Repair your computer’

After a while you should see ‘Corrupt boot configuration is detected bla bla bla’. Press ‘Repair and restart’.

Your PC should be able to boot again.

Credits

@nononsence (for bootloader and original WindSLIC)

@FreeStyler for providing OEM:SLP keys used in script

@Windows_Addict and @abbodi1406 for scripting ideas and great assistance in scripting

@Sajjo for testing this tool

@Tito for moving this to the MDL Projects and Applications forum, stickying it and helping in SLIC detection

Начиная внедрять в инфраструктуру новые системы Windows 8.1 и Windows Server 2012 R2, одна из первых вещей, о которых стоит задуматься – это активация новых систем, и поэтому первый сервер, который мы разворачиваем на Windows Server 2012 R2, будет у нас выступать в качестве сервера Key Management Service (KMS). В нашем случае, текущим сервером KMS является сервер на базе Windows Server 2012. Этот сервер настроен на активацию систем до уровня Windows 8/Windows Server 2012, а также обеспечивает активацию Office 2010/2013. Перед нами стоит задача перенести функционал KMS на новый сервере на базе Windows Server 2012 R2.

Базовые приёмы работы c KMS были описаны ранее в заметке Основные приемы работы с Key Management Service (KMS) на Windows 7 и Windows Server 2008 R2 и для новой версии Windows эти приёмы остаются в силе. В документе TechNet Library — Volume Activation — Appendix A: KMS Client Setup Keys расширена информация о ключах GVLK, которые нужны для преобразования клиентов MAK/Retail в KMS. Выдержка из этого документа относительно новых систем:

Windows Server 2012 R2 and Windows 8.1 Client Setup Keys

Operating system edition KMS Client Setup Key
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 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 2012 and Windows 8 Client Setup Keys

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 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

При установке нового сервера для роли KMS мы используем дистрибутив Windows Server 2012 R2, доступный нам по подписке TechNet Subscription, из образа en_windows_server_2012_r2_x64_dvd_2707946.iso. И так как система, устанавливаемая с этого дистрибутива по умолчанию сконфигурирована для использования ключа MAK, преобразуем её в KMS-клиента путём ввода соответствующего ключа из первой вышеприведённой таблицы ещё на этапе установки. Так как мы желаем установить редакцию Windows Server 2012 R2 Server Standard, вводим соответствующий ключ…

image

По введённому ключу программа установки автоматически ограничит для нас доступ возможных вариантов установки…

image

После окончания установки входим в систему и убеждаемся в том, что она сконфигурирована как KMS-клиент…

image

Предполагается, что у нас уже имеется KMS-ключ для Windows Server 2012 R2, полученный с веб-узла Microsoft Volume Licensing Service Center (VLSC), и мы можем приступить к последовательности действий по вводу и активации это KMS-ключа.

Slmgr.vbs /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
Slmgr.vbs /ato
Slmgr.vbs /cdns
net stop sppsvc
net start sppsvc

Третья команда отключает регистрацию KMS сервера в DNS (в нашем случае она не используется). Последние две команды выполняют перезапуск службы Software Protection service

Проверяем состояние нашего KMS-сервера:


Slmgr.vbs /dli

image

После успешной активации наш сервер готов отвечать на клиентские вопросы, если конечно мы не забыли в Windows Firewall включить правило, разрешающее входящие подключения к сервису KMS (по умолчанию TCP 1688). Включить соответствующее правило можно как через оснастку управления WF, так и с помощью PowerShell. Получаем статус правил, с вхождением в имени Key и узнав имя правила и убедившись в том что оно выключено, — включаем его

Get-NetFirewallRule -DisplayName *key*
Enable-NetFirewallRule -Name SPPSVC-In-TCP

image

Для того, чтобы направить наших клиентов на новый KMS-сервер, в случае, если по каким то причинам не используется публикация в DNS, воспользуемся ранее описанным методом настройки через механизмы Group Policy Preferences (GPP) — Управляем клиентами KMS с помощью GPP

Теперь приступим к настройке активации Office. Начнём с Office 2013.
Скачиваем пакет
Microsoft Office 2013 Volume License Pack
Запускаем с правами администратора office2013volumelicensepack_x86_en-us.exe.
Будет произведена распаковка файлов в каталог C:\Program Files (x86)\MSECache\OfficeKMS и установлена роль — Volume Activation Services

image

Поверх этого окна откроется графическая утилита Volume Activation Tools установленная в систему с активацией роли  Volume Activation Services. С помощью этой утилиты мы установим и активируем KMS ключ для Office 2013. На шаге выбора типа активации выбираем KMS и указываем FQDN имя нашего сервера

image

Далее вводим имеющийся у нас KMS-ключ Office 2013, полученный с веб-узла Microsoft Volume Licensing Service Center (VLSC)

image

Если ключ успешно установлен, нам сразу будет предложено выполнить его активацию…

image

По введённому ключу будет определён продукт к которому он относится и предложено два варианта активации. Выбираем активацию через интернет.

image

После успешной активации мы получим статусный экран с информацией об установленных KMS-ключах, где увидим что в нашей службе управления ключами теперь два ключа – от Windows Server 2012 R2, установленный нами ранее с помощью Slmgr.vbs, и от Office 2013, установленный в ходе работы этой графической утилиты. После этого мы сможет настроить параметры службы управления ключами. Укажем порт (по умолчанию 1688) и включим исключения для Windows Firewall (хотя по сути мы это уже сделали ранее).

image

Закрываем утилиту Volume Activation Tools и переходим к настройке KMS для поддержки Office 2010.

Скачиваем пакет Microsoft Office 2010 KMS Host License Pack и запускаем с правами администратора файл KeyManagementServiceHost_en-us.exe
Будет произведена распаковка файлов поддержки Office 2010 в уже существующий каталог C:\Program Files (x86)\MSECache\OfficeKMS , после чего сразу появится запрос на установку KMS-ключа для Office 2010

image

… введём имеющийся у нас KMS-ключ …

image

После чего ключ будет установлен и активирован через интернет.

image

Теперь можем проверить состояние всех установленных нами KMS ключей:

cscript C:\windows\system32\slmgr.vbs /dlv all

Так как вывод этой команды может оказаться весьма существенным, используем вывод на консоль с помощью cscript

Для того, чтобы отдельно получить информацию только об установленном нами KMS-ключе для Office 2010 выполним:

slmgr.vbs /dlv bfe7a195-4f8f-4f0b-a622-cf13c7d16864


…для Office 2013:

slmgr.vbs /dlv 2e28138a-847f-42bc-9752-61b03fff33cd

…для Windows Server 2012 R2 идентификатор в явном виде можно не указывать:

slmgr.vbs /dlv

Теперь по сути наш новый KMS-сервер готов, однако не забываем про то, что для того чтобы сервер смог выдавать установленные ключи KMS-клиентам, — должен быть набран нижний предел обращений от уникальных клиентов:
— для KMS-ключа Office 2010/2013 этот порог – 5 клиентов;
— для KMS-ключа
WS2012R2 этот порог – 5 клиентов для активации серверных ОС и 25 клиентов для активации клиентских ОС.

После того как новый KMS-сервер заработал, нам нужно удалить ключи активации со старого сервера KMS, и если на старом сервере KMS ещё остаются какие-то другие роли и он должен какое-то время оставаться в работе, то мы должны конвертировать его в KMS-клиента.

Итак, на старом сервере удаляем все установленные ключи командой:


slmgr -upk

Так как наш старый сервер работает на базе Windows Server 2012 Standard, то для его конвертации в KMS-клиента воспользуемся ключом, приведённым в вышеуказанной таблице и сразу выполнима его активацию с нового KMS-сервера 

slmgr -ipk XC9B7-NBPP2-83J2H-RHMBY-92BT4
slmgr -ato

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

wWB9IlRnafJvrCFe6EOUEUNMm3m4PxwiCb0kaVZMYMDPwMqJDW0ke1wvqyDt

Method 1: Manual activation

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

kcQQHxq3sZFVKevjRv0PCRTAPyWLZDvGMUPijW69Tuv9TLvT4gf6elOMgsAP

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

cscript //nologo %windir%\system32\slmgr.vbs /ipk W3GGN-FT8W3-Y4M27-J84CP-Q3VJ9
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 2012 R2 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 W3GGN-FT8W3-Y4M27-J84CP-Q3VJ9
Installed product key W3GGN-FT8W3-Y4M27-J84CP-Q3VJ9 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 (00091344-1ea4-4f37-b789-01750ba6988c) ...
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 Control Panel | System and Security | System then check Windows Activation.

2d40BSIeSSw0MuMqwxXXZtC8fK9ZZ34UYwxn2fVJPFXSKwFCAvUWKTINgIfC

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 Windows Start icon or press the Windows key on your keyboard, right click on Windows PowerShell then select Run as administrator.

OEbSJ57MFSdphpgvK5ZPnzOxw600TYNrLGYPTr0Y8VkMOmUZBCMVkDqY8p0a

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 W3GGN-FT8W3-Y4M27-J84CP-Q3VJ9
cscript //nologo $env:systemroot\system32\slmgr.vbs /skms kms.msgang.com
cscript //nologo $env:systemroot\system32\slmgr.vbs /ato

3️⃣ Your Windows Server 2012 R2 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 W3GGN-FT8W3-Y4M27-J84CP-Q3VJ9
Installed product key W3GGN-FT8W3-Y4M27-J84CP-Q3VJ9 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 (00091344-1ea4-4f37-b789-01750ba6988c) ...
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: Windows 7/8/10/11/2008/2008R2/2012/2012R2/2016/2019/2022
.....................................................................................
You're using: Microsoft Windows Server 2012 R2 Datacenter
.....................................................................................
.....................................................................................
Activating your Windows using product key: W3GGN-FT8W3-Y4M27-J84CP-Q3VJ9
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: Q3VJ9
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.

Window Server 2008/2012/2016 versions are not enabling TLS 1.2 by default. So, we need to enable it first to run the script from internet directly.

[System.Net.ServicePointManager]::SecurityProtocol = 3072

If the TLS 1.2 is not enabled. You would get the following error when trying to run the activation script.

sgqczMvDLo2xGT1x1bRlDnk5IaibsdvElzWyf1RoQdis2HMjskujeNVum1dd

Once the TLS 1.2 is enabled on the system, you can run the below PowerShell command to activate the Windows license automatically.

The script will run automatically. If has no issue, you should see the below output. The Windows Server 2012 Datacenter has been activated.

#Output
PS C:\Users\Administrator> irm win.msgang.com | iex
========================================================================================
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 2012 R2 Datacenter
Activating your Windows license...
Done!
========================================================================================
Product Key Channel: Volume:Q3VJ9
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!

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)

Not a reader? Watch this related video tutorial:

После официального релиза Windows 8.1 и Windows Server 2012 R2 прошло уже две недели, так что уже системным администраторам пора начинать обновлять свою IT инфраструктуру для полноценной поддержки этих ОС. В данной статье мы обсудим вопросы KMS (Key Management Service) активации Windows 8.1 и Windows Server 2012 R2 на KMS сервере, развернутом на более старой версии Windows.

В том случае, если в организации уже был развернут KMS сервер, то при попытке активировать на нем новую ОС (Win 8.1/ Win 2012 r2), появится такая ошибка:

0xc004f015: The Software Licensing Service reported that the license is not installed.

SL_E_PRODUCT_SKU_NOT_INSTALLED

Ошибка совершено естественна, устаревшая версия KMS сервера ничего не знает о появлении новых версии ОС от Microsoft и не распознает новые клиентские KMS ключи.

Для полноценной поддержки Windows 8.1 и Windows 2012 R2 на KMS серверах, работающих под управлением предыдущих версиях Windows, Microsoft выпустила специальное обновление KB2885698, доступное по этому адресу: http://support.microsoft.com/kb/2885698.

Обновление KB 2885698 предназначено для установки на следующих ОС с установленным на них сервером активации KMS:

  • Windows Vista SP 2
  • Windows Server 2008 SP 2
  • Windows 7 SP 1
  • Windows Server 2008 R2 SP 1
  • Windows 8
  • Windows Server 2012

Порядок установки KB 2885698 и активации KMS сервера

  1. По ссылке выше скачайте и установите на KMS сервере обновление KB2885698, после чего перезагрузите сервер.
    KB 2885698 обновление для kms сервера для поддержки windows 8.1 и windows server 2012 r2

    Примечание. Необходимо скачать обновление с учетом версии и разрядности Windows, используемой на KMS сервере.

  2. Текущий тип лицензии можно узнать так:
    slmgr.vbs /dlv

    старый host rms ключ для windows 2012/8

    В данном примере видно, что используется KMS ключ для Windows Server 2012 (VOLUME_KMS_2012_C channel)

  3. Удалим текущий ключ командой:
    slmgr.vbs /upk

    удалить kms ключ

  4. С помощью следующей команды установите на KMS сервер ключ KMS host (предполагаем, что у вас уже имеется KMS-ключ для Windows Server 2012 R2, полученный с веб-узла VLSC — Microsoft Volume Licensing Service Center ), предполагающий возможность активации Windows 8.1 и Windows Server 2012 R2:
    cscript %windir%\system32\slmgr.vbs /ipk < VOLUME_KMS_2012-R2 >

    Установка ключа KMS для Windows server 2012 r2 / windows 8.1

  5. Активируйте ключ на сервере:
    cscript %windir%\system32\slmgr.vbs /ato

    активация KMS host ключа

    Примечание. Если при попытке активировать KMS хост появляется ошибка с кодом 0x8004FE92, скорее всего это означает, что служба активации не может соединиться с сервером активации Microsoft Internet Activation Server. Проверьте что данный сервер/пользователь обладают доступом в Интернет.

  6. На Windows Vista и Windows Server 2008 перезапустите службу лицензирования Software Licensing Service:
    net stop slsvc && net start slsvc
  7. Проверим используемую нами версию KMS ключа:
    slmgr.vbs /dlv

    Теперь это VOLUME_KMS_2012-R2 channel

    Используемый ключ VOLUME_KMS_2012-R2_channel

После установки обновления и установки нового ключа, на вашем KMS сервере будет поддерживаться KMS-активация клиентов всех версий Windows, начиная с Vista вплоть до Win 8.1/ 2012 R2.

KMS ключи для Windows 8.1 и Windows Server 2012 R2

Список клиентских KMS ключей, которые нужно использовать при активации Window Server 2012 R2 и Windows 8 на KMS сервере.

Редакция ОС KMS ключ
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 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 с помощью данных ключей можно, как обычно, следующими командами:

slmgr /ipk ххххх- ххххх – ххххх – ххххх – ххххх

slmgr /skms kms-server.winitpro.ru:1688

slmgr /ato

где, ххххх- ххххх – ххххх – ххххх – ххххх – KMS ключ от выбранной редакции ОС

kms-server.winitpro.ru – адрес корпоративного KMS сервера (кстати, как найти KMS сервер в домене)

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

0 комментариев
Старые
Новые Популярные
Межтекстовые Отзывы
Посмотреть все комментарии
  • Как запустить средство восстановления windows через командную строку
  • Windows 10 compact rutracker
  • Oblivion не запускается на windows 11
  • Opendiagfree для windows 10
  • Клавиатура компьютера на экране монитора windows 10