Windows 10 getmac error invalid class

Learn how to troubleshoot the ‘Windows 10 getmac error: Invalid Class’ issue. Explore the causes of the error and discover step-by-step solutions to resolve it and ensure your Windows 10 system functions smoothly

  1. Disable and stop the winmgmt service
  2. Remove or rename C:\Windows\System32\wbem\repository
  3. Enable and start the winmgmt service
  4. Open a CMD prompt as Administrator
  5. In the CMD prompt Navigate to C:\Windows\System32\wbem\
  6. Run the following command:
for /f %s in ('dir /b *.mof') do mofcomp %s

Note: This will take a minute or so to complete.

  1. Now run the command:
for /f %s in ('dir /b en-us\*.mfl') do mofcomp en-us\%s

Now restart the computer.

Keyword: –

Windows 10, getmac error, Invalid Class, troubleshooting, Windows 10 errors, system issues

Leave a Comment

%d bloggers like this: