Please refer to this video to fix your system installation problem, using registry method.
Computer Restarted Unexpectedly 100% FIX
https://www.youtube.com/watch?v=tgpw9OKh6SQ
-------------------------------------------------------------------------------------
If the Answer is helpful, please click "Accept Answer" and upvote it.
Information posted in the given link is hosted by a third party. Microsoft does not guarantee the accuracy and effectiveness of information.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.