Quantcast
Channel: VMware Communities : Popular Discussions - Hyperic User Forums
Viewing all articles
Browse latest Browse all 52618

Suggestion for change to windows_updates.vbs

$
0
0
Hi
Not really sure where to post a suggestion.

Currently the check on Windows to display any available Automatic Updates only checks which have not been installed:

C:\Program Files\hyperic-hq-agent-4.4.0\bundles\agent-4.4.0-1509\pdk\scripts\windows_updates.vbs
Line 4:

Set searchResult = _
    updateSearcher.Search("IsInstalled=0 and Type='Software'")

This search includes any updates that have been hidden so these will continue to be shown as an "available update" by the script.

Recommend adding "and IsHidden=0" to this search so that hidden updates are not counted as an available update.

ie.
Set searchResult = _
    updateSearcher.Search("IsInstalled=0 and Type='Software' and IsHidden=0")

This seems to resolve the issue.

Cheers
Evahn

Viewing all articles
Browse latest Browse all 52618

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>