04/27/2015 2898 views
I've been trying a few ways to script searching for the registry key:

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


  • You must have updated the agent to 6.3.314!!!!!!!!!!

    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......
  • This content is currently hidden from public view.
    Reason: Removed by member request For more information, visit our FAQ's.
  • http://www.itninja.com/question/custom-inventory-rule-not-working
  • http://www.itninja.com/question/don-t-update-to-kace-agent-6-3-31-if-you-have-script-to-verify-hklm-or-hklm64-or-custom-inventory-rule-registry

There are no answers at this time