Hi, I’m Nicole, I’ll be happy to help you out today.
If your computer keeps saying it needs to restart, it means that there may be some issues of your hardware or drivers on your computer. The file system may be corrupted, your computer may be overheating, your computer is attacked by a virus, or the registry files on the System 32 folder is deleted by accident.
Method 1
Do clean boot:
A “clean boot” starts Windows with a minimal set of drivers and startup programs so that you can determine whether a background program is interfering with your game or program.
- In the search box on the taskbar, type msconfig and select System Configuration from the results.
- On the Services tab of System Configuration, select Hide all Microsoft services, and then select Disable all.
- On the Startup tab of System Configuration, select Open Task Manager.
- Under Startup in Task Manager, for each startup item, select the item and then select Disable.
- Close Task Manager.
- On the Startup tab of System Configuration, select OK. When you restart the computer, it's in a clean boot environment.
troubleshooting reference: https://support.microsoft.com/en-us/topic/how-t...
Method 2. Run memory diagnostic tool: The memory diagnostic tool is a RAM test to check if there are any issues with RAM.