Monday, February 25, 2013

KMS issue with PVS after an Office install

We use Citrix Provisioning Services (PVS) 6.1 and it has been working well for us in our Citrix XenApp environment.  We could make versions, promote and patch without issue with our KMS servers.  Then, we installed Office 2010 with KMS and now each time we make a version of our vDisk, then promote to test or production KMS becomes broken.  Windows doesn't allow RDP sessions until it's resolved so this seriously borks our setup.

A fix I read on this thread was to create a startup script that reinstalled the product key (as this key seems to go missing when promoting versions) and reactivate.

The script is as follows:
cscript //B "%windir%\
system32\slmgr.vbs" /ipk YC6KT-GKW9T-YTKYR-T4X34-R7VHC
cscript //B "%windir%\
system32\slmgr.vbs" /ato
For a simple test to see if this works I've added it to the machine startup script on the local system here:
C:\windows\system32\GroupPolicy\Machine\Scripts\Startup


No comments: