Activate Windows from Command Prompt

Run the following command to activate Windows via command line.

This is helpful when activating Windows Server 2019 because it errors out when attempting to activate via GUI on the current build of 2019.

cscript c:\windows\system32\slmgr.vbs /ipk XXXX-XXXXX-XXXXX-XXXXX-XXXXX

Leave a Reply

Your email address will not be published. Required fields are marked *