From 2211d9f78e84a947d1b5a248c42a8ed49cc9a4de Mon Sep 17 00:00:00 2001 From: Rainhard <79083189+tristanRW@users.noreply.github.com> Date: Mon, 23 Sep 2024 22:19:22 +0800 Subject: [PATCH] Fix keyboard-layout being changed to US on RDP connection Added the IgnoreRemoteKeyboardLayout Registry Key to prevent automatic changes to the keyboard layout. As mentioned in (this article)[https://poweradm.com/ignoreremotekeyboardlayout-windows-rdp/] the rdp server adds and activates the US keyboard-layout if the keyboard-layout of the client does not match the servers. Since our client is on linux there are many cases where this is not given, so it is better to let the user choose a layout on windows. --- oem/RDPApps.reg | 3 +++ 1 file changed, 3 insertions(+) diff --git a/oem/RDPApps.reg b/oem/RDPApps.reg index acb5aac..9d3f423 100644 --- a/oem/RDPApps.reg +++ b/oem/RDPApps.reg @@ -8,3 +8,6 @@ Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon] "AutoAdminLogon"="0" + + [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout] + "IgnoreRemoteKeyboardLayout"=dword:00000001