How to use Windows 10 product key by cmd

Sometime you go Activation Setting and use Windows 10 product key but it has error as 0xc004f014

In this case you can use cmd to use Windows 10 product key

(If you use Windows 7/8/11, you do as the same)

How to use Windows 10 product key by cmd

Step 1: You open cmd (run as administrator)

run-cmd-by-administration

Step 2: You copy and paste this code to remove old Windows 10 product key

slmgr.vbs /upk

Then you enter

Step 3: You copy and paste this code to change new Windows 10 product key

slmgr /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX

You replace XXXXX-XXXXX-XXXXX-XXXXX-XXXXX to your Windows 10 product key

Then you enter

For example, I have Windows 10 Pro key: VK7JG-NPHTM-C97JM- 9MPGT-3V66T

So my code is:

slmgr /ipk VK7JG-NPHTM-C97JM- 9MPGT-3V66T

Step 4: You use this code to activate Windows 10

slmgr /ato

Then you enter.

Done. You can check again.