I'm using the macOS remote desktop client to connect to a windows machine, but every time i sign in the "us" keyboard layout is automatically selected. My macOS keyboard layout is "us-international" so i'm expecting that layout to also be used on the remote desktop. I now have to create a registry key Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout\IgnoreRemoteKeyboardLayout with the value 1.
Is there a better solution that doesn't ignore layout changes for other users connecting to this machine? Or a way to make the macOS remote desktop client select the correct layout so that it also works correctly when i connect to different machines?