Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Looking at the Applicability Rules that are in use by WSUS (msus) by looking in the XML files themselves there are many rules that are not documented in the MSDN Doc's or in the XSD files that come with WSUS.

For the most part I have been able to work out how Update Agent works out the rules so far with the exception of LicenseDword, which according to the XML is part of the BaseApplicabilityRules scheme but is not document at all.

It seems to be registry centric but cannot find any of the values in a registry to work out how the rule is getting evaluated.

Example XML

  <upd:ApplicabilityRules>
    <upd:IsInstalled>
      <bar:LicenseDword Value="Kernel-ProductInfo" Comparison="EqualTo" Data="30" xmlns:bar="http://schemas.microsoft.com/msus/2002/12/BaseApplicabilityRules" />
    </upd:IsInstalled>
  </upd:ApplicabilityRules>

All the Schema MSDN Documentation is here. The XSD files themselves are only available in the WSUS installation directory under a folder called schemas.

If anyone knows about this rule or knows what they are attempting to evaluated and how it is being done that would be very helpful.

share|improve this question

1 Answer 1

up vote 0 down vote accepted

You can use SLGetWindowsInformationDWORD from the Software Licensing API to get the values.

You can do it yourself by going to Registry Key:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ProductOptions

Then looking at REG_BINARY Value ProductPolicy which is a binary storage of what apears to be key value pairs. I haven't worked out the rest of the details but at least I know an API method and a manual method for accessing this information needed to evaluate LicensedDword.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.