If the Home to Pro upgrade is failing, try this method with the generic Pro key to perform the upgrade.
Important - disconnect totally from the Internet
Open the Settings App (Gear icon on your Start Menu)
Go to Update and Security - Activation
Click Change Product key
Enter this generic product key: VK7JG-NPHTM-C97JM-9MPGT-3V66T
When prompted, click 'Activate Product'
If the above does not work first time, restart your PC and try again.
Note the generic key will cause the home edition to upgrade to the Pro edition, then your own legal licence will activate automatically after you restart (not shut down) your PC