Activating Windows 11 using Command Prompt (CMD) might sound a bit techy, but itโs actually quite simple. Youโll be using a series of commands to activate your Windows 11 with a product key. This process involves opening the Command Prompt as an administrator and running specific commands correctly. Follow along, and youโll have Windows 11 activated in no time.
How to Activate Windows 11 CMD
This section will walk you through the precise steps youโll need to take to activate Windows 11 using the Command Prompt. Each step will be clearly outlined and explained to make sure you know exactly what to do.
Step 1: Open Command Prompt as Administrator
Open the Start menu, type โcmd,โ right-click on โCommand Prompt,โ and select โRun as administrator.โ
Running the Command Prompt as an administrator ensures you have the necessary permissions to execute the activation commands. Without admin rights, you wonโt be able to complete the process.
Step 2: Install 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 on your system, which is essential for activation.
Step 3: Set the Key Management Service (KMS) Machine Address
Type slmgr /skms kms-server-address and press Enter.
Replace โkms-server-addressโ with the address of your KMS server if you have one. This step is mainly for volume licensing and can be skipped if youโre using a retail product key.
Step 4: Activate Windows
Type slmgr /ato and press Enter.
This final command activates your Windows 11 installation. Youโll receive a confirmation message if the activation is successful.
Step 5: Check Activation Status
Type slmgr /dli or slmgr /xpr and press Enter.
These commands help you check whether Windows 11 is activated. /dli shows the current license information, while /xpr tells you if your activation is permanent.
After successfully completing all the steps, your Windows 11 will be activated. Youโll notice that the โActivate Windowsโ watermark will disappear, and all features will become available to you.
Tips for Activating Windows 11 CMD
- Always ensure you have a valid product key before attempting activation.
- Double-check each command for typos to avoid errors.
- Run Command Prompt as an administrator to have the necessary permissions.
- Save your product key in a secure place for future reference.
- If you encounter errors, consult Microsoftโs support or online forums for solutions.
Frequently Asked Questions
What is Command Prompt?
Command Prompt is a command-line interpreter application available in most Windows operating systems. Itโs used to execute entered commands.
Do I need an internet connection to activate Windows 11 via CMD?
Yes, an internet connection is required to activate Windows 11 online.
Can I use this method for all versions of Windows 11?
Yes, this method works for all versions of Windows 11, provided you have a valid product key.
What if my product key is not working?
If your product key isnโt working, it might be invalid or already used. Contact Microsoft support for assistance.
Is it legal to activate Windows 11 using CMD?
Yes, as long as you use a legitimate product key, activating Windows 11 via CMD is legal.
Summary
- Open Command Prompt as administrator.
- Install the product key with
slmgr /ipk your-product-key. - Set the KMS machine address with
slmgr /skms kms-server-address(if applicable). - Activate Windows with
slmgr /ato. - Check activation status with
slmgr /dliorslmgr /xpr.
Conclusion
Activating Windows 11 using CMD is a straightforward process if you follow the steps carefully. This method allows you to leverage the full power of Command Prompt to manage your Windows activation without needing additional software. By ensuring you have a valid product key and running commands correctly, youโll quickly overcome any activation hurdles.
For those who like to tinker or need to manage multiple activations, knowing how to use CMD for this task is invaluable. If you run into issues, online communities and Microsoftโs support are great resources. Now, with your Windows 11 fully activated, you can enjoy all its features and enhancements. Happy computing!

Matthew Burleigh has been writing tech tutorials since 2008. His writing has appeared on dozens of different websites and been read over 50 million times.
After receiving his Bachelorโs and Masterโs degrees in Computer Science he spent several years working in IT management for small businesses. However, he now works full time writing content online and creating websites.
His main writing topics include iPhones, Microsoft Office, Google Apps, Android, and Photoshop, but he has also written about many other tech topics as well.