Hello,
This command in your post is ONLY reading OEM license that's embedded on the motherboard. If you don't have this type of license, this command will not work.
What do you mean by giving you the product key to recovery your Microsoft account? What's the context here?