My daughter has a Lenovo laptop that was originally win 8 but was upgraded to win 10 during the free upgrade
She has now come to me and the machine will not boot.
I do not have a recovery disk for this machine so I created a bootable usb using the Microsoft media creator from a different windows 10 machine,
I have tried rollback, repair, but nothing has worked.
Now when I boot the laptop I can get into the command prompt using the bootable usb drive.
I am now trying to get the windows product and office product keys before I do a full reinstall.
However because I am in the setup environment all the usual command prompts to get the keys using wmic do not work.
How can I get these keys when my only access to the machine is by running the command prompt from the setup.