No Two-Letter Keyboard Code for Hungarian 101 Keyboard

Last reviewed: December 29, 1997
Article ID: Q166489
The information in this article applies to:
  • Microsoft Windows NT Workstation version 4.0
  • Microsoft Windows NT Server version 4.0

SYMPTOMS

You install the Hungarian input locale and select the "Hungarian 101-keys" keyboard (select properties when the Hungarian locale is highlighted). Then you select this input locale to be the default locale.

When you launch a command prompt and run "keyb" you will receive the following error message:

   There is no two-letter keyboard code for the current keyboard layout.

   Current keyboard Layout: Language 46  Sublanguage 1
   Current CON code page: 852

Also, when you start a MS-DOS application, like EDIT, some of the keys located to the left of the Enter key will not work as expected.

CAUSE

Windows NT is missing the mapping from the keyboard layout selected to the two-letter representation used by DOS.

RESOLUTION

To add this setting, perform the following steps:

 save the
following two lines in a file called HU.INI: \Registry\Machine\SYSTEM\CurrentControlSet\Control\Keyboard Layout\DosKeybCodes 0001040e: REG_SZ: hu

To make MS-DOS applications work, you need to set the system default locale to Hungarian.

STATUS

Microsoft has confirmed this to be a problem in Windows NT version 4.0. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

Keywords          : kbbug4.00 ntdosap NTSrvWkst
Version           : WinNT:4.0
Platform          : winnt
Issue type        : kbbug
Solution Type     : kbworkaround


================================================================================


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: December 29, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.