D
D
Dmitry2020-11-03 14:15:01
Windows
Dmitry, 2020-11-03 14:15:01

How to fix broken WMI management instrumentation on Windows 10 Pro?

Windows 10 Pro
Problem - the WMI toolkit stopped working, error 0x80041001 with any access, the service itself starts normally, there are no intelligible errors in the events. Example:

C:\WINDOWS\system32>wmic computersystem get "Name"
ОШИБКА.
Код: 0x80041001
Описание: Общий сбой.

None of the recovery methods described on the Internet help (cleaning the repository, recompiling MOF files, re-registering DLLs, etc.), just as "hard" methods do not help, like deleting the wbem folders from system32 and syswow64 followed by running sfc /scannow to restore system files. I would not want to reinstall the operating system ...
Maybe someone faced such a problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Shumov, 2020-11-03
@dshumov

Re-sync or rebuild the WMI Repository

net stop winmgmt
cd C:\Windows\System32\wbem\
Rename  repository  old_repository
net start winmgmt
for /f %s in ('dir /b *.mof') do mofcomp %s
for /f %s in ('dir /b en-us\*.mfl') do mofcomp en-us\%s

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question