Getting Data In

Splunk gets WMI Error 80041003 but WBEMTEST succeeds

mmartin801
Engager

On a new Splunk install on a Windows server, I followed the "HOWTO Enable WMI Access for Non-Admin Domain Users" instructions. But when running the suggested test (splunk cmd splunk-wmi -wql "select * from win32_service" -namespace \\root\cimv2), it returns "ERROR WMI - Error occurred while trying to retrieve results from a WMI query (error="Current user does not have permission to perform the action." HRESULT=80041003). I don't get this error when I make the Splunk service account a domain admin.

However, when the Splunk service account is NOT a domain admin and I run the Splunk Troubleshooting guide's WBEMTEST, it successfully returns WMI results. The only way I can force an error with WBEMTEST is to use "identify" instead of "impersonate" on the Impersonation Level (Error: "Access denied, impersonation level too low").

Why would the Splunk WMI query fail when WBEMTEST succeeds?

Tags (4)

michael_adams
New Member

Martin, did you ever resolve this issue?

Thanks Michael

0 Karma
Get Updates on the Splunk Community!

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...

Your Voice Matters! Help Us Shape the New Splunk Lantern Experience

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Building Momentum: Splunk Developer Program at .conf25

At Splunk, developers are at the heart of innovation. That’s why this year at .conf25, we officially launched ...