Link to home
Start Free TrialLog in
Avatar of Vinnnnie
Vinnnnie

asked on

Hidden Mapped Drive

Hi,

I have a hidden share on my system, lets call it \\Server\share$. I have an accounting program that calls this share. I have a problem with Crystal Reports where it only likes the drive name of the device, rather than the UNC name. I don't know how to give Crystal Reports access to the UNC name. Is there a way to have mapped drive thats hidden? Or maybe a workaround for this?
Avatar of Rob Williams
Rob Williams
Flag of Canada image

You should be able, at a command promt or in a login script use:
Net  Use  Z:  \\ServerName\Share$
Substitute your drive letter and path
You can add /Persistent:yes if doing it from the command line so it will remap next time. However, I would recommend adding it to a logon script. Better way to go.
Avatar of Vinnnnie
Vinnnnie

ASKER

Well, I thought of that but then anyone that runs that can see the Z: drive. I need the mapped drive but I need it to be hidden.
ASKER CERTIFIED SOLUTION
Avatar of Brian
Brian
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
If I do that, they won't be able to read/write access to the drive. :-( I googled for over an hour and found nothing. I guess I might be SOL.
Soory, I thought you were only tring to hide the share. I agree with mkbean, I don't believe it is possible to hide a mapped drive.
Can you use the actual IP address of the server?
You could do it with DFS.
That will hide the true location of the share.

What is the goal here? To stop the users from knowing about the folder? Accessing the folder?

Simon.
CDCOP: I don't know about using the IP of the server but I can try anything you suggest.

Sembee: I can check my 2003 Book for DFS Solutions. The idea here is to not allow my users to see the mapped drive as it is read/write access through groups. I would like them to not access the file share through anything like windows explorer or my computer. I would like the mapped drive hidden if possible :-)
DFS will hide the location but will still allow access to the contents, and will still have to be a mapped drive (since UNC not available here).
Okay, I will read up on DFS then. I will let you know :-)
With DFS users will be able to identify the location of the underlying share via the DFS tab under the folders properties.
Vinnnie, I was not suggesting DFS. I should have been more clear. It will be no different than mapping a drive.
SOLUTION
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
Sembee: I will look at the report but I'm not the one who wrote it. That type of reporting is a bit beyond me. If I tell the report to use the UNC name, It just says it cannot find the database. But if I use the mapped drive, it works fine.