Windows Management Instrumention ADAP failed

Marni Thurston 0 Reputation points
2024-03-18T16:48:43.1066667+00:00

Windows Managment Instrumentation ADAP failed error 0x8004100e

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,555 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Karlie Weng 13,951 Reputation points Microsoft Vendor
    2024-03-20T01:46:25.7433333+00:00

    Hello,

     You can try to rebuild your wmi. Please follow this link to try in your PC :

    https://techcommunity.microsoft.com/t5/ask-the-performance-team/wmi-rebuilding-the-wmi-repository/ba-p/373846

    a. Re-register all of the dlls and recompile the .mofs in the wbem folder and re-registering WMI Service and Provider. You can use the following script by saving to txt file then renaming to .bat and running from command prompt with admin right and changing focus to following directory: C:\Windows\System32\Wbem.

    @echo off

    sc config winmgmt start= disabled

    net stop winmgmt /y

    %systemdrive%

    cd %windir%\system32\wbem

    for /f %%s in ('dir /b *.dll') do regsvr32 /s %%s

    wmiprvse /regserver

    winmgmt /regserver

    sc config winmgmt start= auto

    net start winmgmt

    for /f %%s in ('dir /s /b *.mof *.mfl') do mofcomp %%s

    b. Reboot the machine and test WMI

    Next, check the repository for consistencies:

    For Windows Vista , Windows 7 , Windows Server 2008, and Windows Server 2008 R2 , you can run winmgmt /verifyrepository from a command prompt.

    For Older OS like Windows XP and Windows Server 2003 run: WmiDiag tool with the checkconsistency option. For example: WmiDiag checkconsistency


    If the Answer is helpful, please click "Accept Answer" and upvote it.

    0 comments No comments