Have checked each and every possibility and finally found the problem with Graphic Card.
Check for Windows update
Microsoft regularly releases windows updates with security improvement and various bug fixes.
And installing the latest windows updates fix the previous problems as well.
To uninstall the graphics driver:
Now download the latest Graphics driver setup from the manufacturers website.
power cycle your PC, this should Fix the Computer restarts randomly on Windows 10 issue.
hey turn off your rig and unplug it from the power source.
Also, clear your RAM as well.
After the initial BIOS screen, the scan should commence.
Wait for the procedure to end and reboot your PC.
Read how to checkmemory diagnose test resultson windows 10.
Or performSystem restorethat revert back system to a previous working state and help fix the problem.