WMIC Alias Not Found: How to Enable It

The Wmic functionality was deprecated for both Windows 10 and Windows 11

Reading time icon 2 min. read


Readers help support Windows Report. We may get a commission if you buy through our links. Tooltip Icon

Read our disclosure page to find out how can you help Windows Report sustain the editorial team. Read more

A message from our partner

Resolve multiple Windows PC issues and speed up your PC effortlessly with specialized software.

  • Download HelpSoft PC Cleaner and install it on your PC.
  • Click on Start Scan button to find corrupt or broken files that affect your PC.
  • Now the software will start the fixing process and boost your PC performance.
Download now HelpSoft PC Cleaner has been downloaded by 0 readers this month

Getting the WMIC alias not found error can be a real hassle when you want to find system information. Windows 10 and 11 systems come with the feature disabled by default, so that could be why it’s happening.

Else, you might be dealing with corrupted WMI repositories. Here’s how to fix that so you can regain access to WMIC:

How can I fix the Wmic alias not found error?

First, runย the WMI Diagnosis Utility, which will help you confirm if that is really your issue. If it is indeed, here’s what you need to do:

  1. Run the following command: winmgmt /verifyrepository.
  2. If the results are inconclusive, run: winmgmt /salvagerepository.
  3. Check again wmi repository had been repaired successfully: winmgmt /verifyrepository.

However, if this fails, it means that you will actually have to rebuild the entire WMI Repository from scratch. Don’t be alarmed, we’re here to show you exactly how.

  1. Open the Start menu, search for CMD Prompt and open the app.open CMD prompt
  2. To disable and stop the winmgmt service, run: net stop winmgmt.cmd prompt command 1
  3. Remove or rename C:\Windows\System32\wbem\repository.remove repository
  4. Open CMD Prompt as Administrator.cmd prompt as administrator
  5. In the CMD prompt Navigate to C:\Windows\System32\wbem\.navigate directory cmd
  6. Run the following command: for /f %s in (‘dir /b *.mof’) do mofcomp %s.run command cmd 1
  7. Now run the command: for /f %s in (‘dir /b en-us\*.mfl’) do mofcomp en-us\%s.cmd run command
  8. Restart your PC.

While Microsoft has removed WMIC from Windows 10 and 11, you can still fix the WMI access denied error after re-enabling the functionality on your PC.

If you encounter the WMI not recognized error, the steps outlined in this article will help you troubleshoot these issues quickly.

That is pretty much all you have to do in order to fix this dreaded error. Upon rebooting your PC, you will no longer have to deal with it.

Was this guide helpful to you? Share your experience with us in the comments section below.

More about the topics: Windows 11 Software & Apps

User forum

0 messages