I had a PC that, when I turned it on, the system turns off just a moment after I power it on.
I replaced the power supply and used a power supply of another PC. Problem solved, but there's another problem.
When I want to restart or power off computer from Windows using this dialog, Windows cannot power off and freeze!
Even in the Windows installation process when Windows setup needs to restart the computer, the system freezes (mouse works but the system does not restart and I restart it using the restart button)
How can I resolve this problem?