I need to apply for a Windows 8 upgrade for my laptop, for which I need the Windows 7 license key on the underside of the laptop.
Because Microsoft decided in their infinite wisdom to create license labels that wear off, and I cannot read my license key clearly, it means I can't register my laptop for the windows upgrade offer using an automated process.
By holding the laptop at an angle to the light I have been able to verify most of the code but several of the letters are ambiguous (thanks again Microsoft for using easy to misread characters in your label).
I have the following (obfuscated) license key,
MPP6R-09RXG-2H[8B]MT-[B8]K[HN]M9-V[6G]C8R
where the characters in square brackets are ambiguous, so it is either 8
or B
, B
or 8
, H
or N
, 6
or G
.
Making 16 combinations.
Is it appropriate to generate the possible permutations of this license key using itertools or is there a better way?
I got the correct key with thanks to the contributors. A very convenient way to check if the key is valid is by using the Windows 7 product key checker.