Skip to main content
Question

Mapping Drives / Login Scripts?

  • April 24, 2013
  • 8 replies
  • 5 views

Forum|alt.badge.img+12

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

Forum|alt.badge.img+3
  • New Contributor
  • April 24, 2013

Is this not done via Managed Preferences?


Forum|alt.badge.img+9
  • Valued Contributor
  • April 24, 2013

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.


Forum|alt.badge.img+1
  • New Contributor
  • April 25, 2013

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
Forum|alt.badge.img+35
  • Hall of Fame
  • April 25, 2013

Forum|alt.badge.img+10
  • Contributor
  • April 25, 2013

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


Forum|alt.badge.img+7
  • Contributor
  • April 9, 2015

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


bentoms
Forum|alt.badge.img+35
  • Hall of Fame
  • April 9, 2015

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


Forum|alt.badge.img+16
  • Valued Contributor
  • April 9, 2015

Using a launch agent and script here to.