Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

leftheaded

macrumors member
Original poster
May 10, 2010
43
0
How can I stop the finder windows from opening at startup for all my mapped drives? I've got a few shares set to mount at restart, but that doesn't mean I want the finder window too. Just connect in the background possible?
 
Anyone?

I would also like to know how to prevent this.
It doesn't matter if you select/de-select hide in your account start objects, the mounted drives keeps opening each time i start my computers at home and at work.
It becomes annoying to close each window on each computer every day.

Anyone :confused:
 
Found a solution

I found a solution that i thought someone would like to know :)

1. Get info on the volume you like to have mounted and copy the address.
In my case: (afp://Server._afpovertcp._tcp.local/Drobo)

2. Open AppleScript Editor (found in /Applications/Utilities) and paste this
Code:
tell application "Finder"
	mount volume "afp://Server._afpovertcp._tcp.local/Drobo" as user name "your login name here"
end tell
Change to your address of course, and your login name.

3. Save that as a program

4. Open System Preferences->Users and Groups
Select your account and the Start Object tab, and then drag your AppleScript program into the list.

Now i get my Drobo mounted without any Finder window popping up.
This will come in handy at work were i have 5 different mounts which earlier each opened a separate Finder windows i had to close.

I wish this would have been easier done in the Start Objects with a simple check box like "open mounted volumes" or something.

Cheers :)
 

Attachments

  • mount.jpg
    mount.jpg
    71.3 KB · Views: 1,263
Update

So my previous solution didn't work as expected at work on 10.6.8
I still got pop up Finder windows for each mounted volume.

But this script works better :)
It mounts the volumes silently, no Finder windows to close.

In below case "John" is the user name and "doe" is the password.
Code:
mount volume "smb://John:doe@Server_One/Company"
mount volume "afp://John:doe@DiskStation._afpovertcp._tcp.local/Main"
mount volume "afp://John:doe@DiskStation._afpovertcp._tcp.local/home"
mount volume "smb://John:doe@Lacie_Station/media"

Cheers :)
 
Hello, I tried this, it did work to an extent....

I coped the command, and it did run when I pressed the 'run' button....

but...

everytime I turned on the mac, the script editor would now pop up on every startup ? and I have to manually press 'run' for the command to work,

many thanks,

stuart
 
If you want to stop the Finder opening a new window for a network drive, use this Terminal command:

Code:
defaults write com.apple.finder OpenWindowForNewRemovableDisk -bool false
 
If you want to stop the Finder opening a new window for a network drive, use this Terminal command:

Code:
defaults write com.apple.finder OpenWindowForNewRemovableDisk -bool false

This doesn't appear to work for me under Mavericks for some reason. The finder window still opens when I log in and my Synology share is mounted.
 
This doesn't appear to work for me under Mavericks for some reason. The finder window still opens when I log in and my Synology share is mounted.

Just as a data point, it did work for me on Yosemite 10.10.1. I've been wanting to fix this for years as I have an automounting DMG containing my piano sample banks. Woohoo
 
Found a solution

I found a solution that i thought someone would like to know :)

1. Get info on the volume you like to have mounted and copy the address.
In my case: (afp://Server._afpovertcp._tcp.local/Drobo)

2. Open AppleScript Editor (found in /Applications/Utilities) and paste this
Code:
tell application "Finder"
    mount volume "afp://Server._afpovertcp._tcp.local/Drobo" as user name "your login name here"
end tell
Change to your address of course, and your login name.

3. Save that as a program

4. Open System Preferences->Users and Groups
Select your account and the Start Object tab, and then drag your AppleScript program into the list.

Now i get my Drobo mounted without any Finder window popping up.
This will come in handy at work were i have 5 different mounts which earlier each opened a separate Finder windows i had to close.

I wish this would have been easier done in the Start Objects with a simple check box like "open mounted volumes" or something.

Cheers :)
im really confused of what to put into apple script i have about 8 windows shares and they all open finder winodws on yosimite 10.10.1 upon entering my pw

here is my shares

smb://server-pc/Downloads_capture
smb://server-pc/D
smb://server-pc/E
smb://server-pc/F
smb://server-pc/G
smb://server-pc/H
their are 7 total drives in my server and would love to have a working sript or some kinds of soulution so that upon putting in my password for network shares it does not open up finder windows and just acts more like good old windows :D
 
im really confused of what to put into apple script i have about 8 windows shares and they all open finder winodws on yosimite 10.10.1 upon entering my pw

here is my shares

smb://server-pc/Downloads_capture
smb://server-pc/D
smb://server-pc/E
smb://server-pc/F
smb://server-pc/G
smb://server-pc/H
their are 7 total drives in my server and would love to have a working sript or some kinds of soulution so that upon putting in my password for network shares it does not open up finder windows and just acts more like good old windows :D

Does anyone know how to do this on El Capitan?

The terminal command above did nothing fir me.

Thanks.
 
Hi, did anyone ever get to the bottom of this please? I have six shares to my Synology and yes, I do want them mapped, but do not want them opening the finder window for that share on log-in, every single time I log on!!! It is incredibly annoying!
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.