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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

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 ...