UEFI Windos Boot - Boots directly to UEFI

BuBu Shofronea

Distinguished
Sep 10, 2014
489
2
18,795
I have recently removed my legacy windows and installed it as UEFI. However, somehow it began to have an issue. If i restart my computer from windows, it will go directly to uefi after restarting. Same thing happens at first turn on. If i exit the uefi eveything rolls fine, it's just this annoying issue that makes my computer to boot into uefi instead of bios. The boot priority starts with the windows boot manager, which i guess it's my ssd i installed the windows on. I have disabled csm support but that didin't help. There are no additional features that make the computer boot into uefi after restart or at turn on.

I have a msi z270 tomahawk and win10 pro 64 bit. If anyone could help me fix this issue, i'd be thankful.
 
Solution
bwH6q7L.png


that looks normal enough,

can't see any error in boot log.

if you fresh install, follow this guide: http://www.tenforums.com/tutorials/1950-windows-10-clean-install.html
you don't need to create the partitions before installing, win 10 will do all that.

Colif

Win 11 Master
Moderator
see if this helps

from desktop, go to settings/update & security/recovery
under Advanced Start up, click Restart PC button
this restarts windows in a blue menu
choose troubleshoot
choose advanced
choose start up repair - this will scan PC and maybe fix this - will ask for logon info


if that doesn't help, we can try to rebuild the boot files as the Windows Boot Manager in the UEFI should be looking for a special file on the HDD and clearly isn't seeing it.
restart PC in advanced startup like above and
choose troubleshoot
choose advanced
choose command prompt
We need to use the Bootrec.exe tool. Click on command prompt and type in the following commands, one after the other:
bootrec /RebuildBcd
bootrec /fixMbr
bootrec /fixboot
Exit

Now go ahead and reboot your system. In some cases you may need to run some additional commands.
bootsect /nt60 SYS or bootsect /nt60 ALL
 

BuBu Shofronea

Distinguished
Sep 10, 2014
489
2
18,795
Hello and thank you for responding. No, it doesn't, now it asks me what OS to choose, 10 or 10 pro, if i select 10 pro it wont boot at all. It's so annoying. I also noticed that in the uefi's boot priority the ssd i have windows installed on doesn't appear on the list, only windows boot manager and usbs.
 

Colif

Win 11 Master
Moderator
The windows Boot Manager (WBM) should have the location of the boot file on the ssd, so it doesn't need to have the ssd in the boot order, and trying to boot without using the WBM won't work, due to way the disc is formatted (or should be)

in windows, can you give me am screen shot of disk management? (upload it to Imgur and share link here)

having two windows options is odd? we could set default OS via msconfig but better to figure out why its happening than ignore it.

Did you fresh install windows when you converted to UEFI boot?
 

BuBu Shofronea

Distinguished
Sep 10, 2014
489
2
18,795


Hello and thanks for responding,

I have reinstalled windows as i changed parts. I selecte whql support in uefi and had to delete old partitions despite HDD and create new ones in order to install uefi windows. I had no issues until latest updates where it messed up the boot. I loaded optimized defaults in uefi/bios, didn't help. Here's the screenshot of disk mgr
5R47B


I also wanna point out that Start Up repair ends with an error after diagnose, i can't remember exatcly where the log file saved.
I also wanna add out that i ran a chkdsk already.
 

BuBu Shofronea

Distinguished
Sep 10, 2014
489
2
18,795
If this is gonna be taking long i'm gonna do a reinstall removing all the other sata drives such as my hdd and my dvd writer, i heard these could mess up installation.

Oh, i found the boot log : Startup Repair diagnosis and repair log
---------------------------
Last successful boot time: ‎6/‎13/‎2017 4:21:08 PM (GMT)
Number of repair attempts: 1

Session details
---------------------------
System Disk = \Device\Harddisk0
Windows directory = C:\WINDOWS
AutoChk Run = 0
Number of root causes = 1

Test Performed:
---------------------------
Name: Check for updates
Result: Completed successfully. Error code = 0x0
Time taken = 0 ms

Test Performed:
---------------------------
Name: System disk test
Result: Completed successfully. Error code = 0x0
Time taken = 0 ms

Test Performed:
---------------------------
Name: Disk failure diagnosis
Result: Completed successfully. Error code = 0x0
Time taken = 0 ms

Test Performed:
---------------------------
Name: Disk metadata test
Result: Completed successfully. Error code = 0x0
Time taken = 16 ms

Test Performed:
---------------------------
Name: Target OS test
Result: Completed successfully. Error code = 0x0
Time taken = 234 ms

Test Performed:
---------------------------
Name: Volume content check
Result: Completed successfully. Error code = 0x0
Time taken = 516 ms

Test Performed:
---------------------------
Name: Boot manager diagnosis
Result: Completed successfully. Error code = 0x0
Time taken = 15 ms

Test Performed:
---------------------------
Name: System boot log diagnosis
Result: Completed successfully. Error code = 0x0
Time taken = 0 ms

Test Performed:
---------------------------
Name: Event log diagnosis
Result: Completed successfully. Error code = 0x0
Time taken = 16 ms

Test Performed:
---------------------------
Name: Internal state check
Result: Completed successfully. Error code = 0x0
Time taken = 0 ms

Test Performed:
---------------------------
Name: Check for pending package install
Result: Completed successfully. Error code = 0x0
Time taken = 1297 ms

Test Performed:
---------------------------
Name: Boot status test
Result: Completed successfully. Error code = 0x0
Time taken = 0 ms

Root cause found:
---------------------------
Boot status indicates that the OS booted successfully.

---------------------------
---------------------------
 

BuBu Shofronea

Distinguished
Sep 10, 2014
489
2
18,795


Hello, i updated to the latest bios and now it works, [strike]i only got this windows selection thing, how do i get rid of it ? thanks.[/strike] Nevermind, i got that too, thanks anyway.