In Windows 10 sometimes when you try to reset the computer to defaults you may get an error that says could not find the Recovery Environment. I did this command and it fixed it for me:
- reagentc /enable
References:
https://www.backup-utility.com/windows-10/could-not-find-recovery-environment-4348.html