question

TomiTorok-8462 avatar image
1 Vote"
TomiTorok-8462 asked AlexandreVeilleux-1820 answered

Barcode scanner issue with Remote Desktop Connection RDP

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-serverremote-desktop-services
· 4
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi,
Thank you for posting your query. According to your description above, I would appreciate if you can help me with more information. And here are some suggestions.

  1. What’s the os version of your server and your client?

  2. What’s the latest version and the former version of the RDP you are using?

  3. Does this problem happens when using specific application?

0 Votes 0 ·

Hello Grace,

Thanks for your reply. Please see below reply for your questions:

  1. OS version of server is: Windows Server 2016 Standard, my local laptop windows version is Windows 10

  2. Version of RDP is: a. Shell version 10.0.17763 and Control version is 10.0.17763

  3. This issue appears for every application, regardless where the information is pasted from the barcode scanner. (notepad, word, excel, etc.)
    More exactly the issue appears because of the Shift key, which modifies the scanned data.
    For example, if a barcode is scanned : -Inventory12345$ instead of putting the actual value, the wrong value randomly is transferred, as following: -iNVentory1234454. As you can see, the $ sign has been modified to 4, which means that when pasting the information system does not "press" the Shift key.


0 Votes 0 ·

This would be a brief description of the issue. The key combination of specific key + shift screws things up.
The temporary solution is to activare the key combination on the local computer, not on the remote desktop, however, we must use the key combinations on the remote computer.
Please let me know if there is any additional information

0 Votes 0 ·

Hi,

We are looking forward to your reply and ready to help.

0 Votes 0 ·
GraceHE-MSFT avatar image
0 Votes"
GraceHE-MSFT answered MusialMichaelAUTOSOLPSSLAN-5990 commented

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. ---

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi GraceHE,
I would like to jump into this discussion. We are using Zebra CS4070 Barcode Scanner but I had the same issue with each barcode scanner when you try to scan into RDP session and the keystrokes are executed on the remote computer. It works better with fast USB scanners but never perfectly unless you set the key kombinations to be executed on the local machine before connecting to an RDP client.

Its a bit confusing.

Key Kombinations like ALT+F4 are working on the remote machine but ALT+TAB is executed on the local machine.

Is there a place where we can define which key kombinations are on local or remote machine? Maybe in the registry?

What is the difference between sending the same data exected on the local machine and send to the remote machine or executed directly on the remote machine?

I even tired to change the Terminal Server Session Host settings to use only TCP when opening RDP sessions but this did not help as well.

Best regards

0 Votes 0 ·
Alex-8205 avatar image
0 Votes"
Alex-8205 answered

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

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

AlexandreVeilleux-1820 avatar image
0 Votes"
AlexandreVeilleux-1820 answered

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

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.