Link to home
Start Free TrialLog in
Avatar of Jsmply
Jsmply

asked on

Any way to map a network drive to the root of the shares for that machine?

HI Experts,

Perhaps it's because it's late and the brain isn't thinking as well as I'd like it too, but is there anyway to map a network share to the root of the shares for a particular machine?

For example, peer to peer network.  CompA is the file host for CompB

Is there anyway to map a network drive on CompB to the root of the shares available on CompA (IE: Map Z:\ on COMPB to \\CompA so then if CompA is sharing two directories lets say "Folder1" and "Folder2" then from COMPB the command Z:\Folder1 would work?

Thanks!
Avatar of Armenio
Armenio
Flag of Australia image

its kind of like a normal folder you can only map to one share  ie 1 folder but you can have multiple shares with in that folder  if that is what you mean
ASKER CERTIFIED SOLUTION
Avatar of Michael Warren
Michael Warren
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Jsmply
Jsmply

ASKER

Hi Merlinmaster, I tried that, however Windows won't let you map to just the \\servername it needs a folder deeper than that.  
Jsmply,

If you have permissions to the server, than you can map to just the drive letter as I told you.
\\servername\c$  ( is the entire c drive) or if you prefer the IP address for \\192.168.1.12\d$
This would list out the folders on the d drive.

Will this give you what you need?

Michael

Avatar of Jsmply

ASKER

Thanks Merlinsmaster.  That's what I thought, however, please see this thread.  What's the difference between that and sharing the C drive if both machines have matching logins (and therefore, access to both).
jsmply,

I just tested what I told you in my first response with the link!
On my windows 7 machine, I made a share called Test on my c drive.
then I opened Computer and clicked map network drive.
Then in the pull down I chose X for my drive letter.
Then in the folder to map to I typed:  \\192.168.1.107\c$
and then I pressed enter.
The computer now has a mapped drive X:




mapped-example.jpg
Avatar of Jsmply

ASKER

Thanks Merlin, please see my above post.  I know it's possible via the c$, maybe the above post will clarify why I was trying to avoid that and only link to what was "shared" on the machine acting as the file server (still a desktop OS though)
Jsmply,
If you wanted to you could create a logical drive call it G drive for example.
Then put the folders you want on it and share the drive.  (g$)

Then your users could just map to \\servername\share I.E. g$

This would then give the entire G drive contents.

Or your other choice is to remove the permissions to the folders that you don't want them to access.

For instance remove the everyone group!

Hope this helps!

Michael
Avatar of Jsmply

ASKER

Thanks.  In this case, the computers all share the same usernames so you don't get very far removing the everyone.  Just trying to improve security where possible, but given the confines of this network and the software it runs (and the way the publisher sets it up) you don't get many options, heh.
Jsmply,
You are limited. But you would only need to remove the everyone group from the directories or folders you are concerned about or remove modify and or write rights.
This would be my only other solution I can think of? You wouldn't want to completely remove the everyone group from the computer.
Avatar of Jsmply

ASKER

Right, but if the other machines share a login with the one sharing the files, it wouldn't matter would it?  Even with everyone removed from the concerned folders (Windows, program files, etc) woulnd't \\sharemachine\c$ still show those folders since the connecting machine has appropriate credentials?
No you remove the everyone group from the box doing the sharing.
This way they will see a folder name in the view but they will get access denied or the like if they try to double click to open it

Is this making sense?
Avatar of Jsmply

ASKER

Yes, but if the machine doing the sharing (its really win7 but lets call it server) is HOST and the workstation is CLIENT and the same login is used on HOST and CLIENT to access Win7, won't it still be accessible via c$ even if everyone is removed in sharing on HOST
Avatar of Jsmply

ASKER

You were right, thanks.
Great!
I am glad you got it figured out!
Let us know if need anything else.

Michael