Windows (Windows Server 2016 Datacenter)
Troubleshoot Azure Windows virtual machine activation problems
https://docs.microsoft.com/en-us/azure/virtual-machines/troubleshooting/troubleshoot-activation-problems
https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-R2-and-2012/dn303421(v=ws.11)?redirectedfrom=MSDN
1)
cscript c:\windows\system32\slmgr.vbs /dlv
C:\Users\LocalAdminUser>cscript c:\windows\system32\slmgr.vbs /dlv
Microsoft (R) Windows Script Host Version 5.812
Copyright (C) Microsoft Corporation. All rights reserved.
Software licensing service version: 10.0.14393.3541
Name: Windows(R), ServerDatacenter edition
Description: Windows(R) Operating System, VOLUME_KMSCLIENT channel
Activation ID: XXXXXXXXXXXXX
Application ID: XXXXXXXXXXXXX
Extended PID: XXXXXXXXXXXXX
Product Key Channel: Volume:GVLK
Installation ID: XXXXXXXXXXXXX
Partial Product Key: XXXXX
License Status: Notification
Notification Reason: 0xC004F056.
Remaining Windows rearm count: 1001
Remaining SKU rearm count: 1001
Trusted time: 6/11/2020 4:33:11 AM
Configured Activation Type: All
Please use slmgr.vbs /ato to activate and update KMS client information in order to update values.
2)cscript c:\windows\system32\slmgr.vbs /ato
C:\Users\LocalAdminUser>cscript c:\windows\system32\slmgr.vbs /ato
Microsoft (R) Windows Script Host Version 5.812
Copyright (C) Microsoft Corporation. All rights reserved.
Activating Windows(R), ServerDatacenter edition (XXXXXXXXXXXXXXXX) ...
Product activated successfully.