To retrieve your Windows 10/11 Pro product key after rebuilding the OS, you can follow these steps:
- Check Your Email: If you purchased Windows Pro online, the product key may have been sent to your email.
- Microsoft Account: If your Windows 10/11 Pro was previously activated with a digital license linked to your Microsoft account, signing in with that account on the new installation should automatically reactivate Windows without needing to enter the key manually.
- Command Prompt: If you still have access to the previous installation, you can retrieve the product key by running a command in an elevated Command Prompt. Use the command
wmic path softwarelicensingservice get OA3xOriginalProductKeyto display the key. - Third-Party Key Finder: You can use third-party key-finder utilities to extract the product key from the registry of the old installation if you can access it.
If you need to purchase a new key, you can do so through the Microsoft Store app on your device.
References: