Mount a Windows Share in OS X and Have it Reconnect at Login
(via www.howtogeek.com)
Mounting the Windows Share
When you are in Finder you can click Go and Connect to Server or you can type Command + K to get to the same menu.
In Server Address you will need to put the location of you Windows share with this format smb://server/share where server is the name or IP address of your Windows machine and share is going to be the folder or drive you want to mount.
If your Windows share requires authentication it will ask you for that info here.
Now if you have Connected Servers showing on your desktop, it will show up on your desktop an in Finder.
Making the Share Mount at Login
To keep the share showing up when you have to log out seems pretty difficult. The internet is littered with ways to write scripts to allow you to do this. But OS X makes it pretty simple if you are just needing to add the share to your machine.
You will need to be in System Preferences for this, which you can get to by clicking on the Apple Menu and then going to System Preferences.
Then you will go to Accounts.
Once in Accounts, you will need go to the Login Items tab. Then you will just drag the share from your desktop or Finder window into the Login Items list.
If your share requires authentication, it may be possible to add the username and password into your keychain with the check box in the authentication window. Some shares will not work with the keychain though.
This is pretty nice if you are working a lot between OS X and Windows, and need to move files between the two.
To solve the issue of a Finder window showing the network drive each time you log in, you can check the Hide box in the Login Items list.
I imagine the strongest reason for not mapping network drives is that the admins don't want to deal with the headaches of maintaining an index of a finite number of drive letters in addition to the network paths. For one, there might be too many commonly-used network shares to assign drive letters to all of them, and in a large organization, not everyone will have access to all the same shares. Share names are also more descriptive and potentially less ambiguous than drive letters (more on the ambiguity later).
Second, you can run into drive letter collisions. If someone's PC has a memory card reader, that might gobble up four or more drive letters. A and B are typically reserved for the floppy drives of last century, and C and D are usually reserved for the hard drive and optical drive, so the card reader will use E, F, G, and H. If one of your network drives is usually mapped to H: via a logon script, this poor person either won't be able to use the card reader's H: drive or won't be able to mount the network drive.
Unless someone within the organization is responsible for allocating drive letters for specific purposes, the network drives could also end up causing a lot of confusion. For example, suppose you map drive S: to the share that has the setup programs for all your site-licensed software, and someone else maps S: to the shared drive where they drop all kinds of shared documents. When you try to explain how to install some software, you tell them to open their S: drive and find the setup program for Microsoft Office, but all they can find is a folder named office, which contains a bunch of miscellaneous files someone dropped there for a temporary file transfer. It might take you 5 or 10 minutes to sort out the confusion.
There are also some potential performance issues if a server goes down or if a machine is taken off the network. For example, if you map network drives on a machine, then remove the machine from the network (maybe it's a laptop), the machine may appear to hang upon logon while Windows tries in vain to mount the missing network drives.
On the other hand, on older versions of Windows, I've noticed that file transfers to or from a mapped network drive often go much faster than if you browsed to the network folder and performed the same file transfer--in which case, most people would prefer to map network drives.
Best Answer
I was getting this random pop up randomly...
(screen captures available at: drivecreative/fix )
that said, "There was a problem connecting to the server "M17".
I use to have my 17" laptop connected via wifi to my MacPro. If my laptop was off, I would often get this dialog telling me that M17 was missing.
Which it was.
If my laptop was on, then no random messages. So far so good. But what happens when you replace your laptop with a new MBPr with a new name? Well.. you get these little reminders about your missing machine whether you want them or not...
To stop the madness...
in finder, go to the "Go" menu and select "Connect to Server..."
After the "Connect to Server" window pops up, click the button with the "clock icon" and select "Clear Recent Servers..."
A scary dialog box pops up, click "ok" if you are not scared.
E r i c W h i t e { D r i v e C r e a t i v e . n e t }
(screen captures available at: drivecreative/fix )
PS APPLE:
It would be nice if we had a "Forget" button on the dialog this dialog so it would be obvious how to resolve this issue.
It would be nice to be able to just clear the one connection that is giving you issues instead of doing a "clear entire list" solution we have now...