Содержание

KMS

- для KMS-ключа Office 2010/2013 порог – 5 клиентов;
- для KMS-ключа WS2012R2 порог – 5 клиентов для активации серверных ОС и 25 клиентов для активации клиентских ОС.

Команды

Текущий статус лицензии ОС:

slmgr /dlv

Текущий статус лицензии Office 2013:

slmgr /dlv 2E28138A-847F-42BC-9752-61B03FFF33CD

Дата истечения срока действия текущей активации:

slmgr /xpr

Установить ключ активации:

slmgr /ipk XXXX-XXXXX-XXXXX-XXXXX-XXXXX

Удалить ключи активации:

slmgr /upk

Установить имя узла kms сервера (kms.domain.com):

slmgr.vbs /skms kms.domain.com

Удалить имя узла kms, заданного с помощью /skms:

slmgr /ckms

Активировать:

slmgr /ato

Проверить статус лицензий для установленных ключей продуктов Office:

cscript.exe "C:\Program Files (x86)\Microsoft Office\Office15\OSPP.VBS" /dstatus

DNS

Проверка srv записи в днс:

nslookup -type=srv _vlmcs._tcp

или

nslookup -type=srv _vlmcs._tcp.domain.com

Пример записи в bind:

$ORIGIN domain.com.
_vlmcs._tcp 		SRV 0 0 1688 kms.domain.com.

Пример записи в Windows DNS:

Service Location (SRV):
Service: _vlmcs
Protocol: _tcp
Priority: 0
Weight: 0
Port Number: 1688
Host offering this service: kms.domain.com.

Ключи

Windows 8.1 Professional GCRJD-8NW9H-F2CDX-CCM8D-9D6T9
Windows Server 2012 R2 Server Standard D2N9P-3P6X9-2R39C-7RTCD-MDVJX
Windows 8 Professional NG4HW-VH26C-733KW-K6F98-J8CK4
Windows Server 2012 Server Standard XC9B7-NBPP2-83J2H-RHMBY-92BT4
Windows 7 Professional FJ82H-XT6CR-J8D7P-XQJJ2-GPDD4
Windows Server 2008 R2 Standard YC6KT-GKW9T-YTKYR-T4X34-R7VHC
Windows Server 2016 Standard WC2BQ-8NRM3-FDDYY-2BFGV-KHKQY
Windows Server 2019 Standard N69G4-B89J2-4G8F4-WWYCC-J464C
Office 2013 стандартный KBKQT-2NMXY-JJWGP-M62JB-92CD4

Office 2013 http://technet.microsoft.com/ru-ru/library/dn385360(v=office.15).aspx

Windows Vista, 7, 8, 8.1; Windows Server 2008, 2008R2, 2012, 2012R2 http://technet.microsoft.com/en-us/library/jj612867.aspx

Активация Office

Пример для Office 2013 x86

Изменить тип ключа с MAK на KMS можно с помощью команды:

cscript "C:\Program Files (x86)\Microsoft Office\Office15\ospp.vbs" /inpkey:xxxxx-xxxxx-xxxxx-xxxxx-xxxxx

Задать KMS сервер вручную можно командой:

cscript "C:\Program Files (x86)\Microsoft Office\Office15\ospp.vbs" /sethst:kms.domain.com

Удалить KMS сервер заданный вручную:

cscript "C:\Program Files (x86)\Microsoft Office\Office15\ospp.vbs" /remhst

Запустить ручную активацию на KMS сервере:

cscript "C:\Program Files (x86)\Microsoft Office\Office15\ospp.vbs" /act

Текущий статус активации можно получить с помощью команды:

cscript "C:\Program Files (x86)\Microsoft Office\Office15\ospp.vbs" /dstatusall

https://technet.microsoft.com/ru-ru/library/ee624350.aspx

Накрутка счётчика

Использовать Windows 7

@echo on
 
set skms=twix.domain.com:1688
slmgr.vbs /skms %skms%
 
echo √ Активация Windows..
 
echo> "7B296FB0-376B-497e-B012-9C450E1B7327-5P-0.C7483456-A289-439d-8115-601632D005A0"
echo> "7B296FB0-376B-497e-B012-9C450E1B7327-5P-1.C7483456-A289-439d-8115-601632D005A0"
 
for /L <nowiki>i in (1,1,25) do call :Act </nowiki>i
goto :eof
 
:Act
echo Query %1%/25:
net stop sppsvc>> kms.log 2>&1
PING 1.1.1.1 -n 1 -w 1000>NUL 2>&1
xcopy "7B296FB0-376B-497e-B012-9C450E1B7327-5P-0.C7483456-A289-439d-8115-601632D005A0" "%systemroot%\system32\*" /H /R /K /Y>> C:\kms.log 2>&1
xcopy "7B296FB0-376B-497e-B012-9C450E1B7327-5P-1.C7483456-A289-439d-8115-601632D005A0" "%systemroot%\system32\*" /H /R /K /Y>> C:\kms.log 2>&1
net start sppsvc>> kms.log 2>&1
PING 1.1.1.1 -n 1 -w 1000>NUL 2>&1
slmgr.vbs /ipk FJ82H-XT6CR-J8D7P-XQJJ2-GPDD4
slmgr.vbs /ato

