Lansweeper logo
Home Download Features Demo Buy now Help Support forum
 
    Most requested support articles:
  Lansweeper troubleshooting guide.
  The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)
  WMI Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
  How to configure the windows firewall using group policies.
  Support:  
 support@lansweeper.com  
Skype: Lansweeper  
  Mo-Fri 9h-17h CET  
Welcome Guest Search | Active Topics | Log In | Register

Untag as favorite
Create action based on scanned registry value
cgrey
#1 Posted : Tuesday, February 01, 2011 8:20:39 PM

Rank: Premium user

Groups: Premium Users
Posts: 4
We have a registry value that is scanned ( HKEY_LOCAL_MACHINE\SOFTWARE\Lumension\LMAgent\EndpointID). I would like to create a custom action based on the Value retrieved. Any ideas on how to go about getting that value into a variable ? Is it even possible?

Corwin
Lansweeper
#2 Posted : Tuesday, February 01, 2011 8:33:27 PM

Rank: Administration

Groups: Administration, Premium Users
Posts: 10,370
It's not possible except with some heavy vbscript programming.

in short:
Use a vbscript as a custom action, pass all needed parameters
Open the database in the vbscript and retrieve the needed value from the database
cgrey
#3 Posted : Thursday, February 03, 2011 2:58:05 AM

Rank: Premium user

Groups: Premium Users
Posts: 4
Lansweeper wrote:
It's not possible except with some heavy vbscript programming.

in short:
Use a vbscript as a custom action, pass all needed parameters
Open the database in the vbscript and retrieve the needed value from the database


dagnabit! I was afraid that was what you were going to say.
mrdaytrade
#4 Posted : Tuesday, May 24, 2011 2:11:46 AM


Rank: Premium user

Groups: Premium Users
Posts: 89
Location: Albany, NY
cgrey wrote:
We have a registry value that is scanned ( HKEY_LOCAL_MACHINE\SOFTWARE\Lumension\LMAgent\EndpointID). I would like to create a custom action based on the Value retrieved. Any ideas on how to go about getting that value into a variable ? Is it even possible?


I see that this is an old post but, what type of registry value is being scanned? Is it a matter of the value being present or not? Is the value a certain number that needs to determined? What does the custom action need to do once the particular value is determined? Just trying to get a better idea of what you want to happen?



cgrey
#5 Posted : Tuesday, May 24, 2011 6:56:34 PM

Rank: Premium user

Groups: Premium Users
Posts: 4
mrdaytrade wrote:
cgrey wrote:
We have a registry value that is scanned ( HKEY_LOCAL_MACHINE\SOFTWARE\Lumension\LMAgent\EndpointID). I would like to create a custom action based on the Value retrieved. Any ideas on how to go about getting that value into a variable ? Is it even possible?


I see that this is an old post but, what type of registry value is being scanned? Is it a matter of the value being present or not? Is the value a certain number that needs to determined? What does the custom action need to do once the particular value is determined? Just trying to get a better idea of what you want to happen?


Our initial plan was to build a simple link on the actions page which would open another browser pages with the registry value as a URI GET request. e.g. http://patchlink/forms/computers/ComputerDetails2.aspx?AgentID=a1acb0f6-50fc-4e49-b99e-f66b49afdb41

After that we wanted to build a report showing machines that did NOT have the key present.
Users browsing this topic
Guest
Untag as favorite
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Contact: E-mail Lansweeper - Skype : Lansweeper
Copyright 2004 - 2011 © Hemoco bvba