Your computer will automatically restart ... If you think a corrupted system file is why your PC keeps restarting, there's a quick and easy fix you can do within the Windows Powershell.
and restart the computer. Repeat the steps till you know the exact cause of the issue. Let us know if anything here helped you. TIP: This post will help you if Taskbar & Desktop keeps refreshing ...
Your computer will not restart automatically anymore when you're working on it within the active hours. But, what if you keep your PC switched on at all times, and you don't want it to restart at all?