Sign up ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

Is there any way to disable the "the disk was not ejected properly" message?

I use a KVM and need to switch between two systems and have a memory stick that is in the KVM. The problem is that it's very annoying to get the message every time I switch from one computer to the other. I know, I can unmount it (and probably should), but I switch all the time, so it's a inconvenience to unmount, and there is nothing sensitive on the memory stick.

share|improve this question
Sorry, I have no answer. However keep in mind, that message is to remind you that data is held in memory and not yet written to the disk. Which is particularly important when you switch often. – DerMike Jan 7 '11 at 14:01
I've done this a long time and I have never lost anything. I'm not saying it won't happen, but I'm willing to take the risk. – Sindre Sorhus Jan 7 '11 at 15:19
Okay, I have to ask: anyone know why we got three near-identical questions within 10 hours—this one, 6090, and 6108 (and yes, the latter two have been closed as dupes). – Dori Jan 8 '11 at 1:38
@Dori It's the time after Christmas, so new Macs or Cameras with SD Cards :) Although I would like to point out that my question specifically was asking about the Write Cache, which is what the warning is usually about (ignoring issue like Symlinks/open system files on the drive) – Michael Stum Jan 8 '11 at 7:08
I hear what you are saying, that you would rather take the chance on losing the memory stick, I just thought I would let you know that it does happen; I found this forum because I didn't eject my memory stick before disconnecting and wasn't able to access the 1.8gb worth of movies that I just took. Luckily Disk Utility was able to fix it, this time. – cate Jan 8 '11 at 14:09

2 Answers 2

up vote 14 down vote accepted

Much better to do this:

sudo launchctl unload -w /System/Library/LaunchDaemons/

Which will just stop the UserNotificationCenter service from running, leaving your system files intact!

beware: as noted in the comments, this will disable all system notifications, including those when programs request access to system services like contacts

share|improve this answer
Will it continue to be unloaded after restarting my Mac? – Sindre Sorhus Apr 23 '11 at 15:39
Unloading a launchctl plist persists across restart, so I believe so. That said, I hardly ever reboot, so haven't tested it yet! – James Apr 23 '11 at 19:15
(I rebooted, and it has persisted fine :) – James Apr 29 '11 at 10:27
That solution has a negative side effect: It will also hide those "xy-application would like access to your contacts" popups. To revert it: sudo launchctl load -w /System/Library/LaunchDaemons/ – user52466 Jul 2 '13 at 1:08
Yeah this is very dangerous. It will most likely stop you from getting notifications from the system. In 2011, notifications were not a big deal but they kind of are today in 2015. – alp Feb 10 at 1:32

Certainly not an elegant answer but, you can disable found in /system/library/coreservices - replace it with another app or file with the same name. It will stop any warnings popping up (including that your drive is full) so watch out for that, but in my experience it does what you are looking for.

I actually did this to my mac a long time ago, and forgot about it until you asked you question. Credit to Macpadawon at for the answer - same place I found my answer a couple of years back.

share|improve this answer
Wow. Nice catch. I certainly wouldn't do this to my own system, but it's nice to know it can be done. I suppose the app could be replaced with an empty file. – Harv Jan 18 '11 at 1:42
I've done it on three different macs with no issues, although most of the time I just unmount things as well. – Ciaocibai Jan 18 '11 at 22:23
At least you did not notice any issues, right? Sorry, couldn't resist. :-) – DerMike Jan 21 '11 at 11:20

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.