Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a volume mounted. If I switch to another user, this volume gets dismounted. The problem is that I want this volume to be available for every user (but putting it in their login items is not the solution I'm looking for), so: how can this behavior be prevented? (I'm on Mountain Lion)

share|improve this question
Are you mounting the volume manually after logging in? – Graham Miln Aug 2 '12 at 11:43
Yes, that's what I do. – user732274 Aug 2 '12 at 11:53
up vote 1 down vote accepted

You can stop Mac OS X unmounting user disks on log-out. This behaviour is controlled with a default (preference).

In this discussion on the Apple Support Community, Király shares the appropriate command to issue:

defaults write /Library/Preferences/SystemConfiguration/autodiskmount AutomountDisksWithoutUserLogin -bool YES

This command needs to be entered into Applications > Utilities > Aftwards you must restart your Mac for the change to take effect.

Note that the autodiskmount tool has been replaced by automountd; it is possible Mac OS X 10.8 has migrated this default to another file.

You may also find this Super User question useful, Automount external hard drive on Mac.

share|improve this answer
Just a note that I tested the AutomountDisksWithoutUserLogin flag with 10.9.4 and it still works properly. – Dennis Wurster Jul 30 '14 at 13:43

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.