This best practice collateral on VMware workload for Force KMS Activation as last resort per Microsoft Recommendation . This solution is to proactively remediate workloads on VMware platform both on production and non-production nodes for Windows AD Based KMS Activation.
Reference KB Article: https://learn.microsoft.com/en-us/windows/deployment/volume-activation/activate-using-key-management-service-vamt
Access Operations / Pre-requisite
- Ensure Access to VMware vCenter with Privilege Administrator RBAC Role and/or RDP Access
- vCenter URL / IP or RDP
Operational Procedures
Step 1 - Login to vCenter and/ RDP Console
Step 2 - Ensure to Logon as user with Administrator Privileges
Step 3 - Run Automation Code as shown to force KMS Activation to Domain
PS C:\Windows\system32> slmgr.vbs /ipk 39BWC-Y8VXV-CWYRP-2XRP4-2PX2M
PS C:\Windows\system32> slmgr.vbs /ato
Step 4 - Run Cross-Validation for License Activation on KMS via Automation Code
PS C:\Windows\system32> slmgr.vbs /dlv
Step 5 - Completed
Collateral Author:
Henry Ruelan - VCAP / VCIX (DCD)
Sr. Principal Cloud Engineer