Outlander_04 :
Have you reinstalled the BIOS as I initially suggested?
Its not that hard to do and all your symptoms point to a corrupted first BIOS . The pc works when the second BIOS chip kicks in .
That motherboard does not list a dual/selectable/backup UEFI (
EDIT> at least not in an integrated and or second physical chip way<EDIT) . I'm not a 100% on any features not listed but that's a fairly notable spec that should be visible on the board or somewhere in the specs.
http://us.msi.com/product/motherboard/Z77AG45.html#hero-specification
This leads me back to boot failure guard or some other quark.
darkpower212, I suggested reinstalling the OS on the extremely unlikely chance (since it
was working) that your UEFI decided it didn't want to play with some deep rooted background software/firmware/hardware after a change or update. Possibly something to do with secure boot (maybe I don't know at this point). The only other thing I can think of is that the motherboard and or UEFI IC itself may be failing. In which case, unless you plan to get the exact same motherboard (will more than likely not matter if it's the same) you may have an even greater headache trying to get it to work.
You don't have to try to resurrect your current OS disk though just yet. Assuming that once in the system it works right and you have successfully flashed the most current UEFI. You can try a mock re-do if you want to thoroughly check it.
If possible acquire all UEFI version for you motherboard in an upgrade ready state (refer to MSI for this). A regular blank SATA HDD (either one you are able to do a simple volume format when you can get into the OS or a spare). Also an installation disk or other media of WIN7 or higher (the product key will not matter for this).
The following are i'm sure things you know and have ready done but...
With a known good CMOS bat (which you now have) and the system shutdown (remember antistatic tactics).
1*Switch off the PSU and/or unplug the power cable
2*Allow it to sit a good two minutes
3*Disconnect all cables/wires except for the ATX power, CPU power and system panel header (literally everything else, no USB anything, no PS2 anything, no Ethernet anything, no video cable
nothing)
4*Remove
ALL hardware and peripherals except for the CPU/Cooler
5*Press and hold the CLR CMOS button for about 10 seconds
6*Remove the bat then put in back in.
7*Reconnect the monitor cable (nothing else yet) and make sure it is in auto detect mode and or set to the type of input you will be connecting to the MB
8*Plug the power cord back into the PSU and/or flip the switch on and wait about 15 seconds
9*Turn the computer on via the power button (like normal)
You should (quickly) get some sort of message alluding to a ram issue (which you would expect), If so...
10*Hold down power button untill it shuts off.
11*Turn the power switch off on the PSU (let sit for 10~20secs)
12* Put a single stick of ram in and refer to *8 and *9
If not...
Try resetting connectors and try again. If it continues to do nothing first try regardless of video over and over you got a MB problem.
---------------------------------------------------------------------------------------------------------------
You should (quickly) get some sort of message alluding to no bootable media or the like (but nothing about ram), If so..
Refer to *10 and *11
Plug in a keyboard and keyboard only (preferably a PS2 style). Refer to *8 and *9 while pressing F2 (or stated key buy MSI to enter UEFI)
If not...
Systematically try the same single stick in any other slot one buy one until all slots are checked. If still nothing try the same thing with a second stick. If still nothing try both sticks at once in ether the two black slots or the two blue slots or vise/versa. If still nothing you have a RAM and or DIMM slot/interface problem.
---------------------------------------------------------------------------------------------------------------
You should (quickly) enter the UEFI, If so...
Refer to *10 and *11
Connect up a plain old regular formated and blank HDD, be sure to use SATA port "SATA_0"
If not...
you have a UEFI problem (current suspected problem). At this point attempt to install a different UEFI starting from the initial release and moving up at failed attempts if any (Refer to MSI on how to upgrade/install/flash UEFI). If no options allow you to successfully enter UEFI or UEFI update consistently you have a UEFI chip and or associated controller/hardware problem.
---------------------------------------------------------------------------------------------------------------
Refer to *8 and *9 while pressing F2 (or stated key buy MSI to enter UEFI)
Make sure the HDD is seen within the UEFI
*13 press reset button
If not...
press reset button again and enter UEFI again to check if it sees it now (may need to do it multiple times). If still nothing try a different SATA cable. If still nothing try a different HDD that does not contained an OS. If still nothing try a different SATA port/s, if still nothing check UEFI settings and try again. If still nothing you have SATA controller problem and or UEFI persistent problem. Try upgrading the next UEFI version as stated in the previous section and try again. If still nothing you have a MB problem.
---------------------------------------------------------------------------------------------------------------
You should (quickly) get some sort of message alluding to cannot boot from device please insert installation disk or the like, If so..
Refer to *10 and *11
A: Connect up your optical drive and use any other SATA_X port, Refer to *8 and *9, then open the optical drive and insert the installation disk and refer to *13.
B: insert media containing and installation ISO then refer to *8 and 9*
At this point you should get the good old windows is copying files or the like. Attempt to install the selected OS just like you are doing a fresh build and let it go all the way thought. If the installation was successful, the system seems to be stable and you can reliably enter UEFI and change the settings it should be good to go. On a seemingly working system, connect to the internet and be sure to put MS security essentials on it for some minimum protection. Get all the updates (may take a long time and many restarts to complete) and attempt to reinstall various hardware/software where possible and see if you can bring your system back up to a "clean working state".
If you can essentially bring your computer back to where it was, then you may need to thoroughly investigate reset and or reinstall options as before mentioned for the original OS disk.
If not...
You potentially have a user end unidentifiable problem that will require the systematic replacement of what cannot be confirmed to work properly (such as the motherboard and subsequently a re install of the OS).
---------------------------------------------------------------------------------------------------------------
I "think" I got all of that in the right order but i've done this so many times over the years it's hard to actually list it out in a logical order. Good luck.