
Click on Yes so that you can give the administrator rights to the command prompt.

Dism /Online /Get-TargetEditions
After opening the command prompt, you need to enter the above command in the command prompt and then hit the enter button.

Now you can see all versions of Windows 10 and are ready to be upgraded.

sc config LicenseManager start= auto & net start LicenseManager
Type the above command and then press enter. The license manager server has been started.

We need to start another service “Windows Update feature”.
Type the below command and then press enter.
sc config wuauserv start= auto & net start wuauserv

changepk.exe /productkey XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
After starting the services, now we need to enter the Windows 10 Pro product key the one we want to upgrade into then we will be able to upgrade the window from the Home edition to the Pro edition.
As soon as we enter the product key, the window will start getting upgraded automatically.

It might take 15 to 20 minutes to upgrade Windows, so you have to wait.

Working on updates.

Go to the My computer properties, then you can see the Windows Pro.
