How to Fix ‘You Shut Down Your Computer Because of a Problem’
I recently sent in my MacBook Pro for a battery replacement, and when I got it back, it kept showing the message “You shut down your computer because of a problem” whenever I would restart it. After doing some research, I could see that many users have had this problem with their Macs running Monterey, but users have complained about the issue as early as 2012. The good news is that there is a way to disable this error message; this article will explain the steps you need in order to get rid of this pesky warning.
This message seems very similar to the “Your Computer was Restarted Because of a Problem” message, but strangely, the message tells you that you shut your computer down because of a problem. For most users seeing this message, they were just shutting down like usual.
Some users who have had this problem have said that the message simply stopped appearing at some point. Others have tried many different things to get rid of the message; they have tried restarting, updating software, restarting in Safe Mode, resetting the PRAM/NVRAM, doing disk checks in Disk Utility and even reinstalling macOS. Fortunately, the fix that worked for me and many others does not require so much work.
Fix the ‘You shut down your computer…’ warning message
In order to get rid of this message, we will delete a log file using Finder.
- Open Finder on your Mac. Use Command-Space Bar to open Spotlight, then type Finder.
- From the menu bar at the top, click on Go, then select Go to Folder.
- Type “/Library” and hit Return.
- Find and double-click on the Logs folder to open it.
- Double-click on DiagnosticReports.
- Go to the search (magnifying glass, top-right corner of the window) and type “sleep”.
- From the results, look for a recent file named Sleep Wake Failure…
- Right-click (Control-click) on the file, then select Move to Trash.
- Shutdown your Mac (Apple menu > Shutdown).
- Wait 30 seconds, then press the power button to turn on your Mac. The message should not appear anymore when you log in.
If the above steps did not fix the problem, you might want to contact Apple Support for more help.
Perfect! Thank you… 10/10
I am SO GRATEFUL for your help! Thank you! This fixed the issue … PHEW! Need this for home and school … many, many thanks!
This solved the “shut down” problem quickly and decisively! On top of that, it unexpectedly solved a problem I had been troubleshooting for past couple of weeks where my secondary iMac (used as an extended display in “target display” mode) would get cut off from my primary iMac when being used as an extended display monitor. This resulted in having to re-log into the secondary iMac and re-activate target display mode after waking the primary iMac from screen saver or sleep modes. After implementing this fix, both iMacs now wake up simultaneously while maintaining the target display connection. Thank you!
A million thanks for your luminously clear explanation of how to get rid of that annoying message.
Thank you. Perfect
Thank you very much. It worked
Re; How to Fix ‘You Shut Down Your Computer Because of a Problem’
Thank you so much! Your solution and instructions are perfect and the problem is fixed for me. It was very irritating getting the error message on every start up. I have had my MacBook for about two years, (the first I have owned), and I have not seen this error message before. I am wondering if it is triggered by a combination of battery drain and sleep mode? I only occasionally restart the MacBook . I usually shut the lid until I need it again. I think I may have done this when the battery was very low and wonder if this could have caused the problem? The next time I opened the lid the battery low ikon appeared in the centre of the screen. After plugging in the adapter and hearing the confirmation sound I was expecting the MacBook to come to life. It didn’t so I assumed it needed more power to operate and waited a bit. Still nothing happened. After reading various forums I found I had to turn on the MacBook using the power button, something I have never needed to do as usually just opening the lid turns it on. (I did take the opportunity to clean the keyboard and screen as this is the first time the MacBook appears to have been completely off! I once almost locked myself out by cleaning the keyboard and getting a message warning about incorrect password entry). Thank you again! FH
Thanks Stacey 🙂
Just ‘upgraded’ my MacMini from Monterey 12.6 to 12.6.1 (including the Safari security fix)
Nag message was possibly a result of the auto restart dance the upgrade message does?
Curiously the Sleep Wake Failure file reports “OS Version: ??? ??? (Build ???)”
Apple just does what Apple just does…
Worked like magic ! so grateful for this article! 🙌🏻 Manny thanks 🏼
It worked perfectly for me. Thank you for the help.
I have this problem when I take my iMac to replace the monitor at Apple Shop. Now this message does not disturb me again after following your step. Thank you.
iMac Retina 4K, 21.5-inch, 2019
Many thanks. Worked for me 🙂
thank you it worked…
Hi,I followed the procedure but did not find the file “ sleep wake failure”
Thanks in advance.
iMac iMac (21.5-inch, 2017)
Monterey 12.5.1 Version updated August 2022
Worked a treat..
Thank you very much, Dr. Stacy. This was helpful for me. I’m running masOS Monterey Version 12.4 and this error occurred only after my most recent update. Following these steps has resolved the problem.
Wow, after spending a couple of hours on trying all sort of fixes, I tried one last google search in english (not my first language) and found this advise. And this worked!!!
Thanks for the VERY helpful tip on getting rid of the “You shut down your computer because of a problem” error message issue. It worked for me.
I thought I lost my MAC! Thank you for writing this article. Thank you!!