Event ID - 4099

Event Id4099
Sourcewmiadapter
DescriptionOpen of service failed.
Event InformationExplanation :
The performance counter DLL could not communicate with the Windows Management Instrumentation (WMI) Performance Adapter service. WMI allows developers to define high-performance objects. WMI includes a performance counter DLL that makes these performance objects visible in Perfmon. This DLL communicates with WMI through the named WMI Performance Adapter service.

When the performance counter DLL cannot communicate with the WMI Performance Adapter service, WMI high-performance objects are not visible in Perfmon. The most common reason they cannot communicate is that the service is not enabled (start type=disabled). Most high-performance objects come from device drivers such as those commonly used for batteries in laptops.

User Action :
To verify that the WMI Performance Adapter service is enabled

Click Start, point to Control Panel, point to Administrative Tools, and then double-click Services. 
Double-click WMI Performance Adapter. 
In the Startup type list, click Manual.

To verify that there are high performance counter objects in WMI

Use Cscript to run the following script:
Find all performance classes
computer = “.”
namespace = “root\wmi”

Set WMISvc = GetObject(“winmgmts:\\” & computer & “\” & namespace)
Set colSWbemObjectSet = WMISvc.Subclassesof(“Win32_Perf”)
for each cls in colSwbemObjectSet
wscript.echo “Class name: ” & cls.path_
next
The output should look approximately like this:
Class name: \\YOUR-MACHINE\ROOT\wmi:Win32_PerfRawData
Class name: \\YOUR-MACHINE\ROOT\wmi:Win32_PerfFormattedData
Class name: \\YOUR-MACHINE\ROOT\wmi:MSBatteryClass
Class name: \\YOUR-MACHINE\ROOT\wmi:BatteryTemperature
Class name: \\YOUR-MACHINE\ROOT\wmi:BatteryStatus
If Win32_PerfRaw and Win32_PerfFormattedData are the only subclasses, then there are no high-performance objects in WMI. If there are high
Reference Links

Catch threats immediately

We work side-by-side with you to rapidly detect cyberthreats
and thwart attacks before they cause damage.

See what we caught

Did this information help you to resolve the problem?

Yes: My problem was resolved.
No: The information was not helpful / Partially helpful.