If anyone else has a Windows 11 computer, and it starts randomly restarting itself, (especially during gameplay or watching videos /processing videos), when you've got a few hours to spare, close all your other programs, open up the command line as administrator, and have it run
Sfc /SCANNOW
And that will check your system for corrupted files.
If it finds them, it will repair them, and after its finished, you can restart your computer and see if playing a game / watching a video / processing a video makes the same random restart crash happen again. If it does happen again at any random point, run the command again, and if it passes, you can try:
Dism /Online /Cleanup-Image /CheckHealth
This will check your Windows installation in particular for corrupted files; once its done running (it can take awhile!) it should give you the option to RestoreHealth-- if it doesn't give that option, you can manually type in
Dism /Online /Cleanup-Image /RestoreHealth
And let that one run. It might get stuck at 62.3% but it's *usually* running in the background; if you can leave it alone for a few hours, it should continue after awhile,
but if it doesn't, you can download an official ISO from Microsoft, mount it, take note of the letter it's assigned, and direct your computer to use the offline files from that mounted ISO instead of relying on the internet connection via
Dism /Online /Cleanup-Image /CheckHealth /Source:*:\Sourcez\Install.wim /LimitAccess
*= whatever letter the mounted ISO is assigned by your computer
Let that run, and it should be much, much faster than the computer struggling to use the, probably corrupted Windows Updater thing, which is what kept happening with my computer.
I have all of my automatic updates turned off, and yet without fail, Windows 11 will download a security update without telling me, and without fail, it will not download properly, which will cause random corrupted files somewhere that means my computer will randomly, seamlessly reboot if I try to play a game, watch a video on YouTube, or even just let it sit, doing nothing, for five minutes 🙄
I'm working on testing out LinuxMint, but need a better hardrive I can have persistence on to do a dual boot option and properly play around with it.















