PROGRAMMING HELP 2016/04/20 19:44
To install a new KMS host key for Windows 8 activation or for Windows Server 2012 activation, run the following command:
cscript %windir%\system32\slmgr.vbs /ipk <KMS host key>
Note In this command, "KMS host key" is a placeholder for the new KMS host key for Windows 8 activation or for Windows Server 2012 activation.
Important Every KMS host key is associated with a group of Windows editions. Additionally, a KMS host key that is associated with Windows client operating systems cannot be installed on Windows server operating systems, and vice-versa. This is true for all Windows operating systems except for Windows Server 2003. If you install a KMS host key on a Windows operating system that is not associated with that host key, you receive the following error message:
0xc004f015: The Software Licensing Service reported that the license is not installed.
For example, you may receive this error message in the following situations:
You try to install a Windows 7 KMS host key (CSVLK) on a Windows Server 2008 R2 KMS host.
You try to install a Windows 8 KMS host key (CSVLK) on a Windows Server 2008 R2 KMS host or a Windows Server 2012 KMS host.
To activate the new KMS host key on the host computer, run the following command:
cscript %windir%\system32\slmgr.vbs /ato
KMS Client Setup Keys