If you upgrade to Windows 11/10, the new OS will take the product key and activation details from your earlier OS. These are then saved on Microsoft servers, along with your PC details.
I got my start with PCMag but have also written for Tom's Guide and LaptopMag.com, and several other tech outlets. With a focus on personal computing (Windows, macOS, and ChromeOS), Starlink satellite ...