[Still working in 2023] activate windows 10/11 using command line free without key

How to activate windows 10 using command line (CMD)

Note: As of now (march 2023) This method is still working to activate windows 10 for free with CMD, so if it’s not working for you, then you must have not followed the steps carefully.

In today’s guide, you are going to learn how you can activate your windows 10/11 Computer just by using the command line, which is commonly known as CMD or command prompt.

Most PC users do not know that they can activate their windows for FREE as well, so you might want to bookmark this post for future purposes.

This post will give you a step-by-step easy guide, to teach you How to activate Windows 10 with cmd with and without key

How to activate windows 10 using command line (CMD)

it is by far the fasted method to activate the windows 10 product. (probably under a minute, if you do all the steps exactly as it is mentioned) because in here you don’t need to install any Windows 10 activation tool or watermark remover tool or something for activation. so it’ll be a pretty straightforward guide for non-techy folks.

Also read: ( FIXED )  file explorer preview pane not working for pdf in windows

After the installation of  Windows 10 on your computer, it will ask you to activate your Windows 10 when you’ll try to personalize/customize windows 10. If your Windows 10 system has not been activated, Windows will not let you personalize your desktop (such as personalizing your lock screen, wallpaper, theme, etc.) and it will show a watermark at the bottom right screen saying “Activate Windows. Go to Settings to activate Windows”.

which looks very annoying on the screen

Activate windows 10 logo on computer

Also read: How to markup or annotate a pdf on windows

so let begin the process to activate window 10 with help of CMD.

How to Permanently Activate Windows 10/11 with command line

Step 1.  Open command prompt

Press Windows and search cmd, right-click and run as administrator.

How to activate windows 10 using command line










Step 2. Uninstall the previous key

Now type this command on cmd slmgr.vbs /upk  (please keep in mind that it will uninstall any previous product key)

How to activate windows 10 using command line1

Step 3. Enter the keys

Next, copy and paste this command line and hit Enter to install the Windows 10 product key: slmgr /ipk NPPR9-FWDCX-D2C8J-H872K-2YT43

or any of the keys below

Home: TX9XD-98N7V-6WMQ6-BX7FG-H8Q99
Home Single Language: 7HNRX-D7KGG-3K4RQ-4WPJ4-YTDFH
Home Country Specific: PVMJN-6DFY6-9CCP6-7BKTT-D3WVR
Professional: W269N-WFGWX-YVC9B-4J6C9-T83GX
Professional N: MH37W-N47XK-V7XM9-C7227-GCQG9
Education: NW6C2-QMPVW-D7KKK-3GKT6-VCFB2
Education N: 2WH4N-8QGBV-H22JP-CT43Q-MDWWJ
Enterprise: NPPR9-FWDCX-D2C8J-H872K-2YT43
Enterprise N: DPH2V-TTNVB-4X9Q3-TJR4H-KHJW4


how to activate windows 10 with command line 3

Step 4. Enter the command

now type slmgr /skms kms8.msguides.com into the command line and press Enter.

Now copy and paste slmgr /ato and hit Enter to activate Windows 10 with CMD.

that’s it now you’re done, now…

How to activate Windows 10/11 with cmd without key

If you do not have the windows license and you are looking for a way to activate your windows without a key then keep reading.

there are 2 ways you can activate windows 10 with cmd without key, let’s see how:

#Method 1: using Windows Activator – KMSPico

For this you need to disable Real Time Protection under the Windows Defender Settings to excute the further steps. you can read here to how to disbale windows defender for kmspico. Now follow the steps carefully to activate windows 10 with cmd without key using kmspico.

  1. First, download the KMSPico software by clicking here.
  2. Now Unzip and install the software (Password is officialkmspico.com)
  3. Open the software after Installation.
  4. Once the software opens, click on the big Red button and your Windows 10 will be activated immediately!

That’s all, Now you have successfully activated your Windows 10 PC. Now, you should be able to usee all the windows features that were locked before like changing wallpapers etc.

Also read: ( FIXED )  file explorer preview pane not working for pdf in windows

#Method 2: using Windows Activatior Microsoft Toolkit

The first thing you need to do is temporarily disable Antivirus and Windows Defender protection (the antivirus will prevent Microsoft Toolkit from modifying the system registry, which is needed to activate Windows).

Now to activate windows 10 without using with the help of microsoft toolkit follow the steps below:

  1. download Microsoft Toolkit by clicking here.
  2. Unzip the file and Install it. (Password is mstoolkit.org)
  3. Then, open the Microsoft Toolkit.exe file, install and allow installation to be completed.
  4. open the software and click on the Windows icon beside the Settings button in the software.
  5. Click on Product Keys tab and select the Product and Edition (e.g Windows 10 Professional). Click on Install.
  6. Now, go to the Activation tab, select KMS Server Service and click Install.
  7. Finally, click on Activate. Your Windows will be activated immediately.

And hopefully it should work, if it doesn’ click on E-Z Activator.

how to check windows 10 is activated or not?

There are lots of ways you can check if windows 10 is activated on your computer or not, for example, If you don’t see any “activated windows,  go to settings to activate windows” watermark in the bottom right of your screen then it means your windows is fully activated however another excellent method to check windows 10 is activated or not on your device is by using this simple command:

type windows + run

type this command slmgr.vbs -xpr

how to check windows is activated with command line

Also read: [Fixed] potential windows update database error detected

you watch this video if you are still facing any problem

how to activate windows 10 with cmd without key

This is by far the best way to activate windows 10 with cmd without key and this is how by following the steps above, you can activate Windows 10 for free with the command line, and after activating Windows 10 you’ll be able to customize your home screen like lock screen, wallpaper, theme, etc., and the annoying watermark of windows won’t show anymore.


Is it safe and legal to activate Windows 10 using CMD kms?

It is illegal to activate Windows using KMS. A copy of Windows activated through the KMS method will not be considered genuine by Windows. Hence, you should do it at your own risk.

To Find your windows 10/11 Product key using CMD follow the steps:
open CMD with admin rights in windows and paste the command below and hit enter.
wmic path softwarelicensingservice get OA3xOriginalProductKey
It will show you your windows product key on the terminal.

Some users were getting error codes like 0xC004F069 and 0xC004F074, but for me and lots of other users claim that it is working totally fine, so please try other keys and make sure you are doing the exact steps mentioned above

Team windowsground



Similar Posts


        1. Sometimes it does throw error, what you can do is,
          Uninstall and Reinstall KMS Key and it should hopefully activate your windows 10

  1. as of 9/30/2021 the cmd lines are always going to be good but the activation keys are still working. Maximum Respect. you have anything on install and activating Win11?

  2. Activision by cmd
    I wrote the key but it says that (code is not regognized as internal and external command d,
    operable or batch file size

  3. It doesn’t work for me. I have windows 10 pro and I can download the KMS key but it won’t activate. I tried every other key that is available on this website but it didn’t work either. itt says it error 0xC004F074 can you help me somehow?

  4. Still works till this day, Feb 8th 2022. However product key is expiring soon. “TX9XD-XXXX-XXXX-BX7FG-H8Q99” one is

  5. It only Activates in Notification Mode, im not sure what that is or how to get it to install correctly

Leave a Reply

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