The question then is if the “restored” ship is still the same object as the original ... and use your Windows 7 OEM key to install Windows 10, and activation should succeed.
Whether it's time to buy Microsoft Windows 10 key or Windows 11 Pro key or even a new copy of Office, buying software ...