Chosen Solution

When i started my pc it was loading windows but then a black screen showed and was loading

When i f8 repeatedly upon booting it showed this and after a few minutes it shut down by itself

@anonymous34 If you can boot into the BIOS/UEFI screen then it sounds like a driver issue - especially for graphics, but could be other. Try booting in Safe Mode: https://www.digitalcitizen.life/4-ways-b… Does it work? If yes then fairly certain it is a driver problem. Go into the Control Panel and remove the Video/Graphics card driver and reboot. Download the latest drive for your GPU and install it.

You may try entering Safe Mode to fix this problem. Or do a system repair with command bootrec.exe in cmd after entering Safe Mode or booting with a Windows installation CD. https://www.minitool.com/partition-disk/