Bad cmd.exe is executed when terminal is opened as admin #13430

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

Originally created by @rhsCZ on GitHub (Apr 14, 2021).

Windows Terminal version (or Windows build number)

1.6.10571.0

Other Software

Windows Command prompt ver. 10.0.19042.867

Steps to reproduce

Run Windows terminal as admin and 64bit Win 10, using default settings

Expected Behavior

to always run C:\Windows\System32\cmd.exe

Actual Behavior

when i choose to run Command Prompt it runs C:\Windows\SysWOW64\cmd.exe which can't run anything from C:\Windows\System32 even if it is in %PATH% but only from C:\Windows\SysWOW64

Originally created by @rhsCZ on GitHub (Apr 14, 2021). ### Windows Terminal version (or Windows build number) 1.6.10571.0 ### Other Software Windows Command prompt ver. 10.0.19042.867 ### Steps to reproduce Run Windows terminal as admin and 64bit Win 10, using default settings ### Expected Behavior to always run C:\Windows\System32\cmd.exe ### Actual Behavior when i choose to run Command Prompt it runs C:\Windows\SysWOW64\cmd.exe which can't run anything from C:\Windows\System32 even if it is in %PATH% but only from C:\Windows\SysWOW64
claunia added the Needs-TriageNeeds-Tag-FixNeeds-Attention labels 2026-01-31 03:42:31 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#13430