Digital licenses are tied directly to your hardware or your Microsoft account. This is the "easiest" way because it often requires no manual input. Microsoft Support Free Upgrades
and sign in with your Microsoft account to re-link your digital license to the new hardware. Microsoft Community Hub 4. Alternative: Phone Activation easy way to activate windows 10