Registry Script Fails with K1000
04/27/2015 2712 views
I've been trying a few ways to script searching for the registry key:HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\
I've tried to use the Verify a registry key exists. I've tried with both HKLM and I've seen other mention of using HKLM64. Neither of which will go any further than the key listed before failing out.
To try and solve the problem a different way, I created a batch file using reg query HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18.
When I try and execute that command I get the following in the KAgent.log which I can't find any reference to:
[runkbot:DoesTokenHaveLSAPriviled] DoesTokenHaveLSAPriviledges returning: 1
Could any one assist me with pulling information from that registry key?
There are no answers at this time