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.

HP LaserJet Printer stopped working on my MacBook, after latest macOS Sonoma update.

After a few attempts, I reset the print system and now I get this:


"an error occurred while trying to add the selected device bad file descriptor"


The printer works fine from another macbookpro running 14.3.1


[Re-Titled By Moderator]

MacBook Pro (2017 – 2020)

Posted on Mar 10, 2024 7:15 AM

Reply
Question marked as Top-ranking reply

Posted on Mar 14, 2024 10:04 AM

I wanted to share experience with Sonoma 14.4 after update completed. This was duplicated on two (2) Macbook Pro after it was updated. Observation noted that Defender “com.microsoft.dlp” full disk access was disabled on 14.3 and after upgrading to 14.4. Process of elimination leads me to believe that Windows Defender made a change that now requires MacOS full disk access. See below:


  • All printers are deleted from <Printers & Scanners> settings after 14.4 upgrade. The following message is displayed when trying to manually add printers:


Screen Example


  • CUPS (i.e. LOCALHOST:631) access is also affected not allowing users to any changes from the main menus.


  • The issue was resolved by clicking on the <Apple> logo followed by <Privacy & Security> <Full Disk Access> and give "com.microsoft.dlp" full disk access. 


Screen Example



36 replies

Mar 11, 2024 9:29 AM in response to faoasy

Because you mentioned jamf, this might be related to an issue mentioned elsewhere when cups reports a bad file descriptor.


Are there any crash logs for Microsoft's dlpdaemon? Or sandbox errors about restricted access for the dlpdaemon process?


Error 0x0 0 0 kernel: (Sandbox) System Policy: dlpdaemon(8192) deny(1) system-privilege


If so, one workaround, until Microsoft addresses the crash, is to grant DLP (dlpdaemon) full disk access in Privacy & Security. cupsd may need to be restarted also…


Another guess, this was probably a security change by Apple that Microsoft has not had time to address.


Hope this helps.

Mar 12, 2024 5:06 AM in response to heinrich98

heinrich98 wrote:

The printer problem is not an HP or Canon Problem nor a problem of managed or unmanaged macs, It is a Sonoma 14.4 problem and i hope they will fix it with a new update.


It's not a general problem. Otherwise this problem would be big in the media and the forums full of it.

Of course it's a Sonoma 14.4 problem, but it only affects specific installations. Finding out patterns (e.g., does it depend on managed/unmanaged etc.) might help finding a workaround. Or maybe even some Apple developer might read this and get helpful info.

Mar 12, 2024 10:34 AM in response to azaksorder270

I uninstalled MS Defender from all Macs in our company with macOS 14.4 - and now the printers are back again.
Hope this helps you too.


I just moved MS Defender to the Download folder, rebooted, and didn't have the problem anymore. Now I moved it back to /Applications and still everything is working. Maybe there was already an over-the-air update of Defender today? Strange...

Mar 13, 2024 5:02 PM in response to krachnuss

I solved the problem. My Mac got a wrong automatic ip, router ip and subnet after the Update, but was still able to go to the internet. But the printer was not reachable anymore. The wlan configuration didnt change and when i connect it with my iphone as my mac ,i get the right ip and subnet automatically. So i changed the ip, subnet and the router ip manually on the mac and everything works.

May 6, 2024 1:51 PM in response to cygoonda

My MacBook Pro (and my wife's), Sonoma 14.4.1 lost all connection to all the printers available to me, not just the HP printer. I'm not running MSFT defender, nor is my CUPS daemon corrupted or missing. I just can't print anymore.


I tried resetting the printing system, all I got was that I had to re-setup my HP printer... which doesn't ever complete. So I now have two laptops (one Intel, the other Apple silicon) that neither one can print.


We are stuck generating PDF's and sending them to our iPhones or iPads to AirPrint. I used to be the other way around, I couldn't print from my phone but the laptop was golden.


I've been using Apple products since I had a Macintosh IIsi. This is the first time where I have seen a problem that Apple seems to not even acknowledge exists. I've had some pretty esoteric issues over the years, and somehow Apple seems to fix even the weird ones. I've been trying to search for a solution and haven't seen anything.


If anyone has had better luck than me, please let me know. I can be an idiot at times, but this one has me stumped.

HP LaserJet Printer stopped working on my MacBook, after latest macOS Sonoma update.

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