Question Bootlooping after turning on secure boot

GEORGEV003

Reputable
Oct 9, 2020
14
1
4,515
Hello, so my pc has been boot looping after after I turned on secure boot on the BIOS.
The motherboard is a b450 Aorus M running a 5700x on a M.2.
I tried shorting CMOS and taking out the battery, both didn’t help. Any suggestions?
 
You need to enable secure boot BEFORE you do the Windows installation, or ANY OS installation for that matter. Enabling it after an installation has been done will result in exactly what you are seeing. It would be helpful to know WHY you enabled secure boot and what you were trying to accomplish by doing so?

Follow the procedure below BUT with one major difference. I want you to remove (Or disconnect, depending on the type of drive. For an M.2 drive you will need to remove) the drive your OS is installed on before you put the CMOS battery back in and power on the system. You should then be able to get into the BIOS and it SHOULD be back to all default configuration. If so, then you can power back off, reinstall your drive, then power back on and reconfigure any custom settings like fan curves etc that you need to in the BIOS. If you want to be able to enable secure boot you need to enable it and then immediately do a clean install of Windows.

And no, this is NOT the same procedure as just shorting the Clear CMOS pins or just taking out the CMOS battery. Follow the instructions EXACTLY as outlined.


BIOS Hard Reset procedure

Power off the unit, switch the PSU off and unplug the PSU cord from either the wall or the power supply.

Remove the motherboard CMOS battery for about three to five minutes. In some cases it may be necessary to remove the graphics card to access the CMOS battery.

During that five minutes while the CMOS battery is out of the motherboard, press the power button on the case, continuously, for 15-30 seconds, in order to deplete any residual charge that might be present in the CMOS circuit. After the five minutes is up, reinstall the CMOS battery making sure to insert it with the correct side up just as it came out.

If you had to remove the graphics card you can now reinstall it, but remember to reconnect your power cables if there were any attached to it as well as your display cable.

Now, plug the power supply cable back in, switch the PSU back on and power up the system. It should display the POST screen and the options to enter CMOS/BIOS setup. Enter the bios setup program and reconfigure the boot settings for either the Windows boot manager or for legacy systems, the drive your OS is installed on if necessary.

Save settings and exit. If the system will POST and boot then you can move forward from there including going back into the bios and configuring any other custom settings you may need to configure such as Memory XMP, A-XMP or D.O.C.P profile settings, custom fan profile settings or other specific settings you may have previously had configured that were wiped out by resetting the CMOS.

In some cases it may be necessary when you go into the BIOS after a reset, to load the Optimal default or Default values and then save settings, to actually get the hardware tables to reset in the boot manager.

It is probably also worth mentioning that for anything that might require an attempt to DO a hard reset in the first place, IF the problem is related to a lack of video signal, it is a GOOD IDEA to try a different type of display as many systems will not work properly for some reason with displayport configurations. It is worth trying HDMI if you are having no display or lack of visual ability to enter the BIOS, or no signal messages.

Trying a different monitor as well, if possible, is also a good idea if there is a lack of display. It happens.
 
You need to enable secure boot BEFORE you do the Windows installation, or ANY OS installation for that matter. Enabling it after an installation has been done will result in exactly what you are seeing. It would be helpful to know WHY you enabled secure boot and what you were trying to accomplish by doing so?

Follow the procedure below BUT with one major difference. I want you to remove (Or disconnect, depending on the type of drive. For an M.2 drive you will need to remove) the drive your OS is installed on before you put the CMOS battery back in and power on the system. You should then be able to get into the BIOS and it SHOULD be back to all default configuration. If so, then you can power back off, reinstall your drive, then power back on and reconfigure any custom settings like fan curves etc that you need to in the BIOS. If you want to be able to enable secure boot you need to enable it and then immediately do a clean install of Windows.

And no, this is NOT the same procedure as just shorting the Clear CMOS pins or just taking out the CMOS battery. Follow the instructions EXACTLY as outlined.


BIOS Hard Reset procedure

Power off the unit, switch the PSU off and unplug the PSU cord from either the wall or the power supply.

Remove the motherboard CMOS battery for about three to five minutes. In some cases it may be necessary to remove the graphics card to access the CMOS battery.

During that five minutes while the CMOS battery is out of the motherboard, press the power button on the case, continuously, for 15-30 seconds, in order to deplete any residual charge that might be present in the CMOS circuit. After the five minutes is up, reinstall the CMOS battery making sure to insert it with the correct side up just as it came out.

