Solved

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

Posted on 2008-09-30
9
779 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 

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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

688 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