Trying to reset WMI Repository

I'm following some troubleshooting advice to reset my WMI Repository on my Windows 10. I've successfully carried out the following commands:

- Stopped winmgmt service

- Deleted C:\Windows\System32\wbem\repository

- Navigated to wbem folder in the command promt and successfully ran the script ‘for /f %s in ('dir /b *.mof') do mofcomp %s’

I am now trying to run the follow-up script for /f %s in ('dir /b en-us\*.mfl') do mofcomp en-us\%s but my computer responded with "File Not Found".

Where can I find this file, or am I able to leave out this part of the script and still have a functioning WMI?

Thanks!

My name is Jonathan Deives. I'm an Independent Advisor and I'll be glad to help you today.

This forum is for casual users, as your question is more complex, please use the Microsoft Q&A Forum (The System Administrators and IT Pro Forum) where they can help you better.

https://learn.microsoft.com/en-us/answers/quest...

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

 
 

Question Info


Last updated February 27, 2024 Views 130 Applies to: