Splunk Search

WinRegistryApi - RegKey::open - RegOpenKeyExW returned error 2

mship
Path Finder

Splunk server is running 4.3.2, installed UF 4.3.2 on winXP embedded client and was getting the following error
"Message=Splunk could not get the description for this event. Either the component that raises this event is not installed on your local computer or the installation is corrupt"

Looked around here and saw that other rolled back the UF to 4.3.1...well I did that and notice in splunkd.log the following error over and over..
"0400 ERROR WinRegistryApi - RegKey::open - RegOpenKeyExW returned error 2"

Any ideas??

0 Karma

mship
Path Finder

Long story short Win XPe is just a stripped down version of XP. We were missing the msaudite.dll file under \windows\system32 folder. Along with that we were missing several registry subkeys under HKLM\system\currentcontrolset\services\eventlog<eventlog>.

Just copied the .dll and registry hives from a full XP installation and resolved all the issues. this also fixed the error where the event log was not reading the events instead giving the following message "The description for event ID (XXX) in Soruce (XXX) cannot be found..."

0 Karma
Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...