Microsoft KB Archive/828778

= Microsoft Operations Manager 2000 only reads the first value in a registry entry =

Article ID: 828778

Article Last Modified on 10/27/2006

-

APPLIES TO


 * Microsoft Operations Manager 2000 Service Pack 1

-





SYMPTOMS
When Microsoft Operations Manager 2000 reads a registry entry that contains more than one value, only the first value is collected.

For example, you want different server roles assigned to a corresponding processing rule group (PRG). You follow these steps to try to complete this task:  You create a registry entry that is named ServerRole on your server computers. You give the ServerRole entry the following value:

File, Printer

 You create a new Computer Attribute to retrieve the registry value as a string.

In this example, the Computer Attribute is named ServerRole = File. You create a File PRG and a Printer PRG.

In this example, only the File PRG is populated. No computers are assigned to the Printer PRG.



WORKAROUND
To work around this behavior, follow these steps:
 * 1) In the MOM Administrator Console tree, double-click the Rules subtree, and then click Computer Groups.
 * 2) Right-click one of the computer groups that you created, and then click Properties.

In the example in the &quot;Symptoms&quot; section, click ServerRole = File.
 * 1) Click the Formula tab, and then delete the existing formula.
 * 2) Click Function, and then click MatchWildcard.
 * 3) Change the new formula from MatchWildcard( ,&quot;wildcard pattern>&quot;) to MatchWildcard(AttributeValue(ServerRole),&quot;*File*&quot;).
 * 4) Click OK.
 * 5) In the MOM Administrator Console tree, double-click the Configuration subtree.
 * 6) Right-click Agent Managers, and then click Scan All Managed Computers.

Note The computer group formula in step 5 may not work correctly if any registry values are duplicated. For example, if the value of the SystemRole registry entry is &quot;1st File Server, 2nd File Server&quot;, the computer group may not work as expected.

Additional query words: key

Keywords: kbserver kbregistry kbdiscovery kbprb kbnofix KB828778

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.