Hide UNC path to mapped drives...?

J

JonnieStyle

Hi all.

Does anybody know how I can hide the UNC path on mapped drives from my
users? Is there a group policy or script I can employ so all the user
will see in Windows XP Pro "z:" and not
"z:\\server\secret-hidden-share$\no-snooping$"...

Cheers.
 
R

Ryan Hanisco

There really isn't a way to do that in windows. I suppose if you really
wanted to you could Create a share to aggregate those shares on the server
and use a mount point to mount the hidden area and share from there. That's
a bit convoluted... but it works.

Otherwise, I would suggest you start looking for 3rd party tools.
 
O

Oli Restorick [MVP]

If I recall correctly, this is a unicode string in the user portion of the
registry, but separate from HKCU\Network, where actual drive mappings live.
Afraid I can't remember the specifics, either.

Oli
 
J

jonniestyle

I used this vbs script:

mDrive = "the drive letter you'd like:"
Set oShell = CreateObject("Shell.Application")
oShell.NameSpace(mDrive).Self.Name = "What you want to call the drive"

in conjuction with a batch script that mapped the share.
Works like a charm!

Cheers.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top