Agent – [I] (DmiWmi) Failed to initialize WMI: 0x80010106
Introduction
The error recorded in the log ““Failed to initialize WMI: 0x80010106” occurs when WMI is not functioning correctly on the operating system, resulting in missing information on the machine’s record:
Explanation
WMI (Windows Management Instrumentation) is a Windows management infrastructure that provides access to configuration and status information for operating systems, devices, and applications. It offers a set of interfaces for system administration and monitoring, allowing administrators and developers to gather information about hardware, software, network configurations, processes, and more. It is widely used for automating system management tasks and can be accessed through scripts, administrative tools, or other applications.
What does WMI do?
- System Monitoring: Retrieves detailed information about the system’s hardware and software.
- Process Management: Monitors and manages running processes.
- Network Information: Collects data about network configuration.
- Device Management: Allows obtaining details about connected devices and their configurations.
- Remote Execution: Allows executing commands remotely on computers in the network.
Does WMI come with the operating system?
Yes, WMI comes pre-installed in all modern versions of Windows, including Windows 7, 8, 10, and Windows Server versions. It is an integral part of the operating system and does not require separate installation. However, there may be cases where WMI becomes corrupted or disabled, leading to service failures or error generation.
Tests
It is possible to validate the WMI execution failure on the host with missing information on the machine’s record using the commands below by running PowerShell as Administrator:
# Get operating system information
$os = Get-WmiObject -Class Win32_OperatingSystem
Write-Host "Operating System: $($os.Caption) $($os.Version)"
# Get BIOS release date
$bios = Get-WmiObject -Class Win32_BIOS
Write-Host "BIOS Release Date: $($bios.ReleaseDate.Substring(0, 8) -replace '(....)(..)(..)', '$3/$2/$1')"
# Get computer serial number
$computador = Get-WmiObject -Class Win32_BIOS
Write-Host "Computer Serial Number: $($computador.SerialNumber)"
# Get system product name
$produto = Get-WmiObject -Class Win32_ComputerSystem
Write-Host "System Product Name: $($produto.Model)"
The expected result is that the data should reflect the correct WMI functionality, as shown in the example below:
Fix
A summary of what may correct WMI issues caused by the Partner / Customer. If the instructions do not fix the issue, contact Microsoft support.
When you encounter the error “Failed to initialize WMI: 0x80010106”, it usually indicates a problem with the WMI service (Windows Management Instrumentation) or with the WMI repository on your system. Here are some steps to resolve this issue:
Fixing the WMI feature
All command executions must be done in the Command Prompt as ADMINISTRATOR.
1. Stop and disable the “Winmgmt” and disable service:net stop Winmgmt /y
sc config Winmgmt start= disabled
2. Restart the computer
3. After starting, run the command:winmgmt /resetrepository
4. Restart the computer again
Note: Wait up to 1 hour to verify if the data is complete on the machine’s record. If the issue persists, look for other methods to repair the WMI feature on the operating system.
If you still need support after following all the instructions, collect the logs and register a case at “https://support.almaden.ai/” with the evidence of the reported case.