Try removing the RAM stick and put it in the other RAM slot, if that doesn't help, find a round, silver battery (CMOS battery) there should be a blue or red tab somwhere near it, you need to pull the tab of the 2 pins, and put it on the pins where it wasn't in the first place, leave it 15 mins and put it back in place. Turn on your pc and it should work.
If this helped you please select this as the best answer, im trying to get my first expert badge, thx.
I tried switching the RAM slot and it suddenly worked fine. Thx Bro!