How to change Windows 10 Home to Pro using Cmd

Step 1: You open cmd (run as administrator)
Step 2: You copy and paste one by one these codes in cmd


slmgr.vbs /upk
slmgr.vbs /ckms
Step 3: Then you copy and paste this code

DISM /online /Get-TargetEditions

If you see Target edition: Professional, your Windows 10 Home can upgrade to Windows 10 Pro.

Step 4: You type these codes in cmd

sc config LicenseManager start= auto & net start LicenseManager
sc config wuauserv start= auto & net start wuauserv
changepk.exe /productkey VK7JG-NPHTM-C97JM-9MPGT-3V66T
exit

Then you enter and wait for a moment.


Note: If you use Windows 10 version 20H2, 21H1, 22H2 you will see error 0x80070005. You restart Windows 10 to complete upgradation.