win32_servercomponent - what is it?

I'd like to know, too!  Actually Rob Olson (the Dude from www.dudeworks.com) believes it was an earlier beta WMI class for Windows Server 2008.  When it went RTM it was likely renamed win32_serverfeature.

So, what's the big deal?  Not much.  It's just that it's a class that is on by default (set to TRUE) in your sms_def.mof for Configuration Manager.  I'm fairly certain everyone can change that in their SMS_DEF.MOF from TRUE to FALSE.  You could probably even delete the whole section without any guilt whatsoever.

Now that you've cleaned up... if you want reported what it likely was supposed to report...  add this edit to the bottom of your SMS_DEF.MOF:

[ SMS_Report     (TRUE),
  SMS_Group_Name ("Server Feature"),
  SMS_Class_ID   ("CUSTOM|SERVER_FEATURE|1.0") ]

class Win32_ServerFeature : SMS_Class_Template
{
 [SMS_Report (TRUE), key ] uint32 ID;
 [SMS_Report (TRUE)      ] uint32 ParentID;
 [SMS_Report (TRUE)      ] string Name;
};

This edit is for Windows Server 2008, Server Features.  For example, this is the data you would get back.  You can see this box has WSUS, and IIS installed.  And you can also see which features are dependent on other installed features by looking at ParentID.

What might this be useful for?  Well, not much yet that I can see in the near future.  But one day you'll have gotten rid of all of your older Server OS'.  At that point, wouldn't it be great to find "all servers with IIS + xyz features" using this instead of Add/Remove Programs or something else?  If you don't think you need this quite yet (Server 08 is a year+ away) add it as FALSE until someone asks for "what Server Features are installed on our Windows Server 2008 boxes".  Then all you'd have to do is change it to TRUE.

Published Saturday, September 27, 2008 11:54 AM by skissinger
Filed under: ,

Comments

No Comments