Activating a Windows Server 2012 licence

You can activate your Windows Server 2012 licence from PowerShell with these commands.

  1. Remove the current product key:

    slmgr -upk
    
  2. Install your new product key (replace XXXXX-XXXXX-XXXXX-XXXXX-XXXXX with your own key):

    slmgr -ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
    
Was this article helpful?