Microsoft KB Archive/244846

= MAP Command in Nwscript.exe Does Not Work with ASCII Codes Above 127 in Network Provider Name =

Article ID: 244846

Article Last Modified on 3/1/2007

-

APPLIES TO


 * Microsoft Windows NT Server 4.0, Terminal Server Edition Service Pack 4

-



This article was previously published under Q244846



NOTE: The information in this article applies to the French version%3 of Windows NT Server version 4.0 SP4, Terminal Server Edition.

IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry



SYMPTOMS
After you install French Terminal Server Service Pack 4 (SP4) and the Client for NetWare, the MAP command in the NetWare login script may not work. If you remove SP4, the MAP command works correctly again.



CAUSE
This problem has been encountered with the French edition of Terminal Server SP4, but may also occur with any language.

In the French version of Terminal Server SP4, the name of the network provider for NetWare is "Rseau Netware ou compatible." In SP3, it is "Reseau NetWare ou compatible" with no accented letter. The ASCII code for the accented "e" in SP4 is above 127, and therefore the OEM code (MS-DOS) and the ANSI code (Windows) are not the same.

During initialization, Nwscript.exe reads the name of the provider in the registry and converts the extended characters using the OEM code page instead of the ANSI code page. It then tries to map a drive, which is expecting an ANSI string and not an OEM string. This call does not succeed and generates a "The specified network provider name is invalid" (ERROR_BAD_PROVIDER) error message.



WORKAROUND
WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

To work around this problem, replace all registry entries for the network provider to make sure extended characters (ASCII code above 127) are not used.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

Additional query words: gsnw

Keywords: kbenv kberrmsg kbprb KB244846

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.