Can I recover my Windows 8.1 or 10 product key from BIOS?

A few weeks ago, I upgraded my Windows 8.1 to Windows 10. Unfortunately some viruses got into my computer and Kaspersky wasn't able to resolve those virus issues. So, I formatted the whole system without backing up the essentials. Now, I can't find my product key. So, can I recover my Windows 8.1 or 10 product key from BIOS?

Added (1). A few weeks ago, I upgraded my Windows 8.1 to Windows 10. Unfortunately some viruses got into my computer and Kaspersky wasn't able to resolve those virus issues. So, I formatted both my C and D drives without backing up the essentials. Now, after installing Windows 10, I can't find my product key. So, can I recover my Windows 8.1 or 10 product key from BIOS or is there other ways?

Laptop Name: Lenovo Y50-70

Yes… Just install the correct version of windows and it will auto-detect the product key if it is there.

Your BIOS wouldn't be able to tell you your operating system. So your answer is no. Your BIOS could care less about what operating system you're running because your BIOS is not a part of your hard drive. Your BIOS is a small IC on your motherboard and its sole purpose is to make sure your hardware is running A-Okay.

However! I would check on the bottom of your laptop and there should be a product key of Windows on a seal. Use that to reinstall your Windows with a repair CD and you should be able to get your operating system back.

Your product key will be on a sticker on the bottom of the laptop. If it's not there, you'll need to contact Lenovo and purchase the media/key from them.