I wrote a program to recover the keys. Note: I only use unlimited MAK keys, and this has been tested thoroughly, so I know it works. Double click compile.bat to create the exe file, and double click MSKey.exe to pull the keys.
Well, I see the code, The APP is working only with Registry ... The MAK Keys really not is stored on registry ; I tried with one MAK Key, and showing wrong cached VL key in the registry It scan "DigitalProductID" and "DigitalProductID4", decoding it into a list ; Really is hard it work with the MAK Keys, I not sure of MAK Unlimited Keys ; Tested with 3 Limited MAK Keys, and not recovering .
Yeah I have it set up to only get it from the registry's digitalproductid. If that key is wiped out of the registry then you can get it from the current activation (tokens.dat file). When I install Office 2010 Pro Plus VLK with my MAK key, it never deletes it from the registry. VAMT is really good at displaying proper VLK information (whether its OEM-SLP, KMS, or MAK). If you get Office errors (like others are getting with token permissions and registry permissions), then I would simply reinstall Office. If you do not have your key, you can private message me and I will share my unlimited key.
if you enter the MAK when installing Office it will be saved in the registry and displayed by any tool. if you did not enter a MAK when installing Office and entered it after installation it will not be stored in the registry and the default key (KMS) will be displayed.
I see. I will do some testing with that then. EDIT: I guess I never experienced that issue since I slipped my MAK keys into my Office 2010 DVD. According to the activation for Office 2010, MAK keys are not token based, hence why tokens.dat does not work. My assumption is that it still uses a xrm-ms certificate in lieu of a product key. It might be possible to get the key from C:\Program Files\Common Files\Microsoft Shared\Office Setup Controller\pidgenx.dll Anyone have code on how to use the dll file to display license information? EDIT: Nevermind.. To display the product key from the certificate I believe requires the private key :\
In case you will need another key recovering tool check Sterjo Key Finder at sterjosoft.com/key-finder.html
For information the code provided by @Sabresite is wrong For example it returns different keys when using the DigutalProductId and DigutalProductId4 on windows!!! Of course it should return the same key