Windows 10 command prompt is not recognizing any basic commands

I have read forums, but have not found anything useful about what to do, with someone suggesting it might be with my PATH variable, but I don't know how to fix that.

  • Output of ipconfig: ipconfig output
  • Output of PATH:
    PATH=C:\Program Files\AdoptOpenJDK\jdk-8.0.242.08-openj9\bin;C:\Program Files\AdoptOpenJDK\jdk-11.0.6.10-openj9\bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Program Files\AdoptOpenJDK\jdk-14.0.0.36-openj9\bin;C:\ProgramData\Oracle\Java\javapath;C:\Program Files\AdoptOpenJDK\jdk-13.0.2.8-hotspot\bin;C:\Program Files\aircrack-ng-1.6-win\aircrack-ng-1.6-win\bin;C:\Program Files\PuTTY\;C:\Users\phili\AppData\Local\Microsoft\WindowsApps;
    I do not know what the default is or whether this is any good: Environment Variables
2

1 Answer

You are missing these critical paths, I got these from a clean install of windows 10 1909:

C:\WINDOWS\system32;
C:\WINDOWS;
C:\WINDOWS\System32\Wbem;
C:\WINDOWS\System32\WindowsPowerShell\v1.0\;
C:\WINDOWS\System32\OpenSSH\;
C:\Users\<your User name here>\AppData\Local\Microsoft\WindowsApps;

There may be others you need to add for specific non windows programs to work correctly also.

4

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like