Possible keyboard mapping bug in Windows Server 2025 Datacenter: Azure Edition VM (UK keyboard layout via Azure Bastion using Entra ID authentication)

NITIN GUPTA 1 Reputation point
2026-05-15T17:36:46.7966667+00:00

Hello,

I’m seeing what appears to be a keyboard mapping issue on an Azure VM running Windows Server 2025 Datacenter: Azure Edition. Wondering if others also facing the same issue and have any fix.

Environment : Azure VM

OS: Windows Server 2025 Datacenter: Azure Edition

UK language pack installed

UK keyboard layout configured

Connecting via Azure Bastion using Entra ID authentication from a UK laptop using a physical UK keyboard

Issue

Two keys near the Enter key appear to be swapped when connected to the VM through Bastion:

Pressing Shift + @ produces ¬

Pressing Shift + # produces @

This is opposite to the behaviour on the local UK laptop keyboard.

Additional observations

The On-Screen Keyboard inside the VM displays the correct UK layout

Clicking the keys using the On-Screen Keyboard produces the correct characters

The issue only occurs when typing from the physical keyboard through the Bastion session.

Troubleshooting already attempted

Verified UK keyboard layout is selected in Windows settings

Removed/re-added UK keyboard

Confirmed local laptop keyboard works correctly outside Bastion.

Restarted the VM/session

Has anyone seen this behaviour specifically with Windows Server 2025 Azure Edition VMs or RDP keyboard mapping?

Is there a known issue or recommended fix for UK keyboard layouts in this OS version?

Thanks

Azure Bastion
Azure Bastion

An Azure service that provides private and fully managed Remote Desktop Protocol (RDP) and Secure Shell (SSH) access to virtual machines.


3 answers

Sort by: Most helpful
  1. AI answer

    2026-05-15T17:37:06.1033333+00:00

    The described behavior matches a known class of keyboard/input issues introduced by recent Windows updates, including on Server 2025 builds, where keyboard handling in certain environments (WinRE, RDP, or specific builds) is incorrect until a fix is applied.

    From the available information:

    • There is a confirmed input-related bug after the October 14, 2025 security update (KB5066835) where USB input devices misbehave in specific environments and are later fixed by an out-of-band update (KB5070773) and subsequent builds.
    • A similar keyboard/input bug in pre-release builds (26220.7070) was explicitly confirmed and then fixed in build 26220.7262.

    Given this, the most reliable remediation path for the Azure Windows Server 2025 Datacenter: Azure Edition VM is:

    1. Ensure the VM is fully updated
      • Install all available Windows Updates on the VM, including any cumulative updates released after KB5066835.
      • If applicable for the build in use, ensure the out-of-band update equivalent to KB5070773 (or later cumulative updates that supersede it) is installed, as these contain fixes for input/USB issues.
      • After updates, restart the VM and re-test the RDP session with the UK keyboard.
    2. Verify the RDP client and session settings
      • Confirm the RDP client on the UK laptop is up to date.
      • In the RDP client options, ensure keyboard input is configured to be applied on the remote computer (not locally), then reconnect and test.
    3. Validate that the issue is build-specific
      • If the problem persists even after installing the latest updates, compare behavior on another Windows Server 2025 (or different SKU) VM with the same UK layout and RDP client to confirm it is specific to the current build/edition.

    If the VM is already on the latest cumulative update and the issue still reproduces, this most likely indicates an unresolved keyboard mapping bug in that specific Server 2025 Azure Edition build. In that case, the recommended next step is to open a support case so the issue can be captured as a regression (similar to the previously fixed keyboard/WinRE and Dev/Beta build issues) and addressed in a future update.


    References:

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

    1 person found this answer helpful.
  2. NITIN GUPTA 1 Reputation point
    2026-05-18T09:19:46.5733333+00:00

    I found the fix

    SHIFT + ALT will swap the backtick key to the one before Esc and @ and # will work again in UK keyboard.

    Was this answer helpful?


  3. kagiyama yutaka 5,410 Reputation points
    2026-05-16T15:53:48.1166667+00:00

    I think the issue comes from RDP using ur client‑side layout, not the server 2025 VM. on ur local Windows keep only English (UK) in the keyboard list, sign‑out the RDP session once, then reconnect.

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.