Fix: Command Is Not Recognized As An Internal Or External Command On Windows 11

Windows is an extremely user-friendly interface, sometimes leading to problems. This article will explore how to rectify the issue- command is not recognized as an internal or external command on windows 11.

win 11

Windows OS stores a list of paths to these files, commonly called Windows Environment Variables. Thus, the alteration in these files makes it problematic to run the program when run from the Run window.

When such problems arise, the user faces an error that prints out on the screen;

<Name of program> command is not recognized as internal or external.

Read this article on System Service Exception error.

Procedures To Fix: Command Is Not Recognized As An Internal Or External Command On Windows 11

The fix to this error is quite simple, and you can do it by yourself by simply following the steps mentioned. You don’t need to have in-depth knowledge of the error or about computers to resolve the issue.

Method 1

This method is easy to follow and complete; most of the time, it is all you need. Follow the steps to fix the error command is not recognized as an internal or external command on windows 11:

  1. Open File Explorer.win + e
  2. Right-click “This PC,” and among the options displayed, select “Properties.”folder properties
  3. In the dialog box now opened before you, click “Advanced system settings.”
  4. Now, click on the “Advanced” tab.properties advanced
  5. Click on the option “Environment Variables” at the bottom right corner of the window.Envi variables
  6. In the “System variables” section, under the “Variables,” look for a variable name, “Path” once found, click on the option.
  7. Now, in the bottom right corner, you’ll find three options, “New,” “Edit,” “Delete,” and click on “Edit.”
  8. Click on “New” and “copy-paste” the command below and click “OK.” %systemroot%\system3. Click “OK” again. Before you exit, click “Apply” and “OK.”
  9. Finally, we safely Restart the PC.

After restarting the PC, the programs should run smoothly and without any error; however, if the problem persists, we should apply step 2.

Method 2

This, too, is a simple method like method 1, but it does require some additional steps. However, follow the steps to fix the issue- the command is not recognized as an internal or external command on windows 11.

Check If The Executable Program File Exists In The System

This error could also happen if the actual program we are trying to run does not exist in the system itself.

  1. A simple way to check if it does or not is to head over to: “C:\Windows\System32”System32
  2. This location contains the system files of all the applications that the system installs.
  3. Finally, if you are using a 32-bit system, you can find the file at: “C:\Windows\SysWOW64”syswow64

Complete these steps and move to further steps to rectify the error- command is not recognized as an internal or external command on windows 11.

See Also: How To Solve Problem With Wireless Adapter Or Access Point? [Guide]

Running Through Command Prompt

Follow the steps carefully to resolve the error command is not recognized as an internal or external command on windows 11.

  1. After you have found the file at “C:\Windows\System32” or “C:\Windows\SysWOW64” if you are using a 32-bit system, right-click on the file and click on “Copy as path.” This copies the path of your file in the clipboard.
  2. Now, open Command Prompt. There are several ways to open the command prompt;command prompt
  3. Then, press Windows+X to open the Power Users menu, and then click “Command Prompt” or “Command Prompt (Admin).”
  4. Press Windows+R to open the Run window, and type in “cmd” or “cmd.exe.”
  5. Finally, you can also search for Command Prompt in the Start menu, or you can simply enter the words in “cmd” in Cortana or Search (magnifying glass icon)

Power Shell is a much more powerful tool and will do the same thing as Command Prompt.

Method 3

After opening “Command Prompt” or “Power Shell,” paste the file path you copied in step 1 and press enter.powershell

This program will run in the “Command Prompt” or “Power Shell.”

At times, it is also possible that the Windows Service will fail to connect. It is always good to have knowledge about the gadget you are using.

Conclusion

Thus, if the command is not recognized as an internal or external command on windows 11, then follow the above procedure step by step with utmost care. These steps will surely solve the problem and fix the issue. Hoping this article has helped you to crack the issues in your Windows 11.

See Also: Fix: Discord Fatal JavaScript Error + Solutions

Recommended For You