Check your computer's power source and cables, as a loose connection might cause restarts. Make sure your computer is not overheating, as this can force it to restart. Updating Windows and ...
If you are trying to use a recovery disk or install Windows 11/10, and you receive an error message The computer restarted unexpectedly or encountered an unexpected ...
My first thoughts would be to check your power supply and check you temps. Could be a power supply failing or it could be your fans are clogged with dust and you are reaching higher temps.