On a computer with a retail license of Windows 10, you can transfer the product key to a new device. You only have to remove the license from the system, and then you can apply the same key on the new computer.
How do I deactivate my Windows 10 license and transfer it to a new PC?
Press Windows key + X then click Command Prompt (Admin). At the command prompt, enter the following command: slmgr. vbs /upk. This command uninstalls the product key, which frees the license for use elsewhere.
How do I know if my Windows 10 license is transferable?
Fortunately it is easy to tell if your new license is transferrable by typing Winver in the Start/Search box. Read the bottom of the license that appears. If the license is granted to the user, it is transferable. If the license is granted to a manufacturer, it is not.
Can I transfer my Windows account to a new computer?
Your Windows “Microsoft Account” on your “old” computer cannot be transferred to the new computer. You just create a new userid on the new computer using the “Microsoft Account” email and password. Using a Windows “Microsoft Account” also automatically saves some Windows configuration settings in OneDrive/”the cloud”.