• ×
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
  • ×
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
Guidelines
Are you having HotKey issues? Click here for tips and tricks.
Check out our WINDOWS 11 Support Center info about: OPTIMIZATION, KNOWN ISSUES, FAQs, VIDEOS AND MORE.
HP Recommended

Hi I have a hp laptop and everytime I start my laptop there's  a message pops up saying the computer restarted unexpectedly or encountered  an unexpected error  how to fix

1 REPLY 1
HP Recommended

Hi @Ashadmccloud181,

Welcome to the HP Support Community.
 

Thank you for posting your query. I will be glad to help you.

Thanks for reaching out! The error message, “The computer restarted unexpectedly or encountered an unexpected error “, usually appears during or after a failed Windows installation or update. It prevents the system from booting properly and can loop indefinitely unless fixed.

Here's How to Fix It

1. Use the Shift + F10 Method (Command Prompt Fix)

  1. When the error message appears, press Shift + F10 on your keyboard.
    • This opens Command Prompt.
  2. In the Command Prompt window, type the following and press Enter: regedit
  3. In the Registry Editor, navigate to: HKEY_LOCAL_MACHINE\SYSTEM\Setup\Status\ChildCompletion
  4. On the right side, double-click the entry named setup.exe.
  5. Change the Value data from 1 to 3, then click OK.
  6. Close the Registry Editor and Command Prompt.
  7. Click OK on the error message to restart your computer.

 

If That Doesn’t Work

Option 1: Perform a Startup Repair

  • Boot from a Windows 11 installation USB.
  • Select Repair your computer > Troubleshoot > Startup Repair.
     

Option 2: Reset the PC

  • From the same recovery menu, choose:
    • Troubleshoot > Reset this PC > Keep my files

 

I hope this helps.

 

Take care and have a good day.

 

Please click “Accepted Solution” if you feel my post solved your issue, as it will help others find the solution. Click the “Kudos/Thumbs Up" on the bottom right to say “Thanks” for helping!

 

VikramTheGreat

HP Support

† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the <a href="https://www8.hp.com/us/en/terms-of-use.html" class="udrlinesmall">Terms of Use</a> and <a href="/t5/custom/page/page-id/hp.rulespage" class="udrlinesmall"> Rules of Participation</a>.