How to Fix “not recognized as an internal or external command” in Windows 10

-

|

Introduction

Recently I ran a “NETDOM JOIN” command but received “NETDOM is not recognized as an internal or external command”.

This guide details how I fixed this problem.

Steps to Fix “Not Recognized as an Internal or External Command”

Here are the high-level steps I took to resolve “not recognized as an internal or external command” error:

  • Confirm that then command is in %systemroot%\system32
  • Configure Path Environment Variable
  • Run DISM and SFC Commands

1
Confirm that the Command is in %systemroot%\system32

Most Windows commands are located in system32 folder. If you receive command not recognized error, the first thing to do is to confirm that command is in this folder.

Here are the detailed steps:

  • Type %systemroot%\system32 in the search bar. Then click the folder in the search results.
Steps to Fix "Not Recognized as an Internal or External Command"
  • Check if the command exists in this folder.

If the command exists in %systemroot%\system32, then the problem is an environmental variable issue. Proceed to step 2. Otherwise, some Windows files may be missing or corrupt. In that case, proceed to step 3.

2
Configure Environment Variable

Perform this task only if the program that gave “not recognized as an internal or external command” error is in system32 folder.

Here are steps:

  • Right-click Windows 10 start menu. Then select File Explorer.
not recognized as an internal or external command
  • When File Explorer opens, right-click This PC and select Properties.
not recognized as an internal or external command
  • At System settings, click Advanced system settings.
not recognized as an internal or external command
  • When Advanced System Properties opens, click Environment Variables.
  • Then, at Environment Variables settings, click Path. Then click Edit.
  • Finally, confirm that %systemroot%\system32 is on the list. If it is not, click New and add it to the list.

3
Run DISM and SFC Commands

Perform the task in this section if the program that gave “not recognized as an internal or external command” is not in %systemroot%\system32.

The steps will repair Windows 10..

  • Type cmd into the search bar. Then click Run as administrator.
not recognized as an internal or external command
  • At the User Account Control confirmation, click Yes.
not recognized as an internal or external command
  • At command prompt, type this command and press enter. Wait for SFC to finish and report back…
SFC /SCANNOW
  • When the SFC command completes, it may report that “Windows Resource Protection did not find any integrity violation”. Or that it found and replaced corrupt file. It may also report that it found corrupt files but could not fix the problem.
  • If SFC reports that it did not find integrity violations or that it found but could not fix it, type the command below. Then press enter.
DISM.exe /Online /Cleanup-Image /Restorehealth 

Wait for the command to finish then restart your computer.

  • When the command completes successfully (gets to 100%), restart your PC and check.

Conclusion

The steps in this guide should fix “not recognized as an internal or external command”.

If you have any question or comment use the “Leave a Reply” form found at the end of this page.

For more Windows fixes visit our Windows 10 Fix page.

  • Was this post Helpful?
  • YesNo

LEAVE A REPLY

Please enter your comment!
Please enter your name here

ADVERTISEMENTS

FEATURED POSTS

Best Christian Movies on Netflix

The 10 Best Christian Movies on Netflix

This Itechguide reviews the 10 best christian movies on Netflix. The movies are listed in reverse order – with the 10th movie...
How to Change Orientation in Google Docs

How to Change Orientation in Google Docs

This Itechguide teaches you how to change orientation in Google Docs. The guide covers steps to change orientation in Google Docs from...
How to Delete Google Photos

How to Delete Google Photos

This Itechguide teaches you how to delete Google Photos. The guide offers steps to delete Google Photos from the Google Photos App...
How to Install Windows 10 1909 Update Manually

How to Install Windows 10 1909 Update Manually

This Itechguide teaches you how to install Windows 10 1909 update manually. Windows 10 1909 (otherwise known as Windows 10 November update)...
How to Create a Poll on Facebook

How to Create a Poll on Facebook

This Itechguide teaches you how to create a poll on Facebook. You can create a poll on Facebook from a Facebook page...

AMAZON DEALS

TRENDING POSTS

Remote Desktop Connection

