I just finished building my PC and I have an issue where everytime I login to windows I can stay on the desktop and browse for sometimes a minute or sometimes seconds but it eventually crashes/restarts. No blue screen or anything, but when it does crash the fans in the PC speed up and the monitor doesn't register anything and my peripherals lights are off. I tried updating the BIOS but it didn't fix anything and I cant even download drivers without this issue happening. The only time the PC doesnt crash is when its in safe mode.
Specs:
Ryzen 5 3600XT
Gigabyte Aorus B550 PRO AC
RTX 2060 Twin Frozr
Corsair CX500
Kingston 240gb SSD
Corsair Vengeance LPX 16GB DDR4
Running 64bit Windows 10
what could be causing this issue?