Our standardized testing program uses a locked-down browser, and will kick out a tester, if anything tries to do something in the background. We think that a number of students were kicked out of their tests because they set up Mail.app and got a notification.
Rather than try to play cat and mouse with alert settings, is there a way to completely disable the Notification Center? I tried putting Notification* as a Restricted app, that gets killed, but that seems to have had no effect.
We are currently running 10.12.6, but are going to move to Mojave this summer, so I need a solution for each OS.
Under Mavericks, you could disable the LaunchAgent:
launchctl unload -w /System/Library/LaunchAgents/com.apple.notificationcenterui.plist
but that doesn't work under Sierra, so I bet it doesn't work in Mojave either.
Should I just nuke the agent with:
sudo rm -rf /System/Library/LaunchAgents/com.apple.notificationcenterui.plist
Will I be able to do that in Mojave?
Ideally, I'd like a Configuration Profile that just turns NC completely off, but the closest I have found isa script that turns on Do Not Disturb. There's gotta be a better way, right?
Thanks in advance!