Close

Not a member yet? Register now and get started.

lock and key

Sign in to your account.

Account Login

Forgot your password?

SOLVED: How To Activate Windows 10 / Server 2016 Through Command Line

If you are having problems activating Windows 10, Server 2016, Windows 8, or Server 2012 one of these three solutions below should get you through:

Command Line to Launch Activation GUI:

This is handy if the GUI won’t start and you want to skip some steps to get it to work.

  1. click START (gets you to the tiles)4-no-change-product-key-link-missing-dns-error-0x8007232b-dns-error-activate
  2. type RUN
  3. type slui 3 and press ENTER
    1. yes, SLUI: which stands for SOFTWARE LICENSING USER INTERFACE
      1. SLUI 1 brings up the activation status window
      2. SLUI 2 brings up the activation window
      3. SLUI 3 brings up the CHANGE PRODUCT KEY window
      4. SLUI 4 brings up the CALL MICROSOFT & MANUALLY ACTIVATE window
  4. Type in your product key
  5. Have a nice day.

Command Line to Activate Windows Through Command Line:

  1. Launch a CMD as an Administratorcommand-line-to-activate-windows-slmgr-slui
  2. Type: slmgr.vbs /ipk xxxxx-xxxxx-xxxxx-xxxxx-xxxxx
  3. Press Enter

If your key is valid and you are connected to the internet, it should activate within a second or two.

Call Microsoft Activation Center:

In Canada and the US, call the support line directly at 1 800-936-4900, otherwise, use this table of Microsoft Activation Phone Numbers to do the deed.

You also might find some of our previous posts on activation problems to be helpful:  urtech.ca/?s=activation

Share This With Your Friends Now:
Facebooktwittergoogle_plusredditpinterestlinkedin

  1. avatar
    Michael Weyant02-05-17

    I believe this is the command you’re looking for.

    dism /online /set-edition:ServerStandard /productkey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX /accepteula

    Or if you installed Standard edition and you want to change it to datacenter

    dism /online /set-edition:ServerDatacenter /productkey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX /accepteula

    or you can also see what upgrades are available
    dism /online /Get-TargetEditions

  2. avatar
    Pete01-06-17

    Server 2016 Datacenter gui would not allow product key change. The command line activation works fine.

  3. avatar
    Meziggues11-08-16

    Hello, slui.exe 4 doesn’t work for win 2016 server sorry…

  4. avatar
    Raj10-29-16

    Great article with all the methods summarized, thanks!

Leave a Reply

Please confirm you are a person and not a 'bot' by answering this simple question: Time limit is exhausted. Please reload CAPTCHA.

  1. Windows server 2016 TP 5 activation | Richard Siddaway's Blog05-26-16