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

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?
Who is Participating?
gbm33Connect With a Mentor Author Commented:
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.
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.
Hmm...that should have been command K not alt K
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

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

gbm33Author Commented:
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?
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.

Eoin OSullivanConsultantCommented:
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.
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 jyappleconvert.blogspot.com
gbm33Author Commented:
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.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.