If you have a legitimate product key for Windows 7 Ultimate, here’s how you can activate it:
If your Windows is still bootable, you can try to retrieve the key by opening the Command Prompt and typing: wmic path softwarelicensingservice get OA3xOriginalProductKey .