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!

Splunk at Cisco Live 2025: Learning, Innovation, and a Little Bit of Mr. Brightside

Pack your bags (and maybe your dancing shoes)—Cisco Live is heading to San Diego, June 8–12, 2025, and Splunk ...

Splunk App Dev Community Updates – What’s New and What’s Next

Welcome to your go-to roundup of everything happening in the Splunk App Dev Community! Whether you're building ...

The Latest Cisco Integrations With Splunk Platform!

Join us for an exciting tech talk where we’ll explore the latest integrations in Cisco + Splunk! We’ve ...