On an IMAC How to Map Drives from Microsoft Server Similar to Netuse

Posted on 2008-09-30
Last Modified: 2012-05-05
We have added an IMAC 20 as a workstation on a Microsoft 2003 network. How can we map drives, so that upon logon the shared drives show in the list of available folders in Finder. Upon logon to the network with Active Directory a script is run that maps the drives. An example of a line is:
net use S: \\sms-2003\share /y > nul
How can we get this drive to show in Finder once the user joins the network?
Question by:gbm33
  • 3
  • 3
  • 2
  • +1

Expert Comment

ID: 22609059
The way I've always done it was to use Alt-K (bring up the connect dialog) from finder then enter the path to the share you want to connect to. I.E smb://server/share
You will have to provide domain creditials when you try to connect.  Once you are connected then you can drag the icon from the desktop to the dock for ease of use.  Any time you need to access the share you just click on the icon on the dock.  You can save the username/password in the keychain if you don't want the end user to be entering the information every time he has to use the share.

Expert Comment

ID: 22609104
Hmm...that should have been command K not alt K
LVL 28

Expert Comment

ID: 22609219
On my Mac Pro at work I have bound it to AD.  When I log in, I have an applescript that runs that basically maps the shares that I need.  I am including the script below.

tell application "Finder"

        delay 0.3


                mount volume "smb://Servername1/applications"

                mount volume "smb://servername2/lis"

                mount volume "smb://servername3/public"


        end try


        delay 0.3


end tell

Open in new window


Author Comment

ID: 22609618
micalkin: Thanks for the tip. Let me try it and see if it will work for mapping an individual drive.

jhyiesla: Your scrip looks like what the Microsoft net use command does and is what I may be looking for.
Now these questions:
1: Please translate net use "S: \\sms-2003\share " to a mount volume command to map S to \\sms-2003\share
2. Where would I place the script once written
3. How do I pull up an application to write an Apple script?
How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

LVL 28

Expert Comment

ID: 22609922
mount volume "smb://sms-2003/share"

If you open the system Preferences, and go to Accounts, there is an item labeled Login items.  Once the script is written, you can store it anywhere and include it in the login items so that it runs each time the user logs on.

Once the volume is mounted it will show up in the left-hand side of Finder.

To create it go to Applications in Finder then open Apple Script and then the Script Editor.  Write the script and Compile it with the compile button and then save it anywhere you want.

LVL 39

Expert Comment

by:Eoin OSullivan
ID: 22612243
gbm33 - A small additional note .. OSX does NOT use drive letters .. so there is no need to map the shares to letters .. instead it will appear on OSX as the name of the share .. i.e. \\sms-2003\myshare will appear on the OSX finder as "myshare"

If you want the mount the shared volume with the name "S" then it is a little more complicated than the applescripts above.

Let me know if this is a requirement or not.

Accepted Solution

gbm33 earned 0 total points
ID: 23014366
We have abandoned the project of adding an IMAC to our network. We just could not afford the time it would take to resolve all the issues that came up. I know that, with more effort, the IMAC would be an excellent addition.  The difficulty with mixing operating systems is that one has to invest in becoming familiar with all  the systems.  We have not had the chance to fully sort out and try all the suggestions given. Thank you all for the time you gave in offering them, nevertheless. I will be closing the question as a result.
LVL 28

Expert Comment

ID: 23014462
gbm33, you're right in that, although I think the Mac is "better" than a Windows PC and is fairly easy to get to know, it is different than what most people are used to working with.

I will say though that my integration of my Mac into our network really was pretty simple and for the most part has been without issue.

To be honest, I have run into a glitch after upgrading my Mac to 10.5.5 that involves the mounting of Windows shares.  If you want more info check out

Author Comment

ID: 23014628
jhyiesla: Thank you for your comment.  From what I learned in this brief Apple foray, if we were setting up a new network we would go with MACs all the way. Maybe in a few years we will dump MS and go with such a network.

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

I've always wanted to allow a user to have a printer no matter where they login. The steps below will show you how to achieve just that. In this Article I'll show how to deploy printers automatically with group policy and then using security fil…
On July 14th 2015, Windows Server 2003 will become End of Support, leaving hundreds of thousands of servers around the world that still run this 12 year old operating system vulnerable and potentially out of compliance in many organisations around t…
Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now