How to Activate Windows 11 CMD: A Step-by-Step Guide

To activate Windows 11 using Command Prompt (CMD), you need to access the CMD with administrative privileges and use a few specific commands. This process involves entering a product key and activating the operating system using the Software Licensing Management Tool (slmgr). Follow the steps below to successfully activate your copy of Windows 11 through CMD.

Step-by-Step Tutorial: How to Activate Windows 11 CMD

Activating Windows 11 through the Command Prompt involves a series of commands that input the product key and initiate the activation process. Here’s how to do it step by step.

Step 1: Open Command Prompt as Administrator

Press the Windows key and type "cmd," then right-click on Command Prompt and select "Run as administrator."

Running CMD as an administrator gives you the necessary permissions to execute system-level commands.

Step 2: Input the Product Key

Type slmgr /ipk your-product-key and press Enter. Replace "your-product-key" with your actual Windows 11 product key.

This command installs the product key into your Windows 11 system. Make sure to type the key correctly to avoid errors.

Step 3: Set the Activation Server

Next, type slmgr /skms and press Enter. This points your activation to a specific server.

This command specifies the server that your copy of Windows will use to verify and activate your product key.

Step 4: Activate Windows

Finally, type slmgr /ato and press Enter to complete the activation process.

This command tells Windows to activate using the entered product key and the specified server. If everything is correct, your Windows 11 should be activated.

After completing these steps, your Windows 11 should be fully activated. You can verify this by checking the activation status in your system settings.

Tips for Activating Windows 11 CMD

  • Always run Command Prompt as an administrator to avoid permission issues.
  • Double-check your product key for any typos before entering it.
  • If you encounter errors, make sure your internet connection is stable.
  • Use a legitimate Windows 11 product key to avoid activation failures.
  • Keep your system updated to avoid compatibility issues with activation servers.

Frequently Asked Questions

What if I don’t have a product key?

You will need a valid product key to activate Windows 11. Without it, the activation process cannot be completed.

Can I use this method offline?

No, you need an active internet connection to contact the activation server.

What if the slmgr command fails?

Ensure that you have typed the command correctly and that you have administrator privileges.

Can I use any KMS server?

It’s recommended to use a trusted and legitimate KMS server to avoid potential issues.

How do I know if Windows 11 is activated?

Go to Settings > System > Activation. It will show if your Windows is activated.


  1. Open CMD as administrator.
  2. Enter the product key with slmgr /ipk your-product-key.
  3. Set the activation server with slmgr /skms
  4. Activate Windows with slmgr /ato.


Activating Windows 11 using CMD may sound like a complex task, but breaking it down into simple steps makes it manageable. By running Command Prompt as an administrator and entering the correct commands, you can quickly activate your operating system. Remember, this method requires a valid product key and a stable internet connection.

Using authoritative and legitimate sources for your product key is essential to ensure a smooth activation process. If you encounter any issues, double-check your steps or consult Microsoft’s support resources. Once activated, Windows 11 offers a range of features and security updates, making it well worth the effort to get it up and running.

Feel free to share this guide with anyone facing the same challenges, and take the time to explore more about Windows 11 to take full advantage of its capabilities. Happy computing!

Get Our Free Newsletter

How-to guides and tech deals

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