How to Activate Windows 10 with CMD: A Step-by-Step Guide

Command Prompt can display Windows licensing information and can install a legitimate product key, but it does not provide a legal way to activate Windows 10 without a valid license. Avoid tutorials that use unofficial KMS servers, leaked keys, scripts, or activation-cracking tools.

Check Windows activation first

  1. Open Windows 10 Settings.
  2. Select Update & Security, then Activation.
  3. Read the activation status and any error message shown there.
  4. If you own a valid product key, use the Change product key option and enter it.
  5. If the PC previously had a digital license, sign in with the appropriate Microsoft account when relevant and use Microsoft’s Activation Troubleshooter if it is offered.

What Command Prompt is useful for

Microsoft’s Software Licensing Management Tool, slmgr.vbs, can display licensing status and perform legitimate licensing operations when you already have the required authorization and key infrastructure. It should not be paired with an unauthorized third-party activation server.

For a home PC that will not activate, confirm that the installed Windows edition matches the license—for example, Home versus Pro—and contact Microsoft or the device seller when the license should be valid but activation still fails.

Microsoft ended Windows 10’s standard free-support period in October 2025. A successful activation changes licensing status, not the operating system’s support lifecycle.

Get Our Free Newsletter

How-to guides and tech deals

You may opt out at any time.
Read our Privacy Policy