Activating Windows 7, Windows 8 and Windows 10 using the command line

Sometimes the Activate now button in Control Panel -> System doesn’t work, or throws a vague error message. In this case, it might be worth a try activating Windows from the command line instead.

Start a command prompt as Administrator

Add the new license key

slmgr.vbs /ipk your-key-here

Activate Windows using the previously added key

slmgr.vbs /ato

If something goes wrong, the slmgr script will show a detailed error message, unlike the GUI which just throws a generic error message.

5 thoughts on “Activating Windows 7, Windows 8 and Windows 10 using the command line

  1. Hi,
    Thanks for writing this in-depth review. I read your website.
    In fact, I found the information I was looking for in your article. It’s really helpful.
    I have benefited from reading your article.
    Thank you very much.

  2. Shah mohammad Polash says:

    Hi,
    Thanks for writing this in-depth review. I read your website.
    In fact, I found the information I was looking for in your article. It’s really helpful.
    I have benefited from reading your article.
    Thank you very much.

  3. Useful information. Lucky me I discovered your website unintentionally, and
    I’m shocked why this coincidence did not came about earlier!
    I bookmarked it.

Leave a Reply

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

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>