Security

dns-zoneinfo.ps1" Get-WmiObject : Generic failure Error on Universal Forwader with DNS and DC TA's

rbal_splunk
Splunk Employee
Splunk Employee

Issue : On the Domain Controller, customer have the Universal Forwarder with the TA installed for the DNS and DC. The Splinkd.log file has errors like below

02-27-2014 16:59:26.225 -0500 ERROR ExecProcessor - message from ""C:\Program Files\SplunkUniversalForwarder\etc\apps\TA-DNSServer-NT6\bin\runpowershell.cmd" dns-zoneinfo.ps1" Get-WmiObject : Generic failure
02-27-2014 16:59:26.225 -0500 ERROR ExecProcessor - message from ""C:\Program Files\SplunkUniversalForwarder\etc\apps\TA-DNSServer-NT6\bin\runpowershell.cmd" dns-zoneinfo.ps1" At C:\Program Files\SplunkUniversalForwarder\etc\apps\TA-DNSServer-NT6\bin\powe
02-27-2014 16:59:26.225 -0500 ERROR ExecProcessor - message from ""C:\Program Files\SplunkUniversalForwarder\etc\apps\TA-DNSServer-NT6\bin\runpowershell.cmd" dns-zoneinfo.ps1" rshell\dns-zoneinfo.ps1:60 char:22
02-27-2014 16:59:26.225 -0500 ERROR ExecProcessor - message from ""C:\Program Files\SplunkUniversalForwarder\etc\apps\TA-DNSServer-NT6\bin\runpowershell.cmd" dns-zoneinfo.ps1" + $RR = Get-WmiObject <<<< -namespace "root\MicrosoftDNS" -class Microsof
02-27-2014 16:59:26.225 -0500 ERROR ExecProcessor - message from ""C:\Program Files\SplunkUniversalForwarder\etc\apps\TA-DNSServer-NT6\bin\runpowershell.cmd" dns-zoneinfo.ps1" tDNS_ResourceRecord -ComputerName $env:ComputerName -Filter "DomainName = '$Zon
02-27-2014 16:59:26.225 -0500 ERROR ExecProcessor - message from ""C:\Program Files\SplunkUniversalForwarder\etc\apps\TA-DNSServer-NT6\bin\runpowershell.cmd" dns-zoneinfo.ps1" eName'"
02-27-2014 16:59:26.225 -0500 ERROR ExecProcessor - message from ""C:\Program Files\SplunkUniversalForwarder\etc\apps\TA-DNSServer-NT6\bin\runpowershell.cmd" dns-zoneinfo.ps1" + CategoryInfo : InvalidOperation: (:) [Get-WmiObject], Managemen
02-27-2014 16:59:26.225 -0500 ERROR ExecProcessor - message from ""C:\Program Files\SplunkUniversalForwarder\etc\apps\TA-DNSServer-NT6\bin\runpowershell.cmd" dns-zoneinfo.ps1" tException
02-27-2014 16:59:26.225 -0500 ERROR ExecProcessor - message from ""C:\Program Files\SplunkUniversalForwarder\etc\apps\TA-DNSServer-NT6\bin\runpowershell.cmd" dns-zoneinfo.ps1" + FullyQualifiedErrorId : GetWMIManagementException,Microsoft.PowerShell.C
02-27-2014 16:59:26.225 -0500 ERROR ExecProcessor - message from ""C:\Program Files\SplunkUniversalForwarder\etc\apps\TA-DNSServer-NT6\bin\runpowershell.cmd" dns-zoneinfo.ps1" ommands.GetWmiObjectCommand
02-27-2014 16:59:26.225 -0500 ERROR ExecProcessor - message from ""C:\Program Files\SplunkUniversalForwarder\etc\apps\TA-DNSServer-NT6\bin\runpowershell.cmd" dns-zoneinfo.ps1

0 Karma

rbal_splunk
Splunk Employee
Splunk Employee

Resolution: The problem is likely to be permissions, and the issue resolved after we restarted the splunk service as local SYSTEM user. After switching the SplunkForwarder service to run as the local system account, this error went away and DNS data started to flow into the AD and Windows Infrastructure Apps.

0 Karma
Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...