slmgr.vbs OS key activation

To view current license status

cscript /Nologo "C:\Windows\System32\slmgr.vbs" /dli


Manually activate using key

cscript c:\windows\system32\slmgr.vbs /ipk  P*************A

cscript c:\windows\system32\slmgr.vbs /ato


To set to Azure KMS

 slmgr.vbs /skms azkms.core.windows.net

slmgr.vbs /ato

https://learn.microsoft.com/en-us/troubleshoot/windows-server/licensing-and-activation/error-0xc004e015-sl-e-eul-consumption-failed-activate-windows

https://learn.microsoft.com/en-us/windows-server/get-started/kms-client-activation-keys?tabs=server2019%2Cwindows1110ltsc%2Cversion1803%2Cwindows81#generic-volume-license-keys


Comments

Popular posts from this blog

Troubleshooting Netlogon Error Codes

Service Principal Names (SPNs) SetSPN Syntax (Setspn.exe)

Troubleshooting SCEP certificate profile deployment to Android devices in Microsoft Intune