Summary

  • Microsoft released KB5077797 to fix a Windows 11 shutdown/hibernation bug causing unexpected restarts.
  • Patch also fixes Remote Desktop credential acceptance failures.
  • Get KB5077797 from Microsoft Update Catalog (choose x64 or Arm64) if Windows Update hasn't delivered it.

Windows 11 has had some weird issues in the past few months. We saw a lot of core services with issues, and an odd bug that caused Windows 11's dark mode to occasionally hit people with a flash of white light. Now, we're seeing another strange problem; sometimes, a Windows 11 machine will just outright refuse to shut down. If you try to turn it off, it'll instead restart itself.

Fortunately, if you noticed that your Windows 11 machine has had a severe case of insomnia, Microsoft has published a fix for it. Hopefully, once you get the update installed on your system, you should regain the ability to shut it down again.

Microsoft publishes a fix for Windows 11's strange shutdown bug

The KB5077797 update should put things back to normal

As spotted by PC Mag, Microsoft has pushed out the out-of-band update KB5077797. An 'out-of-band' update is a patch Microsoft releases to Windows whenever something goes wrong with the operating system, and the company needs to push out a fix outside of the standard schedule.

Update KB5077797 has been pushed out early to help fix two pretty critical issues with Windows. The first is to do with Remote Desktop connections, where people found that their sign-in credentials weren't being accepted, regardless of whether they were correct or not. The second one focuses on Windows 11's Power & Battery service, which can cause devices with Secure Launch to refuse to shut down or go into hibernation. If you tried to do either action, the PC would simply reboot.

If you want to grab this update, it doesn't seem like Microsoft has gotten it up on Windows Update just yet. As such, your best bet will be to head over to the Microsoft Update Catalog for version KB5077797, download it from there, and run it. Be sure to pick the correct update file for your device; you'll have a choice between an X64 and an Arm64 one.

Getting the feeling that Windows 11 has been going through a rough patch lately? You're not alone. It feels like the operating system has been going through some real trials and tribulations as of late, to the point where one of our editors believes that Microsoft can't fix Windows 11 because it won't stop breaking it.