Newly built pc wont boot my m.2 samsung drive unless i do boot override

NewbieToPcBuilding

Commendable
Jan 21, 2017
29
0
1,530
I just built my pc i7 6700k gtx 1060 on an asus z170-a mobo it starts up fine then i goto install windows 10 it works fine then it needs to restart but it takes me back to the 5shell screen i go into bios it says windows program m.2 samsung so it did install but it wont boot from the m.2 unless i manually do it from boot menu or boot override and windows 10 is there and works but if i restart through windows 10 it just goes blank and nothing comes up on my monitor but if i power it down then back up it brings me back to shell screen please help i am new to this and really want this to work i spent 13 hours in total to build and trying to fix it yesterday
 

NewbieToPcBuilding

Commendable
Jan 21, 2017
29
0
1,530
Just tried it and it didnt do anything :( everytime i try to restart my pc it doesnt show up on my monitor it just says no device detected then i have to power it down then turn it back on for it to show up