When trying to setup an applicability rule to do a string comparison match on the first part of a string I receive the following error message:
The 'Comparison' attribute is invalid - The value 'StartsWith' is invalid according to its datatype
looking at the XML generated I see that patch manager is placing StartsWith as the comparison type
-<sdp:ApplicabilityRule SchemaVersion="1.0"> <bar:RegSz Key="HKEY_LOCAL_MACHINE"Subkey="SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{6B6244FE-F141-4368-B7CF-C9BC517AD6C3}"Value="DisplayVersion"RegType32="false"Comparison="StartsWith"Data="10.0.3911."/> </sdp:ApplicabilityRule>
hower the WSUS BaseTypesSchema states the the correct attribute should be BeginsWith not StartsWith
<simpleType name="StringComparison">
<restriction base="token">
<enumeration value="EqualTo" />
<enumeration value="BeginsWith" />
<enumeration value="Contains" />
<enumeration value="EndsWith" />
</restriction>
</simpleType>
What can I do to get my rule working? is there some way I can manually edit the XML until patch manager can be fixed to supply the correct attribute? I am using patch manager version 2.0.2207.02