- You will require KMS server if remote servers don’t have access to internet for activation
- Change server activation key to GVLK from MS Link then run
1
slmgr.vbs /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
- Check VLMCS DNS record.
1
nslookup -type=srv _vlmcs._tcp
- Update KMS server
1
slmgr.vbs /skms KMS_server_name_or_IP:1688
- Check if KMS server is set
1
slmgr.vbs /dlv
- Check Port
1
Test-NetConnection -ComputerName KMS_server_name_or_IP -Port 1688
- Activate Windows
1
Slmgr.vbs /ato
- Check Activation Status
1
slmgr.vbs /dli
Note: To supress slmgr output run
1
cscript c:\windows\system32\slmgr.vbs