Mapping Drives / Login Scripts?

wmateo
Contributor

I am sure this has been asked before, but Could not find any threads. is there a simple approach to configure clients during or after imaging process to map network drives?

8 REPLIES 8

Macdonald
New Contributor

Is this not done via Managed Preferences?

barnesaw
Contributor III

I wrote an applescript app to handle common network mounts and run it as a launch agent - every 5 minutes - so that laptops can get mounts wired, wireless, at home through vpn.

But it's ugly.

mbrady
New Contributor

In my opinion an applescript and LaunchAgent approach is best for this. Install a LaunchAgent into /Library/LaunchAgents and point it at an applescript (with everyone read/execute permissions) containing your mapped drive logic. The actual script would vary wildly depending on your requirements.

bentoms
Release Candidate Programs Tester

LarryH
New Contributor III

I've been using Ben's way for months now without any issues.

Poseiden951
Contributor

Hey @bentoms, thank you for all the work you do! 10.10.3 broke automatic network mount and your fix worked flawlessly!

bentoms
Release Candidate Programs Tester

@Poseiden951 Awesome. I've been using it since 10.6 I think. :)

Look
Valued Contributor III

Using a launch agent and script here to.