Registry Script Fails with K1000
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?
3 Comments
[ + ] Show comments
Answers (0)
Please log in to answer
Be the first to answer this question
BE AWARE EVERY K1000 Administrator!!!
My Script which has Verify a registry key exists... is not working even if I put HKLM64 or HKLM after I upgraded to this Agent version.
I can set Value in HKLM64 but cannot ready or Verify...... - haseebiqbal 9 years ago