Коды ошибок

Получить подробную информацию об ошибке (пример с 0xc004f074):

slui.exe 0x2a 0xc004f074

0xC004C003 The activation server determined the specified product key is blocked (Сервер активации определил, что указанный ключ заблокирован)

0xC004B100 The activation server determined that the computer could not be activated. (Сервер активации определил, что компьютер не может быть активирован)

0xC004C008 The activation server determined that the specified product key could not be used. (Сервер активации определил, что указанный ключ не может быть использован)

0xC004C020 The activation server reported that the Multiple Activation Key has exceeded its limit. (Сервер активации сообщает о том, что для ключа Multiple Activation Key превышено количество возможных активаций)

0xC004C021 The activation server reported that the Multiple Activation Key extension limit has been exceeded. (Сервер активации сообщает о том, что расширение ключа Multiple Activation Key также превышено по числу активаций)

0xC004F009 The software Licensing Service reported that the grace period expired. (Сервер лицензий сообщает о том, что бесплатный период использования окончен)

0xC004F00F The Software Licensing Service reported that the hardware ID binding is beyond level of tolerance.

0xC004F014 The Software Licensing Service reported that the product key is not available (ключ продукта не доступен)

0xC004F02C The software Licensing Service reported that the format for the offline activation data is incorrect. (формат для офлайн активации неверен)

0xC004F035 The software Licensing Service reported that the computer could not be activated with a Volume license product key. Volume licensed systems require upgrading from a qualified operating system. Please contact your system administrator or use a different type of key. ( компьютер не может быть активирован при помощи данного ключа Volume license, необходимо обновить операционную систему)

0xC004F038 The software Licensing Service reported that the computer could not be activated. The count reported by your Key Management Service (KMS) is insufficient. Please contact your system administrator. (ошибка счетчика активаций на KMS, обратитесь к системному администратору )

0xC004F039 The software Licensing Service reported that the computer could not be activated. The Key Management Service (KMS) is not enabled. (KMS не включен)

0xC004F041 The software Licensing Service determined that the Key Management Server (KMS) is not activated. KMS needs to be activated. (Key Management Server не активирован, его необходимо активировать)
0xC004F042 The software Licensing Service determined that the specified Key Management Service (KMS) cannot be used. (указанный сервер KMS не может быть использован)

0xC004F050 The Software Licensing Service reported that the product key is invalid. (ключ неверен)

0xC004F051 The software Licensing Service reported that the product key is blocked. (ключ заблокирован)

0xC004F064 The software Licensing Service reported that the non-Genuine grace period expired (льготный период закончен).

0xC004F065 The software Licensing Service reported that the application is running within the valid non-genuine grace period .

0xC004F066 The Software Licensing Service reported that the product SKU is not found. (Software Licensing Service сообщил, что данный код продукта не найден)

0xC004F068 The software Licensing Service determined that it is running in a virtual machine. The Key Management Service (KMS) is not supported in this mode. (Licensing Service определил, что он запущен на виртуальной машине, KMS не поддерживает этот режим)

0xC004F069 The Software Licensing Service reported that the computer could not be activated. The Key Management Service (KMS) determined that the request timestamp is invalid. (KMS определила неправильную метку времени)

0xC004F06C The Software Licensing Service reported that the computer could not be activated. The Key Management Service (KMS) determined that the request timestamp is invalid. (KMS определила неправильную метку времени)

0xC004F074 The Key Management Server (KMS) is unavailable. (Сервер управления ключами недоступен)

0x8004FE33 HTTP_STATUS_PROXY_AUTH_REQ (Для прокси требуется авторизация)

0×80070005 Access denied the requested action requires elevated privileges. (доступ запрещен, указанное действие требует административных прав)

0x8007232A DNS server failure. (ошибка DNS сервера)

0x8007232B DNS name does not exist. (DNS имя не существует)

0x800706BA The RPC server is unavailable.

0x8007251D No records found for DNS query (DNS запрос не вернул записей)

0×80092328 DNS name does not exist (DNS имя не существует)

http://winitpro.ru/index.php/2011/03/09/kody-oshibok-aktivacii-windows/

Отключение сообщения "Тестовый режим"

В командной строке от администратора:

bcdedit /set TESTSIGNING OFF

https://support.microsoft.com/ru-ru/kb/2509241

Ссылки

Разворачиваем KMS для Windows и Office - http://blog.it-kb.ru/2013/09/29/windows-server-2012-r2-as-key-management-service-server-kms-for-windows-and-office-2010-2013/
Активация MS Office 2013 VL - http://winitpro.ru/index.php/2013/02/25/aktivaciya-ms-office-2013-vl/
Активация Office 2013 с помощью KMS - http://technet.microsoft.com/ru-ru/library/ee624357(v=office.15).aspx