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 know how to have the connection established at login, but I don't know if it's possible that the Finder doesn't open a window of the server root...

I've tried the "Hide" checkbox, but this doesn't help. (I'm on Snow Leopard)

share|improve this question
Can you define 'connect automatically'? Are you talking about establishing a connection purely for authentication reasons? What's wrong with a window popping up? How is it currently set up? – Harv Apr 16 '11 at 3:26
Yes, that's it, an automated mounting of different servers. What is annoying is that there are a bunch of servers that I needed the users to be connected; that makes a lot of windows opened at login... – Rabskatran Apr 16 '11 at 6:14
I think you can use the mount command in terminal to mount a remote share, without having it open up in the Finder. – Harv Apr 18 '11 at 2:00
It's not really for me, but for all the users of my company... – Rabskatran Apr 18 '11 at 7:42
I'm not making the connection. What does it matter who it's for? – Harv Apr 18 '11 at 7:46

Instead of whatever method you are doing now to mount the server, I would recommend a script which is launched at login for all users.

Your best options are either a LoginHook or a launchd process installed to /Library/LaunchAgents/

You will then need to figure out the syntax for the mounting the drive.


I decided I wanted to check this out further myself, and created this launchd script:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "">
<plist version="1.0">

which I placed at /Library/LaunchAgents/luoma.mount.blackbook.plist (owned by root)

The script can be found at (note: script will display in browser window, to download, use click-click/save-as)

share|improve this answer

In OS X Server, you can specify a share as an 'automount'. Is that what you had in mind?

Then, when your users authenticate against your Open Directory server, they not only see their desktop, but are automatically connected to a server sharepoint.

share|improve this answer

You could mount them with a simple Automator app that's added to the login items. You would just add a "Get Specified Servers" action, add the servers to it, then add a Connect to Servers action. It will mount all the specified servers without opening their windows.

When you add your servers, be sure to include the name of the share point you want to mount, something like afp://, otherwise, you'll get the "select the volumes you want to mount" dialog.

share|improve this answer

Another option (one which I haven't tried) is to disable Finder opening a new window whenever a new volume is mounted.

I believe the proper syntax is:

defaults write auto-open-ro-root -bool false

defaults write auto-open-rw-root -bool false

Of course this will change the behavior for more than just these particular items.

share|improve this answer

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.