Any help will be appreciated.
I have an Win2k server with several drive letters mapped to other
machines. I
mapped them using the 'net use' command. The problem is that I cannot
disconnect or unmap them.
For example, I have a mapped drive 'h:', and when I type 'net use h:
/d' it tells me that the network connection could not be found. When
I type 'net use' by itself it tells me there are no entries in the
list. However, I can type 'h:' and view the files there.
If I go into My Computer and click on the properties of the h: drive
it tells me it's a remote disk. However there's no right-click option
to disconnect. Win2k seems to have forgotten it mapped that drive.
Thanks
Willie
net use /persistent:no
and reboot the machine then they should disappear . . .
unless, of course, the background process restores the
mapping!
"willie" <w2...@hotmail.com> wrote in message
news:6610106b.03012...@posting.google.com...
Are you sure the drives are mapped using "net use" and not subst, dosdev
or some other drive letter utility? "net use x: /d" can only unmap
drives that links to a redirector service in the object namespace.
> If I go into My Computer and click on the properties of the h: drive
> it tells me it's a remote disk.
If it was created using "net use" it would tell you it is a "Network
Connection", not a "Remote Disk".
> However there's no right-click option
> to disconnect. Win2k seems to have forgotten it mapped that drive.
There is a useful utility called dosdev.exe in the resource kit that can
be used to find out what a driveletter is really linked to and
create/delete drive letter links as you like.
A drive mapped using "net use" is normally linked to for example H: =>
\Device\LanmanRedirector\;H:\SERVER\Resource
If H: => \Device\Mup\SERVER\Resource or H: => \??\UNC\SERVER\Resource or
something like that the drive mapping is not created using "net use".
If you don't have the resource kit, I have a free dosdev.exe at
http://here.is/olof/files/dosdev.zip
--
Olof Lagerkvist
On Mon, 20 Jan 2003 23:03:09 GMT, Olof Lagerkvist <n...@email.address>
wrote: