Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 an external drive plugged in to my MacPro via eSATA. At the moment, the disk only mounts if I log in. Since I am using the computer remotely, this is annoying since I have to open up VNC, log in, and log back out. Is there a way to have external drives automatically mount without user log in?

share|improve this question
up vote 6 down vote accepted

I found a preference that might do the trick:

sudo defaults write /Library/Preferences/SystemConfiguration/autodiskmount AutomountDisksWithoutUserLogin true

In a variation using a boolean value (which should be more accurate):

sudo defaults write /Library/Preferences/SystemConfiguration/autodiskmount AutomountDisksWithoutUserLogin -bool true

You can do the same through Property List editor (if you have it installed):

sudo touch /Library/Preferences/SystemConfiguration/autodiskmount.plist
sudo open !$

… and set it manually as a boolean:

enter image description here

However, and I'm sorry for that, it appears to be older, and I can't try it out, so let me know if it works.

share|improve this answer
After searching around on a solution to fix my wallpaper being reset on each reboot in OS X Mavericks, I only found AppleScript workarounds. Enabling this preference did the trick since it was missing in the SystemConfiguration folder and my wallpapers are indeed stored in an external HD. Thanks slhck. – user194149 Nov 9 '14 at 16:48

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.