When you connect to terminal server, you may recognize the keyboard layout is different from console layout.
in order to eliminiate this problem,follow these steps:
1. On the terminal server, click Start, click Run, type regedit , and then click
OK.
2. Locate and then click the following registry subkey:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout
3. On the Edit menu, click Add Value, and then add the following registry
information:
Value name: IgnoreRemoteKeyboardLayout
Data type: REG_DWORD
Value data: 1
4. Restart server