Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
Hi guys,
Same problem as the most of you here, MBP15 Late 2013, High Sierra, shuts down every 2-5 minutes without any reason, no hardware issues. Been in the Apple Store - they found nothing.
After reading this thread and trying different things (only Python script works in my case ) I think I found another way without creating any additional charge on the CPU and though no additional battery loss.

Here's the link where a guy basically disables most of the drivers: usb, thunderbolt etc and after that no shutdowns MacOS.
In my case when something is connected via Thunderbolt (screen, ethernet etc) MBP doesn't shutdown at all.
So I took from the list of the drivers only Thunderbolt related ones (which start with "AppleThunderbolt") and it runs ok !
But obviously I want to be able to connect external displays via Thunderbolt so I started enabling one after another to see if I can find one which causes problems and I think I found it (at least in my case).

So if you disable (move out of /System/Library/Extensions) AppleThunderboltNHI.kext driver then reboot. Everything runs ok, you can connect external screens via Thunderbolt.

The only drawback is that Ethernet via Thunderbolt will not work.


PS : you can't just move kext driver files from /System/Library/Extensions even if you're root. You need to disable "csrutil" (just google it)

It seems to be working for me also. I'll keep testing it. Thank you!!
 
OLEG!
Thank you so much!
You did what Apple Support and two different New York Apple Store Genius Bars couldn't do, you figured this out!

I had the same twisted random shut down problem which rendered my $3000 macbook completely unusable. I disabled AppleThunderboltNHI.kext per your instructions and I"VE GOT MY MAC BACK.

Thanks!!







Hi guys,
Same problem as the most of you here, MBP15 Late 2013, High Sierra, shuts down every 2-5 minutes without any reason, no hardware issues. Been in the Apple Store - they found nothing.
After reading this thread and trying different things (only Python script works in my case ) I think I found another way without creating any additional charge on the CPU and though no additional battery loss.

Here's the link where a guy basically disables most of the drivers: usb, thunderbolt etc and after that no shutdowns MacOS.
In my case when something is connected via Thunderbolt (screen, ethernet etc) MBP doesn't shutdown at all.
So I took from the list of the drivers only Thunderbolt related ones (which start with "AppleThunderbolt") and it runs ok !
But obviously I want to be able to connect external displays via Thunderbolt so I started enabling one after another to see if I can find one which causes problems and I think I found it (at least in my case).

So if you disable (move out of /System/Library/Extensions) AppleThunderboltNHI.kext driver then reboot. Everything runs ok, you can connect external screens via Thunderbolt.

The only drawback is that Ethernet via Thunderbolt will not work.


PS : you can't just move kext driver files from /System/Library/Extensions even if you're root. You need to disable "csrutil" (just google it)
 
OLEG!
Thank you so much!
You did what Apple Support and two different New York Apple Store Genius Bars couldn't do, you figured this out!

I had the same twisted random shut down problem which rendered my $3000 macbook completely unusable. I disabled AppleThunderboltNHI.kext per your instructions and I"VE GOT MY MAC BACK.

Thanks!!

Yeah, it works. But I don't think is a definitive solution, during this week I've had two reboots (one of them was not waking up from sleep and the other one a kernel panic)... at least both of them showed me the error report at startup.
 
I thought it work for me too, but it's not :( Mac still freezing, not as often as before, but it's not a solution for me, so I'm using python script again.
 
