netsh hangs when run from PowerShell 7.1.3 in Windows Terminal, cannot repro with new tabs #13093

Open
opened 2026-01-31 03:33:45 +00:00 by claunia · 0 comments
Owner

Originally created by @sba923 on GitHub (Mar 19, 2021).

Environment

Windows build number: 10.0.18363.1377
Windows Terminal version (if applicable): 1.7.572.0 Preview

PowerShell 7.1.3

C:\WINDOWS\system32\netsh.exe, product version 10.0.18362.1

Steps to reproduce

Run C:\WINDOWS\system32\netsh.exe

Expected behavior

Input should be possible at the following prompt

netsh>

Actual behavior

No input is possible, the netsh.exe process needs to be terminated.

This behavior cannot be reproduced:

  1. in PowerShell 7.1.3 not running within Windows Terminal
  2. in other / new Windows Terminal tabs running PowerShell 7.1.3
  3. in Windows PowerShell 5.1 running within Windows Terminal
  4. on another machine running Windows 10 build 19042.867

So there is something special about this particular instance of PowerShell 7.1.3 running in that particular Windows Terminal tab.

I can keep that tab open as long as needed in order to diagnose the issue.

Originally created by @sba923 on GitHub (Mar 19, 2021). # Environment ```none Windows build number: 10.0.18363.1377 Windows Terminal version (if applicable): 1.7.572.0 Preview PowerShell 7.1.3 C:\WINDOWS\system32\netsh.exe, product version 10.0.18362.1 ``` # Steps to reproduce Run `C:\WINDOWS\system32\netsh.exe` # Expected behavior Input should be possible at the following prompt `netsh>` # Actual behavior No input is possible, the `netsh.exe` process needs to be terminated. This behavior cannot be reproduced: 1. in PowerShell 7.1.3 not running within Windows Terminal 2. in other / new Windows Terminal tabs running PowerShell 7.1.3 3. in Windows PowerShell 5.1 running within Windows Terminal 4. on another machine running Windows 10 build 19042.867 So there is something special about this particular instance of PowerShell 7.1.3 running in that particular Windows Terminal tab. I can keep that tab open as long as needed in order to diagnose the issue.
claunia added the Needs-TriageNeeds-Tag-FixResolution-No-Repro labels 2026-01-31 03:33:45 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#13093