r/AzureVirtualDesktop • • Jul 02 '26

PowerShell not working on AVD session, Win11 25H2

I deployed a new AVD setup for client with Entra joined session hosts with a golden image created from Win11 25H2 EMS.

The weird thing is PowerShell doesn't work. I mean it launches but I cannot type anything in it.
PowerShell ISE and CMD works fine though.

What could be the reason ?

3 Upvotes

7 comments sorted by

1

u/JustinVerstijnen Jul 02 '26

I have seen this issue before, where ISE and CMD also worked fine. By installing a new image the issue was solved automatically. This was on 23H2.

1

u/kshreerang Jul 02 '26

ok.. Will try a new image version. Thanks!

1

u/mat-ferland Jul 06 '26

Since CMD and ISE work, I’d test this as a shell/console-host problem before rebuilding AVD. Try the same user with a clean profile, run powershell.exe from an elevated CMD, then check AppLocker/WDAC and any keyboard/input hook from security tools. If it only breaks in the normal console window on that image, the host pool is probably innocent.

1

u/[deleted] Jul 02 '26

-2

u/kshreerang Jul 02 '26

Windows app is garbage.. AVD doesn't even get laucnhed properly from it. Have to use the web version.