RE: net use



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 have
| run the logon script direct from the server using the run command - same
| problems "system error 85".
|
| I cannot disconnect the current drive letters (showing as "Disconnected
| Network Drive" - although these drives do access network shares on all
the
| affected servers mentioned above.
|
| I can map manually using the Windows Explorer, however it will not work
| using Net Use in the logon script.
|
| Any ideas?
|
| Thanks
|
|
|
|


.



Relevant Pages

  • Re: Terminal Server Performance
    ... when we are having problems and it seems the network is fine during the ... I will have to analyze the data when the server starts going slow again. ... "Jeff Pitsch" wrote: ... the hard drives to see if commands are lining up during peak ...
    (microsoft.public.windows.terminal_services)
  • Re: Vista drive mapping to 2008 Server
    ... It sounds like something in the network infrastructure may not be working with some of these features. ... Try each setting both on the server alone, a client alone, then both. ... After doing this map a drive by any method then see if it loses the ... > No logon script used in this instance and it maps drives not used by> any ...
    (microsoft.public.windows.vista.networking_sharing)
  • 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)
  • Windows XP Disconnected Network Drive problem - Drives lose mapping
    ... On our network, we run a logon script every time a user logs in to the ... This script should map all the network drives that an employee ...
    (microsoft.public.windowsxp.help_and_support)