Thanks @OlegK0! I can confirm that this solution seems to fix the issue (even though it's still a mystery what actually is the issue).

Full details: I'm running 10.12.6. I turned off the Python script and disabled AppleThunderboltNHI.kext 6 days ago. I have not experienced any shutdown yet.
 
It's been 4 days and I haven't had a shut down yet. FYI When I disabled the thunderbolt ktext file I also upgraded to the newest version of High Sierra.
 
Hi guys,
So if you disable (move out of /System/Library/Extensions) AppleThunderboltNHI.kext driver then reboot. Everything runs ok, you can connect external screens via Thunderbolt.

I copied it somewhere else, but now it's "can’t be modified or deleted because it’s required by macOS."
Any tips?


To others: easy way to reach the folder is open Spotlight Search and paste the path "/System/Library/Extensions" (took me a few minutes to get this after trying other options)
 
I copied it somewhere else, but now it's "can’t be modified or deleted because it’s required by macOS."
Any tips?


To others: easy way to reach the folder is open Spotlight Search and paste the path "/System/Library/Extensions" (took me a few minutes to get this after trying other options)

Did you disable csrutil?
 
Is it not strange that all these people started having problem at the same time?

The theory is that it is related with one of latest upgrades BUT somebody was experiencing the problem back in July: https://apple.stackexchange.com/que...ns-and-shuts-off-after-a-few-minutes-use?rq=1

Is this the symptom of some new stealthy spyware that is spreading?
What if it is something that lives in the firmware for Thunderbolt Ethernet adapters and it does not work with this new driver?
https://news.ycombinator.com/item?id=15326984
 
Last edited:
My MBP15" late 2015 is also running stable for 2 weeks now since i deleted "AppleThunderboltNHI.kext"


I did not test if my thunderbolt eth adapter is still working but since i got a bunch of usb eth adapter this would be a big deal. My external thunderbolt displays still work so far.
 
Hi guys, I have MBP Late 2013, running High Sierra 10.13.2 and if I remove "AppleThunderboltNHI.kext", my thunderbolt is not loaded at all. It's interesting that for some of you, thunderbolt is still working.

But yes, this fix works for my model as well, but for the price of a non-working thunderbolt.
 
Hi guys, I have MBP Late 2013, running High Sierra 10.13.2 and if I remove "AppleThunderboltNHI.kext", my thunderbolt is not loaded at all. It's interesting that for some of you, thunderbolt is still working.

Since removing "AppleThunderboltNHI.kext" my Mac is still running perfectly as far as shutdowns go, but I havent tried Thunderbolt yet so can't testify to that.
 
Any idea why this is happening:

$ sudo /usr/libexec/firmwarecheckers/ethcheck/ethcheck --integrity-check
Could not find any BCM5701Enet devices or device driver is not supported


I haven't removed: AppleThunderboltNHI.kext
 
  • Like
Reactions: Kritex
Hi guys, I have signed up to thank you for helping me. I have a late-2013 MacBook Pro 15" and having the same shut down issues, I have deleted AppleThunderboltNHI.kext and it works a treat now.

I have notified apple via bug reporter so hopefully they look in to it for all of us.
 
Has anyone looked in to the kext file to see if it is a software fault or could it be a hardware fault and when that kext file is trying to work it’s caurseing the shut down?

Has anyone tested reinstalling Yosemite to see if the problem is still present? I have spoke to a few people and every who are not having any problems are on Yosemite. Maybe the kext file from Yosemite can be substituted in sierra and high sierra?
 
Has anyone looked in to the kext file to see if it is a software fault or could it be a hardware fault and when that kext file is trying to work it’s caurseing the shut down?

Has anyone tested reinstalling Yosemite to see if the problem is still present? I have spoke to a few people and every who are not having any problems are on Yosemite. Maybe the kext file from Yosemite can be substituted in sierra and high sierra?


Scrap that, I have just tried a fresh install of Yosemite off external drive and it still happens, soon as the installer has finished and first boot it shuts down.
 
Hi all, I am experiencing all of the same issues with my mid-2014 15in rMBP. Random shutdowns when not connected to my Thunderbolt Cinema Display.

I attempted the fix disabling the AppleThunderboltNHI but my display wouldn't work after. This unfortunately is a tough place to be in as I split my work time between coffee shops and my home office.

Does anyone know the fix here? Thanks so much. I'm desperate.
 
Also mid 2014 15 inch rMBP, having the same issues. Python script lets me use my computer but at a significant battery loss.

I used automator to automatically start the script upon startup and hide it, which helps. Submitted a bug request with apple linking to this forum with other people having the same problem. I think this started when updating to 10.13
 
I posted a note back in April 2017 (see comment #19, quoted at the bottom of this post). The Python script stabilized the system. THANK YOU jerry008 FOR FIGURING THAT ONE OUT!!!

No solution found, but... I found out that running this Python script utilizing only about 14% of CPU is sufficient to prevent shutdowns:
Code:
from time import sleep

while True:
    sleep(0.00002)

Honestly, I have no idea. I feel stupid just for suggesting it, but... If I'm running this... My machine does not shut down anymore.

Since my post in April, I've found a few things.
  1. I tried to get my company's Desktop Support Center to open a case with Apple in August of 2017, at the time I was on Sierra (the most-current release at that time). As High Sierra was just around the corner, I was told they couldn't open a case.

    <editorialize> Evidently 10.12 wasn't sexy enough for Apple anymore by then? </editorialize>

  2. Apple has discontinued hardware support of my model MBP (late 2013 15" retina). Or, perhaps it's just that Desktop Support has allowed the support contract to lapse. Either way, I can't get hardware support from Apple at all, nor hardware replacement unless there's a recall of some kind, even though I'm now running 10.13.

  3. Having said that, there is evidently a recall on the display. If you have one, I'd take it to an Apple Store and see if they'll at least do that much.

  4. There is another... "something," I'll just copy what Desktop Support wrote in the ticket: "So I did some more research and there is a care program (OP1400) for your model machine, one of symptoms is 'Unexpected system restarts'."

  5. There's evidently a test that a certified support team can run - my Desktop Support Center is certified by Apple to at least the same level (perhaps higher given our volume) as an Apple Store. The test can validate if the issue is related to the care program.

  6. In my specific case, my MBP pro passed the test, so I'm not subject to the care program. However, in the process of running the test, they opened the case and found that my heatsink had actually broken off the mount. I'm due for regular technology refresh in a month anyway, so I'm just riding it out at this point until I get my new circa-2017 MBP.

  7. Desktop Support had absolutely no idea why either running the Python script or attached the Thunderbolt-to-wired-Ethernet dongle stabilized the system. At least in the Python case, you would think that the additional load, however minor, would actually cause the system to heat faster and destabilize it more quickly... but whatever, it worked for the past year and I'm getting a new laptop now, so there's not much more I can do to figure things out.

  8. 25% of all MBP at my company are this particular model, I estimate that makes for around 2,000 units. I'm the *only* one exhibiting these symptoms, though my local support technician said that there's some kind of gremlin running around giving off weird artifacts here and there, much more than you would expect (though he didn't have specific numbers).
weylin

I've been working this issue for a while. It happens to me from a fresh restart, without starting any programs, and with shutting down all login items that start at boot. And it still crashes. I have not tried safe mode.

I've wiped and reinstalled, and it still crashes.

I've done Wi-Fi and usb tethering, and it crashes. Interestingly - if I shut off my Wi-Fi and attach wired Ethernet, it's rock-solid.

I've examined my console, there were no crashdump files or shutdown cause.

I agree that this seems like a thermal event, but ive installed a thermal monitoring app that stays on top of all other windows, and all thermal sensors stay below 40c.

I work at a university, the it help center employs certified Apple care specialists... who can't find anything.

Current suspicion is this is an Apple bug in 10.12.4. I have not tried reinstalling with an older version.

10.12.5 beta 3 is out, I have to believe it'll go release soon with a fix for this. "Hope" is all I really have left.

Weylin
 
...

So if you disable (move out of /System/Library/Extensions) AppleThunderboltNHI.kext driver then reboot. Everything runs ok, you can connect external screens via Thunderbolt.

...

PS : you can't just move kext driver files from /System/Library/Extensions even if you're root. You need to disable "csrutil" (just google it)


Upgraded my MacOS to 10.13.3 today and immediatelly had an unexcpected reboot after login, so I checked the /System/Library/Extensions folder and noticed that the AppleThunderboltNHI.kext got restored. deleted it again, rebooted. during the reboot the "install new software" screen showed up again.. after 2 more reboot i was able to login and so far no shutdowns.
 
Mid-2014 15in MBP reporting in with the same "bug"
Never updated my MBP since 10.12.1

It began to shut off randomly the day after I installed LogMeIn....

Hope it helps
 
Upgraded my MacOS to 10.13.3 today and immediatelly had an unexcpected reboot after login, so I checked the /System/Library/Extensions folder and noticed that the AppleThunderboltNHI.kext got restored. deleted it again, rebooted. during the reboot the "install new software" screen showed up again.. after 2 more reboot i was able to login and so far no shutdowns.

Same here. Worked fine after removing AppleThunderboltNHI.kext, but faced shutdowns immediately after upgrading to MacOS 10.13.3. After removing AppleThunderboltNHI.kext, which was installed again with MacOS 10.13.3, everything is running smoothly for the past week ...
 
There are anyone who have this problem, but removing thundherboltnhi didn't help them? For my only python script works, so maybe it's a hardware problem. Apple support told me that I should wait for system update, but I have this problem for a year now...
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.