Barcode scanner issue with Remote Desktop Connection RDP

Tomi Torok 6 Reputation points
2021-03-04T09:09:56.807+00:00

Hi everyone,

Does anyone know when an update regarding the RDP issue with the barcode scanner will be available?

I tried all the possible settings to delay the barcode decode, but when using the RDP session with the windows key combination on the remote desktop option, the barcode scanned on the remote desktop is always wrong and different from each other. I believe it's something the key combinations as the Shift key is doing something wrong.

As checked, this is an RDP related issue that appeared after a specific update.

Do you guys have any idea on how this thing can be solved? I must use the key combinations on the remote desktop. I know if i shiwtch this to the local computer, this does fix the problem.

Thanks,

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,170 questions
Remote Desktop
Remote Desktop
A Microsoft app that connects remotely to computers and to virtual apps and desktops.
4,250 questions
{count} vote

4 answers

Sort by: Most helpful
  1. Ahmad Tabbouch 10 Reputation points
    2023-06-29T01:34:53.45+00:00

    Hi,

    The solution is to adjust the way the remote desktop client transmits modifier keys.

    In the connection dialog, click 'Show Options'. Under the 'Local Resources' tab, in the 'Keyboard' group, change the key combination option to 'On This Computer'.

    It seems like the modifier keys are normally sent in a separate UDP packet, such that it's possible for the modifier keys to be received after the actual keystrokes. This could cause colons to be received as semicolons, uppercase letters to be received as lower case letters, etc.

    2 people found this answer helpful.

  2. Alexandre Veilleux 6 Reputation points
    2021-10-28T23:44:11.727+00:00

    I have found that through rdClient keystroke are sent as packet. Exception of control characters. That is why keyboard wedge scanner is difficult trought rdclient

    1 person found this answer helpful.
    0 comments No comments

  3. Grace HE 1,241 Reputation points
    2021-03-08T07:26:57.51+00:00

    Hi,
    This is a challenge when using the barcode scanner in keyboard mode. It simply acts as if it were a keyboard and is subject to the status of the keyboard.

    You might have better luck using the barcode scanner in application mode such as HID POS Scanner as opposed to keyboard mode, but your application would need to be barcode scanner aware. You can use the Barcode Scanner APIs from the Windows.Devices.PointofService namespace to interact with the barcode scanner. See https://aka.ms/pointofservice for more information.

    what kind of barcode scanner? wireless, or tethered\connected to a PC via USB? please contact the hardware provider and confirm with them if there is any newer driver version which is applied to current OS.

    ---If the suggestions above are helpful, please ACCEPT ANSWER. Really appreciate. This will also help others with similar issue to find this post quickly. ---


  4. Alex 1 Reputation point
    2021-05-31T21:33:52.383+00:00

    Same problem here, but only with Java programs, and doesnt matter if keys are send or not.... example:

    Server: Microsoft Windows Server 2019 updated to may 2021
    Client: Windows 10 21H1
    Barocode Sacanner: Datalogic QuickScan QM21X1 (Wireless with base, USB conecction)

    When i read a code in the local computer all seems to work ok.
    When i read a code in the remote computer (With remote desktop) all seems to work ok (Notepad, Word, cmd, excel...), but only with Java programs the code never is the same, allways put a zero, or a space, or a "ÿ", or something like that in the middle of the code, examples:

    Real Code: 000885213469
    Write in Notepad in rdp session: 000885213469
    Write in Word in rdp session: 000885213469
    Write in Excel in rdp session: 000885213469
    Write in cmd in rdp session: 000885213469
    Write in Java in rdp session (First time): 0008ÿ85213469
    Write in Java in rdp session (Second time): 00ó885213469
    Write in Java in rdp session (Third time): [0008 85213 469
    Write in Java in rdp session (Fourth time): 000885213469 (Corrrect!)

    I try to configure all posible solutions on the scanner (keyboard speed, configs...) and even in the remote desktop session file (.rdp) with the trick putting "keyboardhook:i:0" in the file...

    Nothing seems to work... any help? Thanks

    0 comments No comments