Skip to main content

Inject Product Key to Server 2019 after install

To activate or inject a product key in Microsoft Windows Server 2019.
Enter this code in an elevated command prompt . This will also work with Windows 10 and 11.

c:\windows\system32\slmgr.vbs /ipk <productkey>