If you had to remove the graphics card you can now reinstall it, but remember to reconnect your power cables if there were any attached to it as well as your display cable.

Now, plug the power supply cable back in, switch the PSU back on and power up the system. It should display the POST screen and the options to enter CMOS/BIOS setup. Enter the bios setup program and reconfigure the boot settings for either the Windows boot manager or for legacy systems, the drive your OS is installed on if necessary.

Save settings and exit. If the system will POST and boot then you can move forward from there including going back into the bios and configuring any other custom settings you may need to configure such as Memory XMP, A-XMP or D.O.C.P profile settings, custom fan profile settings or other specific settings you may have previously had configured that were wiped out by resetting the CMOS.

In some cases it may be necessary when you go into the BIOS after a reset, to load the Optimal default or Default values and then save settings, to actually get the hardware tables to reset in the boot manager.

It is probably also worth mentioning that for anything that might require an attempt to DO a hard reset in the first place, IF the problem is related to a lack of video signal, it is a GOOD IDEA to try a different type of display as many systems will not work properly for some reason with displayport configurations. It is worth trying HDMI if you are having no display or lack of visual ability to enter the BIOS, or no signal messages.

Trying a different monitor as well, if possible, is also a good idea if there is a lack of display. It happens.
thanks for replying, did what you said but the pc is still stuck
 
thanks for replying, did what you said but the pc is still stuck
But did you really though?

You shut down, powered off, disconnected the PSU cord from the wall, REMOVED all connected drives, then removed the graphics card, then removed the CMOS battery, then pressed the power button on the case for 30 seconds continuously, then plugged the PSU cable back into the wall and powered up, then powered back down, flipped the PSU switch off, reinstalled the CMOS battery, the drive, the graphics card, flipped the PSU switch back on and started the machine? Because if you did that it should be impossible that the BIOS would not be forced back to it's original state.

At least twice a week I get people who say "I did that" and in the end it turns out they DID NOT do what was suggested, and then, once they did, turns out exactly the way it was expected it would in the first place because they had tried doing only part of the recommended process or didn't do the process at all. Now, I'm not saying you didn't, but if you did, I would try it again, exactly as I outlined here. And if that doesn't work, try this.

Power off. Flip the PSU switch to the "0" position on the back of the PSU. Unplug the cable. Remove the CMOS battery. Plug the cable back in. Flip the switch back on. Power up the machine and see if you can access the BIOS with the CMOS battery still removed from the motherboard. If so, turn off Secure boot, shut down. Reinstall the CMOS battery and power back up to see if you can access the BIOS still and double check the secure boot settings. Make sure secure boot is disabled.

For the sake of clarity, when you say "stuck", do you mean it is looping when you try to boot into Windows, or do you mean it won't POST and you cannot access the BIOS? Because "can't POST" and "can't boot" are NOT the same thing and if it will POST you should be able to access the BIOS to change the secure boot setting.
 
Last edited:
But did you really though?

You shut down, powered off, disconnected the PSU cord from the wall, REMOVED all connected drives, then removed the graphics card, then removed the CMOS battery, then pressed the power button on the case for 30 seconds continuously, then plugged the PSU cable back into the wall and powered up, then powered back down, flipped the PSU switch off, reinstalled the CMOS battery, the drive, the graphics card, flipped the PSU switch back on and started the machine? Because if you did that it should be impossible that the BIOS would not be forced back to it's original state.

At least twice a week I get people who say "I did that" and in the end it turns out they DID NOT do what was suggested, and then, once they did, turns out exactly the way it was expected it would in the first place because they had tried doing only part of the recommended process or didn't do the process at all. Now, I'm not saying you didn't, but if you did, I would try it again, exactly as I outlined here. And if that doesn't work, try this.

Power off. Flip the PSU switch to the "0" position on the back of the PSU. Unplug the cable. Remove the CMOS battery. Plug the cable back in. Flip the switch back on. Power up the machine and see if you can access the BIOS with the CMOS battery still removed from the motherboard. If so, turn off Secure boot, shut down. Reinstall the CMOS battery and power back up to see if you can access the BIOS still and double check the secure boot settings. Make sure secure boot is disabled.

For the sake of clarity, when you say "stuck", do you mean it is looping when you try to boot into Windows, or do you mean it won't POST and you cannot access the BIOS? Because "can't POST" and "can't boot" are NOT the same thing and if it will POST you should be able to access the BIOS to change the secure boot setting.
Hey so I fixed it, I had the m.2 off and I shorted thr cmos but also pins 1-6 on the M_BIOS chip, that seems to be what did it for me