PC randomly looses power during use or while idle

Aug 7, 2018
2
0
10
Hello everybody.
I have a problem with my desktop PC, it randomly loses power and restarts after 3-4 seconds without me doing anything. The problem seems to occurre completely randomly I can't find any pattern, it can happen while the pc is under heavy load but it also happens while it's being idle as well.
My specs are
i7-7700 MSI
GTX 1050ti
Corsair cx750m
2x8 ddr4 corsair ram
an MSI motherboard can't remember the model.
I've already tried to:
1)Disassemble and reassemble all the parts
2)change power cable
3) use different wall plug
4) reinstalling windows
5) couldn't run memtest because the power losses are very frequent lately and I can't manage to complete tests.
Edit: For the first 9 months I didn't have a problem with this PC so the voltage should be fine... I brought it to pc assistance but after 1 week they told me that this problem didn't come up a single time... I brought the pc back to them again this morning
 
Aug 7, 2018
2
0
10
For the first 9 months I didn't have a problem with this PC so the voltage should be fine... I brought it to pc assistance but after 1 week they told me that this problem didn't come up a single time... I brought the pc back to them again this morning