You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

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

How to erase KEXT packages?

Trying to erase the following KEXT packages, all in the same folder: /Library/StagedExtensions/Library/Extensions/

  • RtWlanDisk.kext
  • RtWlanU.kext
  • RtWlanU1827.kext


OS: Mac OSX Catalina (10.15.7)


In Terminal:

  • Changed directory: cd /Library/StagedExtensions/Library/Extensions


  • Command sudo kextunload [name.kext] returned

(kernel) Kext com.realtek.driver.[name] not found for unload request. Failed to unload com.realtek.driver.[name] - (libkern/kext) not found


  • Command sudo rm -rf [name.kext] returned

rm: [name.kext]/Contents/_CodeSignature/CodeResources: Operation not permitted

rm: [name.kext]/Contents/_CodeSignature: Operation not permitted

rm: [name.kext]/.kext/Contents/MacOS/RtWlanDisk: Operation not permitted

rm: [name.kext]/.kext/Contents/MacOS: Operation not permitted

rm: [name.kext]/.kext/Contents/Info.plist: Operation not permitted

rm: [name.kext]/.kext/Contents: Operation not permitted

rm: RtWlanDisk.kext: Operation not permitted


Help much appreciated. Thanks.

MacBook Air 13″, macOS 10.15

Posted on May 7, 2022 8:38 PM

Reply

Similar questions

2 replies

May 8, 2022 4:55 AM in response to UserWithQs

If the are extensions reported by Etrecheck, they may not always be present.

You may be able to boot the machine in safe mode and see if you can delete them with the Finder. Safe mode is shift key held at startup.


Keep in mind, these extensions may be integral part of the system itself, and if you delete those they could lead to kernel panics. Generally speaking you don't want to touch them unless you know they are third party and no longer necessary.

How to erase KEXT packages?

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