Remote Desktop Connection an Internal Error Has Occurred [Fixed]

Introduction I recently received the error message "Remote Desktop Connection an Internal Error Has Occurred". It was strange because...

Find My Samsung: Register and Use Samsung Find my Mobile

Introduction Ever wondered how you could find your Samsung phone if you lost it? Find my Samsung or Samsung...
What is the Difference Between PowerShell and CMD?

Windows Powershell vs CMD: Differences and Similarities

Introduction This short guide compares Windows PowerShell vs CMD (Windows command prompt). I will cover the history and nature...
Spotify No Longer Supports this Version of Microsoft Edge

Spotify No Longer Supports this Version of Microsoft Edge [Fixed]

Introduction When you open Spotify web player on Microsoft Edge, you may receive the error message "Spotify No Longer...
Windows 10 Won't Boot

Windows 10 Won’t Boot With Black Screen? 3 Ways to Fix It

Why Won't Windows 10 Boot Up? If your Windows 10 stops with a black screen, the first question in...

ADVERTISEMENTS

BEST OF ITECHGUIDES

How to Install and Configure WSUS in Windows Server 2019

How to Install and Configure WSUS in Windows Server 2019

Introduction This guide demos how to install and configure WSUS in Server 2019. Steps to Install...

How to Change Account Picture in Windows 10 (2 Methods)

Introduction This guide demos 2 methods to change account picture in Windows 10. Windows 10...
vpn windows server 2016

Routing and Remote Access in Windows Server 2016 (Part 3): Configure VPN

Introduction This is part 3 of a 4-part "Routing and Remote Access" series. This part covers how to configure...
How to Unshare a Google Doc

How to Unshare a Google Doc

This Itechguide teaches you how to unshare a Google Doc document. The guide covers steps to unshare a Google Doc document from...
how to install windows 10 1903 update manually

How to Install Windows 10 1903 Update Manually

Windows 10 1903 Update was released in May, 2019. But some users are not yet offered the update via automatic update. The...

RECENT POSTS

Best Crime Documentaries on Netflix

The 10 Best Crime Documentaries on Netflix

This Itechguide reviews the 10 best crime documentaries on Netflix. The documentaries are listed in reverse order – with the 10th documentary...
Best Netflix Series

The 10 Best Netflix Series

This Itechguide reviews the 10 best Netflix series. The series are listed in reverse order – with the 10th series on top....
How to Upload Video to Facebook

How to Upload Video to Facebook

This Itechguide teaches you how to upload video to Facebook. The guide covers steps to upload video to Facebook from a PC...
How to Delete a YouTube Video

How to Delete a YouTube Video

This Itechguide teaches you how to delete a YouTube video. The guide covers steps to delete a YouTube video from a PC...
How to Upload a PowerPoint to YouTube

How to Upload a PowerPoint to YouTube

This Itechguide teaches you how to upload a PowerPoint to YouTube. YouTube accepts .mp4 video formats. So, before...

AMAZON DEALS

MUST READ

How to Add to outline in google docs

How to Add to Outline in Google Docs

This Itechguide teaches you how to add to outline in Google Docs. The guide offers steps to add to outline in Google...
Best Family Movies on Netflix

The 10 Best Family Movies on Netflix

When you watch an awesome family movie on Netflix, it gives a lasting experience for the family. Most importantly, it creates beautiful...
Windows 10 store not Working

3 Quick Ways to Fix Windows 10 Store if it Won’t Open

Introduction Is Windows 10 store not working in your computer? If Windows 10 store is not working it may...
How to Wrap Text in Google Sheets

How to Wrap Text in Google Sheets (from a PC or the Apps)

This Itechguide teaches you how to wrap text in Google Sheets. The guide offers steps to wrap text in Google Sheets from...
How to Install Windows 10 1909 Preview Build

How to Install Windows 10 1909 (19H2) Preview Build

Introduction Windows 10 1909 Preview is available for Windows Insiders. Made available early September, 2019 you have to be...

AMAZON DEALS

By using this website you agree to accept our Privacy Policy and Terms & Conditions