Are you talking about Microsoft WSUS? I would probably contact them to find out about their products. This question would probably get better response in their forums.
we use land desk for querys and would like to find out where our workstation and server are currently pointing, there is a registery entry, can that be used by landesk
Your original question did not contain that info. Thanks for clarifying. I will look into that for you.
"There are actually two registry keys that are used when specifying a WSUS server. Both of these keys are located at: HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\. The first key is named WUServer. This registry key holds a string value which should be entered as the WSUS server’s URL (example: http://servername)."
Since that's an HKLM key and a string value, you could do this with a line in LDAPPL3.ini.
I presume the eventual goal is to change the found value though, so why not do discovery and fixing in the same tool? http://www.droppedpackets.org/scripts/folder.2006-12-05.5945489494
You might also need this if you're trying to completely kill it: http://www.droppedpackets.org/security/delete-registry-values-with-custom-definitions/