Mac keeps going into Do Not Disturb Mode

Notification Center is not Allowing me to Turn Do Not Disturb Off



iMac 27″ 5K, macOS 11.1

Posted on Jan 9, 2021 7:28 AM

Reply
Question marked as Top-ranking reply

Posted on Mar 8, 2021 9:37 AM

TLDR solution! - Uncheck and recheck "When mirroring to TVs and projectors." under Notification Preferences > Do Not Disturb > Turn on Do Not Disturb.


Full story:

This started happening to me today as well. Per the various comments I had the exact same issue - Do Not Disturb was enabled according to the Touch Bar (and notifications not coming through), but Control Center didn't show anything selected. If I clicked the lit-up moon icon on the Touch Bar it went dark for literally a second or two, then lit itself back up again. I rebooted twice to no effect. I tried disabling via terminal and I could watch the Touch Bar DnD icon turn off for a second but then turn itself right back on:


say 'sleep 1' && sleep 1 && defaults -currentHost write ~/Library/Preferences/ByHost/com.apple.notificationcenterui doNotDisturb -boolean false && say 'Disabled' && sleep 1 && killall NotificationCenter && say 'Done'


(The "say" and "sleep" commands are so I could know exactly where I was in the script)


In Notifications preferences, the only thing that was checked was the box to turn on Do Not Disturb "When mirroring to TVs and projectors." I was not mirroring anywhere (and probably haven't for many months), but I unchecked it and Do Not Disturb was disabled! I rechecked the box and Do Not Disturb stayed disabled and now the various Control Center options, e.g. turn Do Not Disturb on for one hour, until tomorrow, etc. now worked and stayed lit when selected. (Per above, until I made this change none of these items ever showed up as selected and clicking them had no impact.)


Couldn't explain root cause other than I think somehow macOS got confused and thought I was mirroring and absolutely could not be convinced otherwise until I cycled that setting. Hope this helps others.

20 replies

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Mac keeps going into Do Not Disturb Mode

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