[Editor's note: There have been other hints on automounting servers (1, 2), but neither discussed this simpler method. I don't have a network drive to easily test it with, so I can't vouch for its effectiveness.]
|
|
|
I am not sure if this was ever posted before. But I just realized, that if you manually mount a server (cmd-K) and then drag the mounted server icon to your Login items window (in System Preferences), your system will automount them at startup. No password/login screen; it's just done.
[Editor's note: There have been other hints on automounting servers (1, 2), but neither discussed this simpler method. I don't have a network drive to easily test it with, so I can't vouch for its effectiveness.]
•
[18,464 views]
Hint Options
nope
I tried this AND by adding the Favorite link to the login items and it does not work. "The operation could not be completed because no application was found to open the Internet location file '192.168.1.1"
yup
Works for me …
nope
This works great if you ouly have a single volume on a single server. This however has never worked for us with multiple volumes on multiple servers. I had to write scripts for each machine that doesn't only mount a single Volume(which is about 125). I wish fstab worked like it does in Linux!!
AppleScript will do it
You can do it with AppleScript. At least to an AFP Server running on WinNT 4.0(it's all i have to try it with)
yes applescript
here's an easy one
yes applescript
Couldn't you just tell the keychain to Always Allow? Assuming that works, it would be better than having your log/pass stored in an AppleScript. Stuff in the Keychain is encrypted.
yes applescript
If you save the script out as an Application. No one can see the code!
no one can see the code
I invite you to run the UNIX command "strings" on your compiled AppleScript. I don't have any handy (I'm at work without any Macs), but I think you won't like what you see.
didn't need Applescript...
i just typed
didn't need Applescript...
Yeah but someone could access your password if you use IE to save it as a shortcut. All they would have to do is open it up and look at the URL. By using AppleScript it can save the Logon commands as an application where no one can get to the password.
Another way...
Here's a script from Anonymous, who writes:
Tried the other applescript suggestions for mounting smb shares at login, and couldn't get applescript to play nice until I used the following slightly different command:I haven't tried this one, but thought it might be worth adding to the collection. -rob.tell application "finder"Save as application w/ never show startup option selected. Place the resulting app into the login items. All smb shares are now auto-mounted and placed on the desktop at login.
Another way...
Here is how I did it for SMB:
Another way...
That script seems to work well, except that the sharename can't have spaces. |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.23 seconds |
|