Solved

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

Posted on 2008-09-30
9
777 Views
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?
0
Comment
Question by:gbm33
  • 3
  • 3
  • 2
  • +1
9 Comments
 
LVL 5

Expert Comment

by:micalkin
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.
0
 
LVL 5

Expert Comment

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

Expert Comment

by:jhyiesla
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
        try
                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

0
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 

Author Comment

by:gbm33
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?
0
 
LVL 28

Expert Comment

by:jhyiesla
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.


0
 
LVL 40

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.
0
 

Accepted Solution

by:
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.
0
 
LVL 28

Expert Comment

by:jhyiesla
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 jyappleconvert.blogspot.com
0
 

Author Comment

by:gbm33
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.
0

Featured Post

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A common question or need, when setting-up a new Mac for someone would be to make all of the applications, installed, available from the dock. Many people often do not realize an application is installed unless it is in the dock. Creating a custo…
Learn about cloud computing and its benefits for small business owners.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

807 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