<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">I've tried to run the winupd.vbs script with Xymon WinPSClient and it runs fine having added the following to client-local.cfg:</div><div dir="ltr"><br></div><div dir="ltr">external:slowscan:async:bb://winupd.vbs|SHA256|ab7fdf4a1cdb93d39eaad60748a9872ae9f224760a0ebb5ee4a79139865a0a9a</div><div dir="ltr"><br></div><div>But it is not getting reported to the server because it is getting written to root of C drive.</div><div><br></div><div>I can see the script is looking for where to write the output to, but it's checking the Windows registry:</div><div><br></div><div>Set oShell = WScript.CreateObject("WScript.Shell")<br>' Check to see If used with BBWin or Big Brother client and set extPath.<br>extPath = oShell.RegRead("HKLM\SOFTWARE\BBWin\tmpPath")<br>If extPath = "" Then<br>    extPath = oShell.RegRead("HKLM\SOFTWARE\Quest Software\BigBrother\bbnt\ExternalPath\")<br>End If<br></div><div><br></div><div>Xymon WinPSClient doesn't write these registry keys.  I use the following for backwards compatibility / consistency in it's xymonclient_config.xml, but the script doesn't know that:</div><div><br></div><div>  <externaldatalocation>C:\BB\BBNT\Logs</externaldatalocation><br></div><div><br></div><div>How should this (and potentially other) scripts be altered to work with the WinPSClient?  I guess adding the registry key value is one solution, but is there anything less dirty?<br></div><div><br clear="all"></div><div dir="ltr"><div><div><div dir="ltr" class="gmail_signature"><div dir="ltr"><span><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">
<div style="text-align:left"><span style="font-size:12px"><span style="font-family:arial,helvetica,sans-serif">Kind regards,<br><br>SebA<br><br></span></span></div></div></div></div></div></div></div></span></div></div></div></div></div></div></div></div></div></div></div></div></div>