Fast guessing:
Power Suppy, it's also one of the cheaper parts.
Maybe the Windows Tool "Event Viewer" gives a hint (but unlikely). Check Computer Time roughly in sync with your clock. Note time of next shutdown. Thereafter, open Event Viewer and search if a hardware component is suspicious.