Hi Kiki Julia Smith,
When you perform a fresh installation of Windows on a new drive, the system will prompt for activation because the digital license tied to your original installation is not automatically carried over. Windows product keys are not stored in a simple text file on the drive; instead, they are embedded in the system registry or, for OEM devices, in the computer’s firmware (BIOS/UEFI).
Since you can still access your old drive, you can retrieve the product key by running a command such as wmic path softwarelicensingservice get OA3xOriginalProductKey from an elevated Command Prompt while booted into that installation. Alternatively, third‑party key‑finder utilities can read the registry hive from the old drive to extract the key. If your PC was previously activated with a digital license linked to your Microsoft account, signing in with that same account on the new installation should automatically reactivate Windows without needing to manually enter the key.
I hope this guidance helps you recover your product key or reactivate Windows successfully. If this explanation is useful, please hit “Accept Answer” so I know your concern is resolved.
Jason.