pareshdeb :
Hello,
"on what problem when a pc is running some minute then auto turn off but mouse and key-board is running"
Do you see anything on the Monitor ?
If not, could be a failure of the Monitor itself, or graphics card/controller.
Also, Computer may be over heating & shuts down.
And so on, and so on..........