Mounting network drives at startup?

I know this could be done in 10.4, but I can't figure it out in 10.5. I am wanting to have a couple network drives connect at login and mount to the desktop. Currently I have to go into the shared computers and drives via the finder, then connact as. Is there a way to get these to mount at startup?

You can also create Automator applications that launch at login. Take a look at this tutorial:
http://forums.macrumors.com/showthread.php?t=144914
(the post at 08-20-2005, 10:13 PM has the answer I used)
Since I have a Storage Area Network, shared drives and a cluster, I have to make sure that each node (computer) can see the shared storage, the cluster controller and the place where the source file for rendering is located. So, instead of worrying about keeping it all configured, I just made a Workgroup, assigned Read/Write privileges for any admin user, turned on Apple Talk, and made a script to mount all the local drives (ComputerName.local) for all computers, except for the local one.
Since managed, render services can also be flaky, I also wrote a script that resets the services at login (in case the IP changes or what ever).
It works like a charm, and better yet, I can see it running at login.
Cheers,
Jeff W.

Similar Messages

  • Mounting Network Drive Upon Startup

    Is it possible to mount a network drive upon startup so that my auto backup program can see and backup to it?
    If so, how is this setup?
    Thanks,
    James

    Try doing i manually instead of using sharepoints tool.
    http://www.bombich.com/mactips/automount.html
    Ive always doen it this way and had success wheher wired or wireless... unless ofcourse the network jsut wasnt avaialble.

  • Mount network drives

    Hi,
    How can I create a script that will connect to a windows server with a username and password and mount network drives on my desktop, and how do I set this script to automatically run when I login?

    Hey guys. I'm glad I found this post. I'm trying for the same result. I currently work at a school in which every teacher has a computer that connects to the local network by signing in with a username and password. However, my computer has fried and they can't get me a new one until... well... whenever. I've brought my MacBook Pro in and have connected to the internet which is great but I need to access a network (H:) drive in order to update progress reports and report cards.
    I don't know much and the IT guy is impossible to reach and hasn't returned any emails. I just need to connect to that one folder. I was assuming and ftp or and smb would do the trick but I have no idea what server I would need to try and access through the finder, applescript, or terminal. I did an ipconfig on another teachers computer and got a few ip's as well as the folder's location on the network 'server_4\folder' (H:) if that helps. I've tried connected by ftp through the finder to all of the ip's and have gotten an error saying that I can't connect. I have also did a whatsmyip.com search for my root ip address and have tried the same approach. For some reason, it connects by says my username and password were incorrect.
    Well that's about everything. Any help would be greatly appreciated!

  • Delay the mounting of network drives at startup?

    Can i delay the mounting of my network drives (cifs) at the boot up?
    I want to do this to be able to start network in the background at the boot up since thats the procedure slowing down the boot up at the moment.
    Thank you in advance.
    Last edited by djungelmums (2011-02-08 21:31:50)

    Inxsible wrote:
    Ahh ! I wasn't sure which statement you were refuting.
    but this confuses me a little. We normally background DAEMONS to increase boot speed (or atleast one of the reasons). So I assume that when you background it, you run it parallely along with moving ahead in your startup process -- namely starting up other daemons and bringing up the login screen/Display Manager or booting straight to X.
    Correct
    Inxsible wrote:OTOH, unmarked daemons actually get started before going ahead in the start up process. So wouldn't that mean that they might get started before anything else is processed...?
    Why?
    Here is the code:
    # Start daemons
    for daemon in "${DAEMONS[@]}"; do
    if [ "$daemon" = "${daemon#!}" ]; then
    if [ "$daemon" = "${daemon#@}" ]; then
    start_daemon $daemon
    else
    start_daemon_bkgd ${daemon:1}
    fi
    fi
    done
    if [ -x /etc/rc.local ]; then
    /etc/rc.local
    fi
    Translated into human language:
    For every daemon in the DAEMON array do:
       If daemon has not the prefix "!" do:
          if daemon has not the prefix "@" do: start the daemon --> AND wait for comletion 
          else do: start the daemon in background --> AND don't wait for completion
    Process rc.local
    Hope thats clear now

  • Can't mount a network drive at startup - Mac boots too fast?

    Hi all,
    On every Mac I've owned for the last few years, I dragged the icon of my file server to my Login Items list and the Mac would flawlessly mount the drive.
    Now with my Mac Pro, the machine seems to boot so darn fast that I get an error that the server doesn't exist, but if I immediately manually do a Cmd-K and mount the drive, then it works. I put my old G5 back on the network and it worked, as did my Macbook Pro and my old G4 Cube.
    So, although I can't prove it, it seems to me that the Mac is trying to mount the drive before the Mac finds the network. If this is true, how can I solve this problem?
    Mike

    Hi Michael,
    I'd try this method instead of dragging to the Login items...
    http://www.bombich.com/mactips/automount.html
    I'd experiment with the Static vs. Dynamic also.

  • Fast User Switching with Mounted Network Drive?

    I have a headless G4 Cube running 10.5.8 with a 2TB firewire drive plugged in for storage accessable to any of my macs here at home. I can access it fine with my 2 desktops over ethernet and wirelessly. Recently we decided to consolidate our 2 desktops into one using the muliple users feature. Seems to work fine, and both accounts can access the shared drive. They are logging in with the cube's admin credentials, and the shared drive is set to ignore permissions. I have the drive set to mount on login with a startup item in the system login items prefs. As long as I logout before switching users, everything is good.
    The problem arises with Fast User Switching which we'd love to be able to use. I can't figure out how to connect to the drive in one account without the 2nd account then seeing it as a volume without proper permissions, then that account creates a new volume mount for it (which doesn't work with iTunes properly and seems to cause other wierd issues).
    Example: So say 'user1' logs in, mounts the drive 'Jukebox'. everything seems OK so far. 'Jukebox' is on the desktop and iTunes finds the music. Now I fast user switch to 'user2' and there is a 'Jukebox' on the desktop with the red minus icon indicating I don't have permissions to access it. If I then browse the network and mount the drive, I end up with ANOTHER 'Jukebox' on the desktop. BUT iTunes doesn't see it properly. If I look in the /Volumes/ folder with the Terminal, I see a mountpoint for 'Jukebox' (with the owner of 'user1' group 'staff') and now a new mountpoint called 'Jukebox-1' (with the owner of 'user2' group 'staff').
    It seems when you mount a AFP drive, it creates the Volume with the current user and staff group, but switching to another user then can't access that when it sees it in the /Volumes folder. You try to mount again and it creates a NEW mountpoint, names it with a '-1' at the end and you can use that (but iTunes cant).
    So... how does one use a shared drive that you want on BOTH users desktops with Fast User Switching turned on? Is there a way to have the drive mounted BEFORE either user logs in, such that it will be seen as any other local drive (which doesn't have the issue)??
    Or is there some other way I can attach to the network volume in each account on login so both have access to music and videos with full permissions?
    I'm really stumped here after 2 hrs of googling, searching here and trying things.
    TIA

    I've not had any luck with the suggestions in the link either.
    Here's two other approaches I've tried and failed with:
    1. Creating a new share point on the cube itself so that one user can mount it as a different volume. Then the issue is that I still don't have a volume named "Jukebox" available to each user when switching. I DO have access now to the data from both accounts, but under 2 different mount points (volume names) and the xml file for iTunes is hard coded with the path for each mp3 including the "Jukebox" volume name... so no go.
    2. Tried figuring out a way I could script a mounting of the share with the terminal thinking I could then run that shell script at startup. Can't seem to get the sytax right. If I create a directory in /Volumes and mount and afp share to it, it takes on the ownership of root/wheel which I can't access in the finder and can't seem to change.
    BUT I'll keep playing with both these ideas a bit... the first one might be overcome with a bit of logic and the 2nd if I can get the syntax right to mount the share with afp_mount and give it the correct ownership/permissions such that when a user logs in she/he sees the volume on the desktop and has full r/w access to it.
    thanks again. if you offhand know the syntax for that, let me know

  • How to mount external drives on startup without login?

    I have a Mac Mini that runs as a server on my network. It has external FireWire drives attached, and I need them to be mounted at machine startup. By default they do not mount until a user interactively logs in.
    There was a fix for this in Tiger, involving a NetInfo setting; but since NetInfo Manager and niutil are now gone, I don't know how to make this work. I can mount the drive manually by sshing into the Mini and using a diskutil mount command, but that is very cumbersome and doesn't make the drive available for startup activities that need to access it.
    Tx!
    KeS

    Create the file
    /Library/Preferences/SystemConfiguration/autodiskmount.plist
    with the following contents:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
    <key>AutomountDisksWithoutUserLogin</key><true/>
    </dict>
    </plist>
    You can do this with the following command (note: it will ask for your admin password):
    sudo cat >/Library/Preferences/SystemConfiguration/autodiskmount.plist <<"EOF"
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
    <key>AutomountDisksWithoutUserLogin</key><true/>
    </dict>
    </plist>
    EOF

  • How to mount Network drives on log-on

    Hi
    I'm trying to implement some Macs in a large network.
    We work against file servers, storing all the files we use on the servers.
    There are multiple servers with multiple shared folders in each.
    On the windows work stations, we click "Map network drive", Choose the server and folder and check "Re-connect on startup".
    How can I do this in OSX.
    Here is what I need:
    *On log on the mac should mount each network share, so that it is accessible in finder like any other drive.
    *It needs to have the same drive-letter each time, as applications may need to reference the files.
    *It needs to log on using the current user's username and password (the passwords may change, so no putting them in scripts)
    *Should not pop up one finder window pr. drive when you log on (some "solutions" do this)
    Our servers can act as both smb and windows server.
    I'm sure apple has a great solution for this, and it is probably easy, it's just me comming from windows and could not find it.
    Hope my question was clear and that somebody can help.

    That should work. You could try deleting the passwords in Keychain associated with it and try it again.
    Another route: Create Applescript:
    Select the network drive and get info on it. Copy the server address. Open up Applescript Editor in the Utilities folder and create a new script. Type in mount volume, add space, "paste server address within quotations", and save as application to your documents. Run it from within applescript editor to verify it works. When it asks for a passwork, save it in Keychain.
    Under system preferences/accounts/login items, click the + sign to add and select the saved application.

  • Mounting Network Drives Without Windows Opening

    I have 3-4 Networked drives that automount for my users when they login, but whenever they login it opens up a window for each of the mounted drives.  Any way to prevent this?  I've tried marking "hide" in system preferences for them in login items, but that made no difference. 

    I am trying to run a computer on which to host installers for a schools network. The computer that i have all the installers on is partitioned into 3 parts: a system partition, a partition for the installer programs, and a partition for filemaker serving. I need to be able to connect to the computer through the network and access the installers. I don't want people logging on to access the home directory of the user account that they are using to connect to the install volume. I would really like to be able to tell it when people log on from another spot on the network to just mount the installer partition nothing else. I am aware that os 10 defaultly mounts just the home directory when you access a name on that computer from another local.
    I hope this is enough information.

  • Mounting network drives in the left pane of the finder...

    in tiger, i was able to mount a network drive and have it show up in the left pane of the finder. now, when i connect to a network drive (clicking "go", "connect to server", and typing the IP address). it opens up a new finder window with the contents of the network drive, however, it doesn't show up in the finder pane...
    also, the "network" icon in the left pane is gone. is there a way to bring this back?

    Does this work for you?! I can't get this to appear, least i have the icon on the desktop now but having it in the finder is what I really want,
    Some very good features in Leopard but they really do seem to have messed around with things unnecessarily, custom firewall changes, network mounts appearing etc etc

  • Problem mounting network drive after upgrading router firmware

    Hi guys,
    It's been a while since I last posted a question of my own here, but I'm at my wits end. As I may have mentioned, I live in France, and my ISP is Free (no, not free, Free...). I've got what they call a "box" here, i.e. a sort of super-modem that will let you connect to the Internet via xDSL (and soon VDSL2), receive hundreds of TV channels, read BluRay discs, store files (videos, music, photos, what have you) on a integrated NAS, place and receive phone calls, whether via a landline (DECT) or, since recently, through a femtocell.
    All in all, the package is impressive and works flawlessly. But...
    (Of course, there had to be a "but)
    ... Yesterday, I let my "box" (it's called a Freebox Revolution, or Freebox V6--for Version 6--by the way) upgrade its firmware, reboot as it always does in such circumstances, and  since that,  the NAS won't mount in the Finder the way it used to under the Shared left pane.
    Now, every time I reboot my Mac, I have to open a browser windows and type "smb://mafreebox.freebox.fr" in order mount the NAS in the Finder. I've saved the credentials (login, no password) in the keychain, hoping it would help, but it doesn't. I've got a PC running Windows 8.1 Preview at the moment, and created a shortcut to the NAS on the Desktop. Guess what? I double-click on the shortcut, and sure enough, I can access the content of the NAS from Windows, but not from the Mac.
    I must add that I haven't changed anything on the Mac since, or before, upgrading the "box" firmware.
    Any ideas?

    OK, you must think I'm going bananas, but my issue is gone... For now...
    Seriously, what do you guys think about this problem with network drives mounting or not, depending on, I don't know, the weather, maybe?

  • Mounting network drive

    Okay, I am posing this request to figure out how to do the following:
    I have a network drive that I want to use to store my itunes library. I need to mount the drive so that my computer sees it when it boots up and can access the files. I also want to avoid having the computer open a finder window at start up. Can anyone please give me a step by step of how to do this? I am new to Macs so more simple steps would be better.

    Once the drive is mounted and it is showing on your desktop open system preferences-->accounts--> your user account
    click the login items tab
    drag n drop the mounted volume onto the login items window.
    If the network volume requires a user name and password then be sure to add this to your keychain then you wont be prompted to enter the password at login.

  • Mounting network drive failing when launched with "crontab"...

    Greetings!
    Here's my problem:
    I have a cron job (domain user) that launch a perl script.
    Somewhere in the script, I mount a network drive like this: "/sbin/mount_smbfs //user:pw@machine/path"
    I get the following error: mount_smbfs: server connection failed: broken pipe.
    -If I ssh to the mac, manually execute the Perl script, no problem, the drive is mounted and I am happy. But it constantly fails if I am not logged in.
    As a workaround, I tried to make my user automatically logged in when the Mac restart. But what do you know? Not working with my (domain) user. But it works fine with any other local users.
    Any ideas?

    Post to the Unix forum under OS X Technologies.

  • All mounted network drives disconnect after sleep

    10.4, airport, powerbook.
    All network (SMB) drives connect fine manually. They also reconnect after after login (modified login items). However, they will not persist after sleep.
    After this powerbook sleeps, ALL network drives are dropped and have to be manually reconnected. Why?
    I've seen this question asked about 20 times out here, but never answered.

    Thanks for the reply, Tim.
    However - this is a serious SMB functionality issue. Just with OS-X. Not even Linux will misbehave like this.
    I have 8 (eight) drives that I need mounted - all over the network. I simply cannot fiddle with manual remounts because they are NFS or SMB drive mounts and OSX freaks out. It takes me about 5 minutes to unmount all the drives, and as long to reconnect them. Which I have to do whenever this little Powerbook sleeps. Your solution of a manual disconnect/reconnect is absurd. Multiply this by the # of Apples we have, and you see what I mean.
    We have 15 Windows laptops, and as many desktops that keep ALL of these drives mounted regardless of sleep, power cycle etc. All machines except the Apples.
    If this bug needs escalation, let's do it. I've seen countless gripes about this issue and NO resolution. This is NOT a feature, or a requirement for user manual drive unmount intervention. It's a BUG.

  • Bouncing network drive at startup on Russian computer

    Hello!
    I have a friend who recently converted to Apple and is having some problems. As a long time Mac user I promised him I would help rectify this problem as quick as possible. Upon startup, he has 3 drives, his mac drive, his windows drive, and some random bouncing drive with a picture of the world above it. He is using one of the new imacs and thus far I have not been able to help him get rid of this pesky drive. It will bounce for around 2 minutes and then stop. At that time he is able to login. So what do I need to do to stop this thing from showing up and bouncing for 2 minutes so he can immediately login to either his mac drive or his windows drive. Also on a side note, he gets constant pop-ups from keychain about something. How do I turn all these keychain pop-ups off? I wish I could be more specific, but I work in the circus in China and my friend is Russian and has his whole Mac in Russian. Our communication is limited since I only understand a little Russian and can only be of minimal help. He speaks fine English but translating the Russian error messages to English gets lost in translation. I know this is a lot but any help would be appreciated! Thank you in advance.
    Brian Hutson

    It's probably attempting to boot from a network drive which has been selected as the default.
    This is easy to fix:
    In the System Preferences, open Startup Disk and select Mac OS X as the default and that should resolve your issue.

Maybe you are looking for