| Article | Topic | : | Configuration, Licensing |
This article contains information for administrator about configuring the Provisioning Services (PVS) 5.6 Service Pack 1 (or later) Target Devices that are using Microsoft Key Management Server (KMS) in the best way to fit their environment.
KMS can be configured on the virtual disk (vDisk) image with the help of PVS to apply volume licenses for Microsoft Server 2008, Microsoft Server 2008 R2, Microsoft Server 2012, Windows 7 and Windows Vista, as well as Office 2010 and 2013.
In PVS, the option for KMS can be easily configured while building vDisks with the Imaging Wizard. Alternatively, it can be configured at any time using the Console or MCLI/PowerShell command-line interfaces.
The Product Administrator’s Guide, section Managing Microsoft KMS Volume Licensing provides further details on KMS configuration for a PVS vDisk.
Note: Information in this article applies only to the Windows OS and Office versions specified.
The following section outlines the steps to configure KMS in various scenarios to accommodate specific deployment environment. Read all the scenarios to verify which one best fits your deployment and follow the procedures accordingly.
Notes:
Citrix recommends that the administrators complete all the steps in the proper order for a successful configuration.
SOAP/Stream Service account must be a member of local administrator group in PVS Servers.
KMS configuration can be done in the following ways in accordance with various environments. The customers can configure KMS for:
Both Windows and Office
Only Windows
Only Office
The following scenarios help the administrator to configure KMS accordingly:
Assumptions
A vDisk was pre-built using a tool like XenConvert or the Imaging wizard (with Microsoft Licensing Option set to None).
For both Windows and Office: A vDisk that has operating system and Office installed on it is pre-built using XenConvert/Imaging Wizard but KMS has never been configured.
For only Windows or only Office: A vDisk that has the operating system installed on it (Optional: Office is included in the image); that was pre-built using XenConvert/Imaging wizard but KMS has never been configured.
Procedure
Note: It is important to perform this operation on a system started from the vDisk in Private Image mode so that the rearm count of the master target device hard disk is not reduced. Also, when the system is rearmed, it is not required to rearm it again.
Open PVS Server and in the Console, right-click the vDisk and select Properties.
Click the Microsoft Volume Licensing tab and set the licensing option to None.
Start the device from the vDisk in Private Image mode.
Rearm the system for both Windows and Office, one after the other. If KMS is configured for “Only” one of them, then select your option to rearm one of them accordingly:
For Windows Vista, 7, 2008, and 2008 R2: Run cscript.exe slmgr.vbs -rearm
For Office (64-bit client): Program Files(x86)\Common Files\microsoft shared\OfficeSoftwareProtectionPlatform\OSPPREARM.EXE
For Office (32-bit client): Program Files\Common Files\microsoft shared\OfficeSoftwareProtectionPlatform\OSPPREARM.EXE
For Office 2013 (32-bit client): Program Files\Microsoft Office\Office15\OSPPREARM.EXE
A message appears to reboot the system. Do not reboot - instead, shut down the target device.
Open PVS Server and in the Console, right-click the vDisk and select Properties.
Click the Microsoft Volume Licensing tab and set the licensing option to KMS.
On the Mode tab, set the vDisk access mode to Standard Image mode.
Stream the vDisk to one or more target devices.
Note: Administrators can validate that the KMS configuration was successful by verifying that the CMID for each device is unique.
For Windows Vista, 7, 2008, and 2008 R2: Run cscript.exe slmgr.vbs –dlv
For Office 2010: Run C:\Program Files\Microsoft Office\Office14\cscript ospp.vbs /dcmid
For Office 2013: Run C:\Program Files\Microsoft Office\Office15\cscript ospp.vbs /dcmid
Assumptions
A vDisk is already configured for KMS and is deployed successfully.
For both Windows and Office: A vDisk is already configured for KMS for both Windows and Office and is deployed successfully.
For only Windows or only Office: A vDisk is already configured for KMS for “Only Windows” or “Only Office” and is deployed successfully.
Procedure
From the PVS Console, right-click the vDisk and select Properties.
On the General tab, set the vDisk access mode to Private Image mode.
Start the target device.
Apply the required operating system Application/Service Pack/Update.
Shut down the target device.
Open PVS Server and in the Console, right-click the vDisk and select Properties.
On the General tab, set the vDisk access mode to Standard Image mode.
Stream the vDisk to one or more target devices.
Assumptions
A vDisk is already configured for KMS and is deployed successfully. The vDisk is enabled to use vDisk versioning, hence might already have versions.
For both Windows and Office: A vDisk is already configured for KMS for both Windows and Office and is deployed successfully.
For only Windows or only Office: A vDisk is already configured for KMS for “Only Windows” or “Only Office” and is deployed successfully.
Procedure
From the PVS Console, right-click the vDisk, and select Versions.
Create a new disk version.
Access target device properties and set Type to Maintenance.
Start the Target device.
Access the target device machine and select Maintenance from the Boot menu when prompted.
Apply the required operating system Application/Service Pack/Update.
Shut down the target device.
Access the PVS Server Console, right-click the vDisk, and select Versions. Promote the vDisk from Maintenance to Production or Test.
Access the PVS Server Console. Under target device properties, change the Type to Production or Test.
Stream the vDisk with this version to one or more target devices.
Assumption
A vDisk is already KMS configured for Windows and is deployed successfully.
Procedure
From the PVS Console, right-click the vDisk and select Properties.
Click the Microsoft Volume Licensing tab and change the licensing option from KMS to None.
On the General tab, set the vDisk access mode to Private Image mode.
PXE boot to the vDisk in Private Image mode to rearm.
For Office 2010 (64-bit client): Program Files(x86)\Common Files\microsoft shared\OfficeSoftwareProtectionPlatform\OSPPREARM.EXE
For Office 2013 (32-bit client): Program Files\Microsoft Office\Office15\OSPPREARM.EXE
Windows Vista, 7, 2008, and 2008R2: Run cscript.exe slmgr.vbs –rearm
A message is displayed to reboot the system. Do not reboot - instead, shut down the target device.
In the Console, right-click the vDisk and select Properties.
Click the Microsoft Volume Licensing tab and change the license option from None to KMS.
On the General tab, set the vDisk access mode to Standard Image mode.
Stream the vDisk to one or more target devices.
Note: Administrators can validate that the KMS configuration was successful by verifying that the CMID for each device is unique.
For Windows Vista, 7, 2008, and 2008 R2: Run cscript.exe slmgr.vbs –dlv
For Office 2010: Run C:\Program Files\Microsoft Office\Office14\cscript ospp.vbs /dcmid
For Office 2013: Run C:\Program Files\Microsoft Office\Office15\cscript ospp.vbs /dcmid
Assumption
A vDisk is already KMS configured for Windows and Microsoft Office.Note: Microsoft Office 2013 is only supported on PVS 7.1 and later.
Procedure
From the Provisioning Services Console, right-click on the vDisk and select Properties.
On the General tab, set the vDisk access mode to Private Image mode.
Start the target device.
Run the Microsoft Office 2013 setup and choose to perform an upgrade.
Reboot the target as required by the installation.
Shut down the target device.
Open Provisioning Services Server. In the Console, right-click on the vDisk and select Properties.
On the General tab, set the vDisk access mode to Standard Image mode.
Stream the vDisk to one or more target devices.
Assumptions
A vDisk is already KMS configured for Windows and Microsoft Office.Note: Microsoft Office 2013 is only supported on PVS 7.1 and later.
Procedure
From the Provisioning Services Console, right-click the vDisk, and select Versions.
Create a new disk version.
Access target device properties and set Type to Maintenance.
Start the target device.
Access the target device machine and select Maintenance from the Boot Menu when prompted.
Run the Microsoft Office 2013 setup and choose to perform an upgrade.
Reboot the target as required by the installation.
Shut down the Target device.
Access the Provisioning Services Server Console, right-click the vDisk, and select Versions. Promote the vDisk from Maintenance to Production or Test.
Access the Provisioning Services Server Console. Under target device properties, change the Type to Production or Test.
Stream the vDisk with this version to one or more target devices.
Microsoft limits the number of times you can run “rearm” on an installed operating system Image and Office. The operating system and Office must be reinstalled accordingly if the number of allowed rearm attempts is exceeded.
However, in all of the preceding scenarios, for a successful KMS configuration for a Provisioning Services vDisk, it is not required to rearm the vDisk except the first time when it is configured.
Citrix recommends that you rearm the system which is started from the vDisk in Private Image mode so that the rearm count of the master target device hard disk is not reduced.
Office 2010 KMS installation and troubleshooting
Plan KMS activation of Office 2010