Symptoms
Newly provisioned desktops fail at customizing phase with the error:Failed to activate the software license (waited xxx seconds)Manual activation works on the command prompt:
"cscript c:\windows\system32\slmgr.vbs -skms <KMS Server DNS</font>"
Problem desktop is able to resolve Key Management System (KMS) FQDN and able to ping its IP address.Parent Image is using Volume activation key.In the C:\ProgramData\VMware\View Composer\Logs\vmware-viewcomposer-ga-new.log file, you see entries similar to:
Activation Error: Code 0x8007232b
DNS Name does not exist
Cause
This issue occurs because newly created View desktops are unable to reach the KMS server.This error message is an api response to an activation request.Please check the general health, connectivity and system events of your KMS server as a initial troubleshooting priority.
Resolution
To resolve the issue, ensure that view desktops are able to contact KMS server:
Verify that there is network connectivity between client and KMS servers and are able to resolve the DNS names. Clients should be able to contact KMS server over port 1688. Run the nslookup -type=all _vlmcs._tcp>kms.txt command.Open the KMS.txt file and check if it contains entries similar to: _vlmcs._tcp.vmware.com SRV service location: priority = 0 weight = 0 port = 1688 svr hostname = kmsserver.eng.vmware.com Note: Verify that the _vlmcs entries contain expected KMS host names. If they contain appropriate hostnames go to next step. Assign the a KMS server on the Parent image manually and recompose the pool / desktop with new snapshot.
Assign a KMS host using the FQDN of the host by running this command: cscript \windows\system32\slmgr.vbs -skms KMS_FQDN Assign a KMS host by using the version four IP address of the host by running this command: cscript \windows\system32\slmgr.vbs -skms IPv4Address Note: To restore automatic KMS host automatic discovery on clients run this command: cscript \windows\system32\slmgr.vbs –ckms
For more information, see the Microsoft Knowledge Base article 929826.
Related Information
置备 VMware View 桌面时出现“无法激活软件许可证 (等待了 xxxx 秒) (Failed to Activate Software License (waited xxxx seconds))”错误VMware View デスクトップのプロビジョニング中に「ソフトウェア ライセンスのアクティベートに失敗しました(xxxx 秒間待機)(Failed to Activate Software License (waited xxxx seconds))」エラーが発生する