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.
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.
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:
- Open File Explorer.
- Right-click “This PC,” and among the options displayed, select “Properties.”
- In the dialog box now opened before you, click “Advanced system settings.”
- Now, click on the “Advanced” tab.
- Click on the option “Environment Variables” at the bottom right corner of the window.
- In the “System variables” section, under the “Variables,” look for a variable name, “Path” once found, click on the option.
- Now, in the bottom right corner, you’ll find three options, “New,” “Edit,” “Delete,” and click on “Edit.”
- Click on “New” and “copy-paste” the command below and click “OK.” %systemroot%\system3. Click “OK” again. Before you exit, click “Apply” and “OK.”
- 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.
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.
- A simple way to check if it does or not is to head over to: “C:\Windows\System32”
- This location contains the system files of all the applications that the system installs.
- Finally, if you are using a 32-bit system, you can find the file at: “C:\Windows\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.
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.
- 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.
- Now, open Command Prompt. There are several ways to open the command prompt;
- Then, press Windows+X to open the Power Users menu, and then click “Command Prompt” or “Command Prompt (Admin).”
- Press Windows+R to open the Run window, and type in “cmd” or “cmd.exe.”
- 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.
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.
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.
Sydney Butler is a technology writer with over 20 years of experience as a freelance PC technician and system builder. He’s worked for more than a decade in user education. On AM Tricks, he focuses on creating commerce content with simple buying advice and carefully chosen product suggestions.