Why is Windows 10 restarting on its own?
If you’re having random restarts, this can be caused by your antivirus software. Users have reported that Kaspersky antivirus is sometimes the cause for a random restart on Windows 10, so if you’re using Kaspersky antivirus, you might want to temporarily uninstall it or upgrade it to a newer version.