RE: net use

Tech-Archive recommends: Fix windows errors by optimizing your registry



Ken,

forget the scripts. The problem is this: -

The network drives are mapped. They show up as "Disconnected Network Drive"
in Explorer. Clicking on them allows access to a network share.
Net use does not show them as mapped, therefore net use /delete cannot unmap
them. similarly, the cannot be unmapped by using the Explorer, Tools,
"Disconnect network drive". I can find no way of unmapping the drives. That's
all I want to do, unmap the drive.

There is a corruption somewhere, as the drives are not registering properly.
HOW can I remove them?

The history as to how this may have happened is this: The server may have
changed name. It was certainly on a different domain before, and has now been
moved to a new domain. Nothing too contentious, but it seems Server2003 has
found this difficult to cope with. All Servers are fully patched and
maintained.

""Ken Zhao [MSFT]"" wrote:

Hi,

Please understand we do not support any script related issue. However, you
may use the following commands to delete the network drives:
net use /persistent:no
net use * /delete /y

Thanks & Regards,

Ken Zhao

Microsoft Online Support
Microsoft Global Technical Support Center

Get Secure! - www.microsoft.com/security <http://www.microsoft.com/security>
====================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
====================================================
This posting is provided "AS IS" with no warranties, and confers no rights.




--------------------
| Thread-Topic: net use
| thread-index: AcehwyroOGIJidm/SIimuEyLoh4X3w==
| X-WBNR-Posting-Host: 207.46.19.197
| From: =?Utf-8?B?RGVsbGJveQ==?= <Dellboy@xxxxxxxxxxxxxxxx>
| References: <3B2B2C55-BE4D-4B5C-A4A3-BA77E6ED17D7@xxxxxxxxxxxxx>
<aIHd5NboHHA.5420@xxxxxxxxxxxxxxxxxxxxxx>
| Subject: RE: net use
| Date: Tue, 29 May 2007 00:30:01 -0700
| Lines: 249
| Message-ID: <7609BC8C-7B88-4305-A27B-9DF11766C7BC@xxxxxxxxxxxxx>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="Utf-8"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Content-Class: urn:content-classes:message
| Importance: normal
| Priority: normal
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.2826
| Newsgroups: microsoft.public.windows.terminal_services
| Path: TK2MSFTNGHUB02.phx.gbl
| Xref: TK2MSFTNGHUB02.phx.gbl
microsoft.public.windows.terminal_services:7082
| NNTP-Posting-Host: tk2msftibfm01.phx.gbl 10.40.244.149
| X-Tomcat-NG: microsoft.public.windows.terminal_services
|
| Thanks for that. The script and responses are shown below, verbatim.
|
| Rem This is the logon script
|
| net use h: /delete
| net use i: /delete
| net use j: /delete
| net use k: /delete
| net use l: /delete
| net use m: /delete
| net use n: /delete
|
| rem fpserver mappings
| net use h: \\fpserver\home
| net use k: \\fpserver\cd
|
| rem exchange mappings
| net use j: \\exchange\apps
| net use l: \\exchange\clicd
|
| rem MLS mappings
| net use m: \\mls\mlaw
| net use n: "\\mls\notice board"
| ----------------------------------------
|
| ----------------------------------------
|
| This is the onscreen feedback from running the above script.
|
| C:\>\\exchange\netlogon\test.bat
|
| C:\>net use h: /delete
| The network connection could not be found.
|
| More help is available by typing NET HELPMSG 2250.
|
|
| C:\>net use i: /delete
| The network connection could not be found.
|
| More help is available by typing NET HELPMSG 2250.
|
|
| C:\>net use j: /delete
| j: was deleted successfully.
|
|
| C:\>net use k: /delete
| The network connection could not be found.
|
| More help is available by typing NET HELPMSG 2250.
|
|
| C:\>net use l: /delete
| l: was deleted successfully.
|
|
| C:\>net use m: /delete
| The network connection could not be found.
|
| More help is available by typing NET HELPMSG 2250.
|
|
| C:\>net use n: /delete
| The network connection could not be found.
|
| More help is available by typing NET HELPMSG 2250.
|
|
| C:\>rem fpserver mappings
|
| C:\>net use h: \\fpserver\home
| System error 85 has occurred.
|
| The local device name is already in use.
|
|
| C:\>net use k: \\fpserver\cd
| System error 67 has occurred.
|
| The network name cannot be found.
|
|
| C:\>rem exchange mappings
|
| C:\>net use j: \\exchange\apps
| The command completed successfully.
|
|
| C:\>net use l: \\exchange\clicd
| The command completed successfully.
|
|
| C:\>rem MLS mappings
|
| C:\>net use m: \\mls\mlaw
| System error 85 has occurred.
|
| The local device name is already in use.
|
|
| C:\>net use n: "\\mls\notice board"
| System error 85 has occurred.
|
| The local device name is already in use.
|
| C:\>
|
| -----------------------------------------
| -----------------------------------------
| I have narrowed down the fault. It is being caused by the failure of
already
| mapped drives to properly register in T.S.. Drives mapped to two servers
(One
| AD, one member) are showing this fault, drives mapped to another server
(an
| AD/Exchange Server) are fine.
| The currently mapped drives show up as "Disconnected Network Drive" in
| explorer, although on clicking on them they act as normal. Even the
| decription of one of them shows a previous mapping to one server whereas
that
| server has gone and been replaced by another, whose files correctly show
when
| the drive is accessed.
| I suppose what I need is to be able to delete these drives. Using the net
| use command with a spare drive letter works perfectly, so it is a case of
| disconnecting these drive letters first before trying to re map them.
|
| Any ideas how to do this for a Terminal Server (all users) that will fix
| this problem?
|
| As a bit of background, we used to have a couple of Small Business NT4
| servers that we previously mapped these drives to, on a different domain
(it
| was a difficult upgrade). We are now all 2003 and the drives have moved
to
| the 2003 servers. It seems the T.S. config has got a bit confused.
|
| Thanks
|
|
|
|
| ""Ken Zhao [MSFT]"" wrote:
|
| > Hello,
| >
| > Thank you for using newsgroup!
| >
| > From your post, what is the exact error on the Terminal Server?
| >
| > When you run the logon script manually, you receive "system error 85"
error
| > message?
| >
| > For this error 85, I found the following article:
| > 271183: Error Message: System Error 85 Has Occurred. The Local Device
Name
| > Is Already in Use
| > http://support.microsoft.com/default.aspx?scid=kb;EN-US;271183
| >
| > If the issue still occurs, please try to change the provider order
under
| > Network and Dial-up Connections -> Advanced dropdown menu -> Advanced
| > Settings and move Microsoft Windows above Netware Network.
| >
| > Related article
| > ==============
| > 150807: Slow UNC Connections with Multiple Network Providers Installed
| > http://support.microsoft.com/?id=150807
| >
| > Thanks & Regards,
| >
| > Ken Zhao
| >
| > Microsoft Online Support
| > Microsoft Global Technical Support Center
| >
| > Get Secure! - www.microsoft.com/security
<http://www.microsoft.com/security>
| > ====================================================
| > When responding to posts, please "Reply to Group" via your newsreader
so
| > that others may learn and benefit from your issue.
| > ====================================================
| > This posting is provided "AS IS" with no warranties, and confers no
rights.
| >
| >
| >
| >
| >
| > --------------------
| > | Thread-Topic: net use
| > | thread-index: AcehglhkSKvajIUFQOuePkJ1jQJSiA==
| > | X-WBNR-Posting-Host: 207.46.19.168
| > | From: =?Utf-8?B?RGVsbGJveQ==?= <Dellboy@xxxxxxxxxxxxxxxx>
| > | Subject: net use
| > | Date: Mon, 28 May 2007 16:46:00 -0700
| > | Lines: 35
| > | Message-ID: <3B2B2C55-BE4D-4B5C-A4A3-BA77E6ED17D7@xxxxxxxxxxxxx>
| > | MIME-Version: 1.0
| > | Content-Type: text/plain;
| > | charset="Utf-8"
| > | Content-Transfer-Encoding: 7bit
| > | X-Newsreader: Microsoft CDO for Windows 2000
| > | Content-Class: urn:content-classes:message
| > | Importance: normal
| > | Priority: normal
| > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.2826
| > | Newsgroups: microsoft.public.windows.terminal_services
| > | Path: TK2MSFTNGHUB02.phx.gbl
| > | Xref: TK2MSFTNGHUB02.phx.gbl
| > microsoft.public.windows.terminal_services:7078
| > | NNTP-Posting-Host: tk2msftibfm01.phx.gbl 10.40.244.149
| > | X-Tomcat-NG: microsoft.public.windows.terminal_services
| > |
| > | Hi,
| > |
| > | I run a 2003 Terminal Server and am having trouble mapping network
| > drives.
| > | We have a user base that is able to access everything via their
desktop,
| > T.S.
| > | or both at will. Some people use the TS in the office, others only
for
| > remoe
| > | access.
| > |
| > | I have a logon script running through their AD profile. This works
fine
| > on
| > | desktops, but on T.S. I get errors 85 and 67, effectively stopping
the
| > | mapping or giving erroneous mapping (to a previous share that
worked).
| > |
| > | I share some drives through one server, some through another and some
| > from
| > | the T.S. itself. It works fine with one server, but not with the
other or
| > the
| > | T.S.
| > |
| > | All servers are Windows 2003 Standard edition and are fully patched
and
| > | up-to-date.
| > |
| > | I have rebooted all servers to lose any cached logon script files. I
.



Relevant Pages

  • RE: net use
    ... The network connection could not be found. ... mapped drives to properly register in T.S.. ... AD/Exchange Server) are fine. ... When you run the logon script manually, you receive "system error 85" error ...
    (microsoft.public.windows.terminal_services)
  • Re: Terminal Server Performance
    ... it appears that the bottleneck is with the ... I will have to analyze the data when the server starts going slow again. ... percentage in the network utilization?... ... the hard drives to see if commands are lining up during peak ...
    (microsoft.public.windows.terminal_services)
  • Re: Vista drive mapping to 2008 Server
    ... the server encountered a network ... "Kerry Brown" wrote: ... connect or map drives. ...
    (microsoft.public.windows.vista.networking_sharing)
  • RE: net use
    ... Please understand we do not support any script related issue. ... may use the following commands to delete the network drives: ... | AD/Exchange Server) are fine. ...
    (microsoft.public.windows.terminal_services)
  • Re: Migrating DC/File Server to new hardware...
    ... Any luck Little-Joe? ... Notice the only thing I changed was the server names...I also tried ... Not sure about creating a .bat file to run this script as I have not done ... searches and remaps the drives on the local machine is the way to go. ...
    (microsoft.public.windows.server.migration)