Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

cannot disconnect mapped drive

0 views
Skip to first unread message

willie

unread,
Jan 20, 2003, 11:57:07 AM1/20/03
to
Hi, all:

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

Pegasus

unread,
Jan 20, 2003, 5:12:08 PM1/20/03
to
The connections you refer to were made by some other
process, perhaps by a scheduled process running in the
background. If you issue the command

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...

Olof Lagerkvist

unread,
Jan 20, 2003, 6:03:09 PM1/20/03
to
willie wrote:
> Hi, all:
>
> 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.

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

nash

unread,
Feb 4, 2003, 1:06:24 PM2/4/03
to
I have a similar problem. when i logon the scritp says device already
present. I can NOT access the mapped drive and can NOT delte the
connection using net use. it says that the device is not found. dois
dev doesnt show the connections and they are all dfs drives.

On Mon, 20 Jan 2003 23:03:09 GMT, Olof Lagerkvist <n...@email.address>
wrote:

0 new messages