Hello,
is it possible to read a Windows registry key from HKLM using the NetXMS Agent?
It looks like it should be possible: https://www.netxms.org/forum/feature-requests/windows-registry/msg6053/#msg6053 (https://www.netxms.org/forum/feature-requests/windows-registry/msg6053/#msg6053)
Best regards
Stefan
Yes, you can use standard command line registry editor for that:
ExternalParameter=RegQuery:reg query HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /f NetXMSSessionAgent /t REG_SZ /v /e
ExternalList=RegQuery:reg query HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /s
Adjust name of the parameter and arguments.
You can also do that with actions (but select "produce output" checkbox in object tool configuration):
Action=RegQuery:reg query HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /s