Question After logging on PC shuts down soon after

Jul 14, 2019
7
0
10
Hi all,
I have just finished building my new PC. When installing windows 10 the PC would randomly restart. I eventually managed to get a clean install and now have windows installed. When I log on it works for about 30 seconds then the screen turns blank and the lights on the pc stay on. I then have to power off the pc using the on off switch to restart. Any help is much appreciated,
Thanks
 
Jul 14, 2019
7
0
10
GTX 960
Ryzen 2600 (Stock AMD Cooler)
MSI B450 Tomahawk
2x8 GB Kingston Fury RAM 2400mhz
500w PSU (don’t know model)
Kingston 240gb SSD
WD 2tb Hard Drive
2x WD 1tb hard drive
 
Jul 14, 2019
7
0
10
You'll need to look at your PSU and identify it. You're having a power off problem and the specifics of the power supply is one of the most important bits of information for a lot of PC problems.
Okay will do
It’s an old psu about 5 years from and old build
Do you think I should replace it anyway as my first port of call