February 18

Fix “Slmgr is Not Recognized as an Internal or External Command”


You are using the command SLMGR-REARM, command and suddenly an error occurs saying “Slmgr is not recognized as an internal or external command”. You would be wondering what is this error saying and how to deal with this error? But don’t worry I am going to tell you how you can deal with it.

SLMGR is a tool which manages the Windows Software License. REARM is a command used to reset the license status of the machine. When you install a pirated version of Windows 7, 8, or 10. You can use the Windows for one month free. After the one month period, you will encounter a problem which would show a message “This copy of Windows is not genuine.” But you cannot buy the genuine copy of Windows and you want to get rid of this message. The solution to this problem is very simple. All you have to is run a CMD command prompt called SLMGR-REARM command and your problem will be solved.

We all admit the fact that Windows is the most widely used operating system which has been proving itself as one of the best operating systems for PC and laptops. Sometimes you are busy on a computer doing a very important task and slmgr-rearm not working error appear on your computer screen which freaks you out. It is showed to you each time you turn your PC on and it is really frustrating.

fix slmgr is not recognized

You don’t need to worry about this problem anymore, I am going to tell you how you can solve this problem Slmgr Rearm Doesn’t Work. Not only this, but I will also tell you how to fix 0xc004d307 Error in order to maximize Allowed Re-arms. The same solution can also be applied on for another command errors too. The slmgr Rearm error is observed in almost all the version of Windows operating systems.

 “Slmgr is not recognized as an internal or external command” Reasons

Slmgr is not recognized as an internal or external command is an error which occurs when you are not using the genuine copy of Windows 10 and you are using a pirated copy of it. But there could be some more reasons for this error. The problem is sometimes more complex when you are fixing this issue using command prompt command “SLMGR-REARM” you get the same error and this error is still not solved.

The reasons behind this error could also be :

  1. One of the main reason could be registry entry error which is a program in the computer that determines whether to run the Windows Licensing Rearm or only restore the original license. All the data may have been either removed or reset due to which this error is happening.

0: It means the computer is rearmed.

1: Specifies the computer will not be rearmed.

2: You have to make sure that there is a space between SLMGR and Rearm and check once again the writing.

3: It means the command prompt as an Administration is required. So you have to check whether you have opened cmd as Admin or not.

4: Vbs file may have any other extension.

How to Fix Slmgr is not recognized Error

These are some of the easiest solutions to get rid of this freaky Error.

Method 1- Try “SLMGR /REARM” instead of “SLMGR -REARM” command:

you can fix this smlgr is not recognized in windows 7 by acting upon the steps given below:

You can get rid of the error saying slmgr is not recognized windows 7 by following these steps that are easy to use.

Step 1-Go to start, open the Command prompt and Run as Administrator.

slmgr is not recognized error

Step 2-  type cd \. And press  Enter.

Step 3- Type cd windows\system32.  And press Enter once again.

Step 4- You can now see C:\windows\system32>.

Step 5- Now try to use the command as written C:\windows\system32>SLMGR –REARM.

By carrying out these simple steps, The Smlgr is not recognized problem can be resolved easily without much effort.

Method 2- Rename the file and Fix the smlgr not recognized Error.

You can also solve this problem by renaming the smlgr extension. Follow the steps below to rename the smlgr extension.

Step 1: Go to Drive C  of your computer where it is installed and open the System 32 folder.

Step 2: Now keep scrolling down until you find ‘slmgr.vbs.REMOVEWAT’. Right click on it then remove the “.REMOVEWAT” and leave just the “slmgr.vbs” extension only.

Step 3: If a pop-up appears, click OK.

Step 4: Save the file and restart your computer.

By following the steps I mentioned above the slmgr REARM command not working error will be successfully resolved and you will no longer see this error on your computer screen when you restart it.

Method 3- Fix SLMGR error by Adding or Changing the  Path

If you are still facing the issue even after the running the right command in command prompt. There is a probability that the path slmgr is following is not appropriate. All you need to do is to add a proper path in environment variable and fix your error.

Perform these steps to add a proper path.

Step 1: Simply Go to my computer, right click and go to properties of your computer system. Select advance System Settings options and Search out the Environment Variable Section.

You are running command prompt as Run as admin, and even after typing the right command you are facing the slmgr issue. Then there is the chance that it is due to path problem in Windows environment variables section. So by simply adding the proper path in the environment variables section, you can fix the problem.

Step 1- Go to My Computer then right click on Select Properties. Then head to Advanced System Settings and look for Environment Variables section.

slmgr is not recognized

Step 2: Now right below system Variables, there will be written “PATH”, select it. Click on edit and add C:\Windows\system32 in the path block.

Step 3: Now save changes you just made. Use the same command and try to run as admin.

If you have done these steps, there will be very few possibilities that this error will occur.

So that’s it, In the guide above I tried my best to Fix slmgr is not recognized as an internal or external command error. These methods will definitely solve your problem of fixing the slmgr rearm error easily.

Also, Read


Q1. What causes the error message “Slmgr is not recognized as an internal or external command” to appear?

A1. The error message occurs when the slmgr command is not recognized by the command prompt or PowerShell. This can happen if the command is misspelled, not installed, or if the PATH variable is not set correctly.

Q2. How can I fix the “Slmgr is not recognized as an internal or external command” error?

A2. You can fix the error by checking if the slmgr command is installed on your system and that the correct spelling is used. If the command is not installed, you can download it from Microsoft’s website. You can also try setting the PATH variable correctly.

Q3. How do I check if the slmgr command is installed on my system?

A3. You can check if the slmgr command is installed on your system by opening the command prompt or PowerShell and typing “slmgr”. If the command is not recognized, it is not installed on your system.

Q4. What is the slmgr command used for?

A4. The slmgr command is used to manage Windows licenses and activation. It can be used to activate Windows, change the product key, check the license status, and perform other license-related tasks.

Q5. Can I use a third-party tool to fix the “Slmgr is not recognized as an internal or external command” error?

A5. Yes, you can use third-party tools like System File Checker (SFC) or Windows Repair Tool to fix the error. These tools can help repair damaged system files or registry entries that may be causing the error. However, it is recommended to use these tools only if you have experience using them or if you are guided by a professional.


You may also like