If you have a digital license linked to your Microsoft account, simply click > I changed hardware on this device recently and select your old PC.