I've changed UEFI from Legacy to UEFI Boot using MBR2GPT, setting the boot option to the hard drive, but after mbr2gpt finished, I received an error about an XML file, which I ignored.
Upon rebooting, I receive error:
PXE-E61: Media test failure, check cable
PXE-MOF: Exiting PXE-ROM
No bootable device found. Press any key to reboot the machine
Will resetting the CMOS battery fix this?
mbr2gptdoesn't reconfigure your BIOS, it just prepares Windows to boot in EFI mode rather than legacy. You have to manually make sure that EFI boot is enabled. Did you do that? – gronostaj Apr 27 '21 at 10:39mbr2gptassigned the correct GUIDs to the EFI, WinRE, and OS partitions, boot from the Install USB, open a terminal viaShift+F10and follow Step 5 in the last section of this answer, whereC:is the OS partition, which will likely not beC:in WinPE/WinRE - list viaDiskpart→lis vol(you'll mount the EFI partition viaDiskPart: to verify the correct GUIDs are set, select the applicable partition (lis par→sel par #) →det parand match the GUID listed to those listed viahelp cre par pri) – JW0914 Apr 27 '21 at 13:10BootRecandBcdBootfix all boot issues,DISMandSFCfix all Windows system file issues (if without internet access, aninstall.wim/install.esdfrom a Windows install ISO is required forDISM), with the two things that can't be fixed without a backup being the user and system Registry hives (located within%UserProfile%&%WinDir%\System32\config- a Task to back up registry hives daily/weekly is a good idea, as they're only ~250MB) and drivers (as of v1809, drivers are backed up to the Component Store (%WinDir%\WinSxS) every time a bi-annual update occurs) – JW0914 Apr 28 '21 at 11:55