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
- Disable and stop the winmgmt service
- Remove or rename C:\Windows\System32\wbem\repository
- Enable and start the winmgmt service
- Open a CMD prompt as Administrator
- In the CMD prompt Navigate to C:\Windows\System32\wbem\
- Run the following command:
for /f %s in ('dir /b *.mof') do mofcomp %s
Note: This will take a minute or so to complete.
- 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