drive label is network drive

  • Thread starter Thread starter Eric
  • Start date Start date
E

Eric

I have a login bat file that mounts several drives when a user logins
in with a roaming profile. The domain controller, drives being
mounted, and where the bat file is located is on OSX machines. It
works fine put the mounted drives randomly have a label of "Network
Drive" instead of share on server. What is causing this?
 
Eric said:
I have a login bat file that mounts several drives when a user logins
in with a roaming profile. The domain controller, drives being
mounted, and where the bat file is located is on OSX machines. It
works fine put the mounted drives randomly have a label of "Network
Drive" instead of share on server. What is causing this?

Because it is a Network Drive and not a Share.

Shares are not Drives and do not have Drive Letters.
Shares use UNC pathes,....Network Drives use letters.
UNC pathes are more dependable, less trouble, more efficient, and consume
less resources.

--
Phillip Windell [MCP, MVP, CCNA]
www.wandtv.com

The views expressed are my own (as annoying as they are), and not those of
my employer or anyone else associated with me.
-----------------------------------------------------
 
Phillip said:
Because it is a Network Drive and not a Share.

Shares are not Drives and do not have Drive Letters.
Shares use UNC pathes,....Network Drives use letters.
UNC pathes are more dependable, less trouble, more efficient, and consume
less resources.

Then why is it random? Each time I logon different mounts have
"network drive" as the label. If it had something to do with them
being shares vs. drives then would it not be the same all the time.
This how I am doing it.

@echo off
net use g: \\ip_address\%username%
net use h: \\ip_address\WorkingJobs
net use i: \\ip_address\ProofedJobs
net use j: \\ip_address\ApprovedJobs
Mounts more shares below this, but you get the point.
 
Eric said:
@echo off
net use g: \\ip_address\%username%
net use h: \\ip_address\WorkingJobs
net use i: \\ip_address\ProofedJobs
net use j: \\ip_address\ApprovedJobs

I don't see what you are saying.

--
Phillip Windell [MCP, MVP, CCNA]
www.wandtv.com

The views expressed are my own (as annoying as they are), and not those of
my employer or anyone else associated with me.
-----------------------------------------------------
 
Phillip said:
I don't see what you are saying.

Let me try again then. A bat file like the following runs when you
login with a roaming profile:

@echo off
net use g: \\ip_address\%username%
net use h: \\ip_address\WorkingJobs
net use i: \\ip_address\ProofedJobs
net use j: \\ip_address\ApprovedJobs

When you go into explorer sometimes they show up like:
username on ip_address (G:)
Network Drive(H:)
ProofedJobs on ip_address(I:)
Network Drive(J:)

then other times they show up like:
username on ip_address (G:)
WorkingJobs on ip_address(H:)
Network Drive(I:)
ApprovedJobs on ip_address(J:)

It changes everytime you login and looks complete random.

Why don't they always show up like this:
username on ip_address (G:)
WorkingJobs on ip_address(H:)
ProofedJobs on ip_address(I:)
ApprovedJobs on ip_address(J:)
 
Ok.
Well I'll have to say that I just don't know.
At our place I just go to great ends to never use Mapped Drives with only a
one exception where I have no choice,..and even then it is not network wide.

Mapped drives are full of problems, not to mention the fact that you have
the built in limitation of only having about 22-23 of them before you run
out of letters.


--
Phillip Windell [MCP, MVP, CCNA]
www.wandtv.com

The views expressed are my own (as annoying as they are), and not those of
my employer or anyone else associated with me.
 
Phillip said:
Ok.
Well I'll have to say that I just don't know.
At our place I just go to great ends to never use Mapped Drives with only a
one exception where I have no choice,..and even then it is not network wide.

Mapped drives are full of problems, not to mention the fact that you have
the built in limitation of only having about 22-23 of them before you run
out of letters.

Is there a better way to do this then? I have about 10 shares on
different OSX servers that need to show up in explorer after a user
logs in. Net use seemed like the way to do it, but the label being
wrong makes it hard for the users to figure out which drive is which.
 
Is there a better way to do this then? I have about 10 shares on
different OSX servers that need to show up in explorer after a user
logs in. Net use seemed like the way to do it, but the label being
wrong makes it hard for the users to figure out which drive is which.

Being OSX does complicate things. Does it have the abiltiy to show up in
Network Places and be browseable? Can the server itself show up as an
"item" that can be "opened".

What I do at our place is have a Shortcut Icon to the File Server itself.
All the shares on the Server are carefully named so they make sense to
people.
So I just have the one shortcut for everyone on the Desktop in the "All
Users" profile. The users then just open that one shortcut and look for the
share name they want (Accounting, Sales, Engineering, ect). The rest is
straight forward and logical. You could also optionally place the shortcut
in their My Documents so that it "appears" to be just a folder in their My
Documents, especially if you change the icon picture to one of the "folder"
icons.

Permissions are such that the Share Permissions and the NTFS Permissions
control what the user can actually open and what they can do with it after
they open it. The fact that they can see the other Shares listed is
meaningless since the permissions won't allow them to open them. To me
having them see all those shares is a good thing because it helps them to
understand over time how things are built and laid out so they understand
their environment better.

The great thing about the UNC path shortcuts is that they are just a link
similar to a link in a web page,...there is no "connection" being
maintained, hence no connection to timeout and not reconnect properly and
there is no resources overhead. They also do not slow down the opening of
Windows Explorer or any of the Browser Dialog boxes because they don't try
to "iterate" the files/folders in them the way that Mapped Drives do.

--
Phillip Windell [MCP, MVP, CCNA]
www.wandtv.com

The views expressed are my own (as annoying as they are), and not those of
my employer or anyone else associated with me.
-----------------------------------------------------
 
Phillip said:
Being OSX does complicate things. Does it have the abiltiy to show up in
Network Places and be browseable? Can the server itself show up as an
"item" that can be "opened".

What I do at our place is have a Shortcut Icon to the File Server itself.
All the shares on the Server are carefully named so they make sense to
people.
So I just have the one shortcut for everyone on the Desktop in the "All
Users" profile. The users then just open that one shortcut and look for the
share name they want (Accounting, Sales, Engineering, ect). The rest is
straight forward and logical. You could also optionally place the shortcut
in their My Documents so that it "appears" to be just a folder in their My
Documents, especially if you change the icon picture to one of the "folder"
icons.

Permissions are such that the Share Permissions and the NTFS Permissions
control what the user can actually open and what they can do with it after
they open it. The fact that they can see the other Shares listed is
meaningless since the permissions won't allow them to open them. To me
having them see all those shares is a good thing because it helps them to
understand over time how things are built and laid out so they understand
their environment better.

The great thing about the UNC path shortcuts is that they are just a link
similar to a link in a web page,...there is no "connection" being
maintained, hence no connection to timeout and not reconnect properly and
there is no resources overhead. They also do not slow down the opening of
Windows Explorer or any of the Browser Dialog boxes because they don't try
to "iterate" the files/folders in them the way that Mapped Drives do.

The shares can be made into shortcuts and placed on the desktop, but I
don't want to have to put the short cut on every single users desktop.
Also I don't see an All Users profile in OSX to place it only the local
All Users on the windows client machines. Not sure if the users would
like the shortcut method either.
 
Eric said:
The shares can be made into shortcuts and placed on the desktop, but I
don't want to have to put the short cut on every single users desktop.
Also I don't see an All Users profile in OSX to place it only the local
All Users on the windows client machines. Not sure if the users would
like the shortcut method either.

The All Users Profile is not on the OSX box,...it is on each Windows
workstation.
C:\Documents and Settings\All Users\Desktop

With Active Directory there are probably ways to use Group Policy to push
the shortcut to the machines.

Users never like anything,...do what *you* like. :-)

--
Phillip Windell [MCP, MVP, CCNA]
www.wandtv.com

The views expressed are my own (as annoying as they are), and not those of
my employer or anyone else associated with me.
-----------------------------------------------------
 
Back
Top