This question already has an answer here:
My laptop's HDD has just gone bad. The OS and recovery partitions are corrupted so I can't recover Windows anymore. However I've backed up Windows' license according to this tutorial before, therefore I download a fresh Windows 8.1 ISO to reinstall and intended to restore the license later. But the Windows installer keeps asking for the product key which I don't know because it wasn't printed on the laptop anymore.
So can I get the key from the above license files (
tokens.dat) or from the recovery partition (where most files are still left intact)?