Normally, Windows can fix someblue screen of death(BSOD) errors by restarting your machine.
However, your machine may randomly restart without any fault signal.
This is an annoying problem because it can happen at any time.

You might be wondering: Why my PC restarts automatically again and again?
And how to recover files lost after a computer restart?
This post focuses on the improvements of Windows 10 KB5048652 and fixes for the problem of KB5048652 not installing.
![]()
if you hit such a situation, how should you proceed to recover the lost data?
Whats more, it is a read-only tool and wont damage the original data during the file recovery process.
Now download MiniTool Power Data Recovery and install it on your PC.

Open MiniTool Power Data Recovery on your rig.
Under theLogical Drivessection, choose the partition that contains lost data and clickScan.
you’re able to find the missing files by unfolding each folder.

Or, you might go to theTypesection and choose to view files by file punch in.
In addition,SearchandFilterare also helpful for you to quickly find the wanted files.
), pictures (JPEG, JPG, JPE, BMP, etc.

), documents (DOC, DOCX, etc.
), audio, and more.
After clicking the Save button, you gotta choose a storage path to save the required files.

It is recommended not to save files to their original location to avoid overwriting deleted data.
Try them to restore your system.
Listed below are several feasible solutions to the Windows 10 random restart no warning problem.

Just try them one by one.
In most cases, this feature will let your PC restart without showing any issue notification.
Here it’s possible for you to see how to disable this feature.
![]()
Step 1.Open Control Panelusing the Windows search box.
SelectSystemin the Control Panel window.
Click onAdvanced System settingsin the pop-up window.

Under theAdvancedtab, clickSettingsunder theStartup and Recoverysection.
In the new window, uncheckAutomatically restartand clickOK.
After that, if your rig still keeps restarting randomly, try the next method.

Typepower optionsin the Windows search box and choosePower & sleep settingsfrom the best match result.
Then clickChange plan settingsnext toBalanced (recommended).
Hence, it is time for you to reinstall or upgrade your graphics driver.

Right-tap on theWindows logobutton to chooseDevice Manager.
ExpandDisplay adaptersand right-hit the target unit to chooseUninstall devicefrom the right-click menu.
In the Uninstall gadget window, checkDelete the driver software for this deviceand clickUninstall.

Step 4. reboot your PC and Windows will plant the correct driver automatically.
Or you might download and install one from the manufacturers official website.
In addition, you might choose to update the graphics driver.
![]()
In the machine Manager window, just right-poke the target machine to selectUpdate driver.
Then follow the on-screen instructions to complete the necessary actions.
After finishing the reinstallation or update of the graphics driver, the computer randomly restarts issue should be solved.
![]()
Thus, you should test your RAM for errors.
And theWindows Memory Diagnostics toolwill be useful for this purpose.
Here you’ve got the option to see how to get started:
Step 1.

Typemdsched.exein the Windows search box and hitEnter.
Usually, the first option Restart now and check for problems (recommended) is recommended.
Then Windows Memory Diagnostics Tool screen will appear, showing you the check status.
![]()
Once the test is done, Windows will restart automatically.
Then, the test results will be displayed after you log on.
If any errors are detected, you shouldreplace the faulty RAM.
Thus, it is good to check the temperature.
And you could do this by using third-party software oraccessing BIOS.
In this case, it’s crucial that you take the PC to the repair center for further inspection.
Here this post may be helpful:How to Tell If PSU Is Failing?
How to Test PSU?
My PC restarts automatically again and again in Windows 10.
Give them a try.
Bottom Line
Computer randomly restarts in Windows 10/11?
Are files missing after a restart?
Employ the MiniTool Power Data Recovery to recover files lost after a computer restart.
Additionally, utilize the methods above to stop Windows from restarting automatically.