Want to highlight a helpful answer? Upvote!

Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

How do I delete AppleThunderboltNHI.kext?

I know for a fact that the file located in /System/Library/Extensions, named AppleThunderboltNHI.kext is causing my MacbookPro (Retina mid-14) to turn off suddenly.


I've managed to delete these file a few times already, in past time, but everytime the system updates, the file comes back.


But now, I can't delete it.

I've tried a lot of things and I've done a lot of research.

In Terminal, I can locate the file, but I cant't delete it, even with SIP disabled and SUDO.

Cant delete with rm -rf as well.

I always get a terminal response that the file is a read-only file. The owner of the file is root

I cant use chown to change the owner (even with sudo)

And can't use chmod 755 as well.


I'm really looking for a answer here, because the life of my macbook depends on me deleting the AppleThunderboltNHI.kext file.

And this is messing up with my work routine.


Thanks in advance for any good soul who might be able to help me and the community.

Best,

MacBook Pro 15″, macOS 10.15

Posted on Jul 17, 2020 9:48 AM

Reply
Question marked as Best reply

Posted on Jul 17, 2020 10:36 AM

The Fix:

Disable system protection

  1. Reboot with CMD+R pressed
  2. Open Terminal

Type: csrutil disable

Enter single user mode

  1. Reboot from recovery mode with CMD+S pressed

Re-mount disk as writable

Type: fsck -y

mount -uw /

cd /System/Library/Extensions

rm -rf AppleThunderboltNHI.kext

sudo rm -rf /System/Library/Caches/*

shutdown -r now

The kext should now be removed. Be sure to enable system protection again in recovery mode with csrutil enable


Credits to u/BophedesNuts, posted on Reddit 8 months ago

Similar questions

1 reply
Question marked as Best reply

Jul 17, 2020 10:36 AM in response to Feliperini

The Fix:

Disable system protection

  1. Reboot with CMD+R pressed
  2. Open Terminal

Type: csrutil disable

Enter single user mode

  1. Reboot from recovery mode with CMD+S pressed

Re-mount disk as writable

Type: fsck -y

mount -uw /

cd /System/Library/Extensions

rm -rf AppleThunderboltNHI.kext

sudo rm -rf /System/Library/Caches/*

shutdown -r now

The kext should now be removed. Be sure to enable system protection again in recovery mode with csrutil enable


Credits to u/BophedesNuts, posted on Reddit 8 months ago

How do I delete AppleThunderboltNHI.kext?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.