I am currently working on a small application, created in VB5, that requires
me to map to a network drive on a Win 2003 server when a user launches the
application and disconect from the drive when the application is closed down.
This is fairly straight forward to do, but here is the twist. The mapped
drive that is created by the application should not be avaliable to the user
within My Computer or Windows Explorer.
Can this be done and how simple is it to do if it can be done?
I have been looking around for the past couple of days trying to find some
way of doing this but I have had no luck.
Any help is appreciated. Thanks.
Kenny
Pegasus (MVP) - 22 May 2008 17:23 GMT
>I am currently working on a small application, created in VB5, that
>requires
[quoted text clipped - 14 lines]
>
> Kenny
I don't think you can do this - it goes against the very grain of
Windows Explorer.
John John (MVP) - 22 May 2008 19:00 GMT
You should be able to do it with group policies, you can selectively
hide drive letters there. The corresponding registry edit for it is
shown here: http://support.microsoft.com/kb/158457
John
> I am currently working on a small application, created in VB5, that requires
> me to map to a network drive on a Win 2003 server when a user launches the
[quoted text clipped - 11 lines]
>
> Kenny
Kenny Nelson - 23 May 2008 08:47 GMT
Thanks, ill give this a shot.
Kenny
> You should be able to do it with group policies, you can selectively
> hide drive letters there. The corresponding registry edit for it is
[quoted text clipped - 17 lines]
> >
> > Kenny
John John (MVP) - 23 May 2008 14:06 GMT
You're welcome.
John
> Thanks, ill give this a shot.
>
[quoted text clipped - 21 lines]
>>>
>>>Kenny
CurtB - 23 May 2008 00:26 GMT
I realize you said your application requires you to map a drive. But, if
that's not actually a requirement, you could try using a universal naming
convention (UNC) and avoid mapping a drive. UNC format:
\\servername\sharename\path\filename
> I am currently working on a small application, created in VB5, that requires
> me to map to a network drive on a Win 2003 server when a user launches the
[quoted text clipped - 11 lines]
>
> Kenny
Kenny Nelson - 23 May 2008 08:47 GMT
Thanks for the help. I will give this a shot along with what John John has
suggested.
Kenny.
> I realize you said your application requires you to map a drive. But, if
> that's not actually a requirement, you could try using a universal naming
[quoted text clipped - 16 lines]
> >
> > Kenny