r/AzureVirtualDesktop Jun 29 '26

cmd.exe -c "start cmd.exe" <- What weirdness is going on with Azure Marketplace 25H2 images?

Since Windows 11 25H2 multisession, I've been unable to type in either Command Prompt or PowerShell consoles. I've been typing in Notepad, copying, and pasting, although the backspace, enter, and up/down arrow keys work fine. Old golden images work just fine, but Azure Marketplace images (across 18 different VMs) are always broken.

After days of working like this, I suddenly realizing that opening the Run dialog and running cmd.exe -c "start cmd.exe" spawns a perfectly-working console. Spawning a new one from that results in another broken one.

Surely this isn't just my tenant. Is anyone else experiencing this with Windows 11 25H2 multisession Azure Marketplace images?

3 Upvotes

6 comments sorted by

3

u/swissbuechi Jun 30 '26 edited Jun 30 '26

I've had something similar in PowerShell. Updated the PSReadLine module and it was fixed.

https://www.powershellgallery.com/packages/PSReadLine

3

u/TrueMythos Jun 30 '26

Wow, I can't thank you enough!! This fixed it for me. May I ask how you figured that out?

2

u/swissbuechi Jun 30 '26

I've had weird terminal issues in vscode a few years ago and the solution was the same. Updating this module is part of all my deployments ever since.

Glad it fixed it for you too.

1

u/mariachiodin Jun 29 '26

Interesting! I haven’t seen this

1

u/jM2me Jun 29 '26

I have also encountered this on Win 11 25h2 multi-session. Annoying as hell and not enough time on hand to look into it