system commands not working #13244

Closed
opened 2026-01-31 03:37:38 +00:00 by claunia · 5 comments
Owner

Originally created by @pauliee99 on GitHub (Mar 30, 2021).

Hello, am having issues running commands in the Windows Terminal app located in C:\Windows\System32 with cmd and powershell (ssh, ipconfig, e.t.c.) and i get the following error:

ssh : The term 'ssh' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the s
pelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ ssh
+ ~~~
    + CategoryInfo          : ObjectNotFound: (ssh:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

The directory C:\Windows\System32 is located in the environment variables and they are working properly in powershell and cmd applications.

Originally created by @pauliee99 on GitHub (Mar 30, 2021). Hello, am having issues running commands in the Windows Terminal app located in ```C:\Windows\System32``` with cmd and powershell (ssh, ipconfig, e.t.c.) and i get the following error: ``` ssh : The term 'ssh' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the s pelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1 + ssh + ~~~ + CategoryInfo : ObjectNotFound: (ssh:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException ``` The directory ```C:\Windows\System32``` is located in the environment variables and they are working properly in powershell and cmd applications.
claunia added the Needs-TriageNeeds-Tag-FixNeeds-Attention labels 2026-01-31 03:37:38 +00:00
Author
Owner

@DHowett commented on GitHub (Mar 30, 2021):

I suspect you are using a 32-bit powershell or 32-bit cmd. Can you run...

powershell

gci env:/PROCESSOR_*

cmd

set | findstr PROCESSOR_

Thanks

@DHowett commented on GitHub (Mar 30, 2021): I suspect you are using a 32-bit powershell or 32-bit cmd. Can you run... ### powershell ```powershell gci env:/PROCESSOR_* ``` ### cmd ```cmd set | findstr PROCESSOR_ ``` Thanks
Author
Owner

@pauliee99 commented on GitHub (Mar 30, 2021):

Thank you for your response @DHowett,
the result i got was:

Name                           Value
----                           -----
PROCESSOR_IDENTIFIER           AMD64 Family 21 Model 2 Stepping 0, AuthenticAMD
PROCESSOR_ARCHITECTURE         AMD64
PROCESSOR_REVISION             0200
PROCESSOR_LEVEL                21
@pauliee99 commented on GitHub (Mar 30, 2021): Thank you for your response @DHowett, the result i got was: ``` Name Value ---- ----- PROCESSOR_IDENTIFIER AMD64 Family 21 Model 2 Stepping 0, AuthenticAMD PROCESSOR_ARCHITECTURE AMD64 PROCESSOR_REVISION 0200 PROCESSOR_LEVEL 21 ```
Author
Owner

@DHowett commented on GitHub (Mar 30, 2021):

Very curious indeed. Do you have C:\Windows\System32\OpenSSH on your PATH?

@DHowett commented on GitHub (Mar 30, 2021): Very curious indeed. Do you have `C:\Windows\System32\OpenSSH` on your `PATH`?
Author
Owner

@pauliee99 commented on GitHub (Mar 30, 2021):

I just did and it looks like it fixed everything, thank you very much i appreciate your answer, i was looking for an answer for quite some time!

@pauliee99 commented on GitHub (Mar 30, 2021): I just did and it looks like it fixed everything, thank you very much i appreciate your answer, i was looking for an answer for quite some time!
Author
Owner

@DHowett commented on GitHub (Mar 30, 2021):

You're welcome! Sometimes we see systems where it never got updated -- usually when the system was running a much older version of Windows 10.

I'm glad it's fixed.

@DHowett commented on GitHub (Mar 30, 2021): You're welcome! Sometimes we see systems where it never got updated -- usually when the system was running a much older version of Windows 10. I'm glad it's fixed.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#13244