When you downloaded the free up grade from windows 7 you received a digital license from Microsoft. In Windows 10, the digital license associates itself with your device's hardware. I am not sure this will work but have you tried to install windows 10 using the option of skipping entering the license key?
I sent you a Private message.