Magical Jelly Bean Keyfinder is one auxiliary freeware program for the recovery of the key product(cd key) used for the installation of Windows from your system registry.
It has a configuration file that is updated by the community and retrieves product keys for many other applications. Another feature of the application is the ability to recover product keys from old Windows installations that are not running.
Works for installations Windows 2000, XP, Vista, Windows 7, 8 or 10. According to the manufacturer, the free version of the Magical Jelly Bean Keyfinder app can recover keys from 300+ different programs.
The "pro" version of the application (called Recover Keys) is not free, but may retrieve activation codes for 10,004 applications.