Hi, and thanks for reaching out. My name is Bernard a Windows fan like you. I'll be happy to help you out today.
I understand the issue you have, there is nothing to worry I am here to help, this is usually happening when there is a third-party anti-virus or app that is resetting the PC, if you have third-party anti-virus I suggest uninstalling it first, or if you have apps like a Deep freeze, kindly try to uninstall, if the issue persists, kindly follow the steps below:
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/help/929135...
Method 2. Run Windows Defender Offline scan.
This might be a virus issue as well, kindly run an offline scan to check by following the steps from the link below:
https://support.microsoft.com/en-us/windows/hel...
Let me know how it goes and I hope that helps.
Bernard