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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...