jkuta
Posts: 11
Score: 0 Joined: 9/13/2007 Status: offline
|
I am running System Center Configuration Manager 2007 SP1 in my test environment. 1) The WMI class is on the client. Is the class populating with any instances. [If there are no instances, then there will be nothing to report up to the server] When I use WMIExplorer to view the win32_LocalAdmins class on a Windows Server 2003 machine there are no instances populating however, when I view the same class on a WinXP machine, members of the local administators group appear as instances (once I completed this test the v_GS_LocalAdmins view appeared in my database). In the post authored by mlucero above, he indicates that the "BUILTIN" syntax in the localadmins.mof file doesn't need to be modified, even when compiling it on Win2k3 servers. As a test I modified localadmins.mof by replacing 'BUILTIN' with the Windows server name, compiled the mof and when I viewed the win32_LocalAdmins class it populated the instances with members of the local administrators group as it should. 2) When Inventory runs, are there any errors resulting from the Win32_LocalAdmins class in the InventoryAgent.log? The inventory action runs and completes without errors. Here is the line in the InventoryAgent.log that references the inventory action: Collection: Namespace = \\.\root\cimv2; Query = SELECT __CLASS, __PATH, __RELPATH, CurrentTimeZone, Description, Domain, DomainRole, Manufacturer, Model, Name, NumberOfProcessors, Roles, Status, SystemType, UserName FROM Win32_ComputerSystem; Timeout = 600 secs. There are no error messages following this line, only the next set of queried classes. 3) Run the following query on the server to see if the View got created with some other name - SELECT * FROM v_GroupMap where MIFClass='MICROSOFT|LocalAdmins|1.0' and look for the 'InvClassName' field. (The MIFClass being the SMS_Class_ID from the SMS_DEF.MOF) Initially this query yielded no results, however after I compiled localadmins.mof on an XP machine and triggered an inventory the view/table populated in the database with the expected information. The report started working as well. I'm happy this works with WindowsXP but what about Win2K3 Server? Is mlucero's post inaccurate? Does the localadmins.mof indeed need to be manually compiled on each and every server?
|