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