Some users have also reported that they get “Your computer turned off message” which frankly does no good in debugging or troubleshooting this issue. if you are also getting bugged with this problem, then this guide will make you ware of a few nifty workarounds that shall help you fix the Mac shutdown issue when trying to log in. So without further ado, let’s check them out.
Fix Mac shutdown when trying to login
It is recommended that you try out each of the below-mentioned workarounds and then see which one spells out success for you. So with that in mind, let’s get started.
FIX 1: Boot to Safe Mode
First and foremost, you should boot your Mac to Safe Mode and then test out the results. If the underlying issue gets resolved, then the culprit is a third-party app that you need to uninstall from your Mac at the earliest.
FIX 2: Reset NVRAM
Both M1/M2 and Intel-based Macs come with NVRAM [Non-Volatile Random Access Memory) which holds information about the configuration of your Mac. They store information related to your desktop settings, mouse, keyboard, time zone, and display resolution, among others. So if this stored data gets corrupted, then its associated hardware or software component might not be able to perform as expected. Therefore, you will have to reset the NVRAM, using the instructions given below:
FIX 3: Use First Aid via Recovery
The issue could also arise due to a bad sector on the disk or the presence of any corrupt data. So you should make use of Disk Utility’s First Aid to squash all the disk-related bugs and then check out the results. Hre’s how it could be done:
FIX 4: Switch from dGPU to iGPU
You could also try disabling dGPU and making a switch over to iGPU to rectify this issue. The success rate of this fix is usually higher if you are using an old MacBook. On the flip side though, it comes with a drawback as well- you wouldn’t be able to use the external display outputs since they are directly routed to the dGPU. So if that’s well and good, then let’s get started with the steps:
FIX 5: Reinstall macOS without Data Wipe
if none of the aforementioned methods spelled out success, then your last curse of action should be to reinstall macOS without resetting your Mac. Here’s how it could be done: That’s it. These were the five different methods to fix the Mac shutdown issue when trying to log in. If you have any queries concerning the aforementioned steps, do let us know in the comments. We will get back to you with a solution at the earliest.
Mac does not go to sleep automatically after set time: How to FixCannot Format Drive using Disk Utility in Mac: How to FixmacOS Ventura Long Boot-Up Time: How to FixHow to Enable Safari Debug menu in macOS Monterey