Report on Local Administrator membership
Hi,Recently i find a link to create a report on Local Administrator group membership. http://www.myitforum.com/articles/8/print_view.asp?id=9735I just want to know how this query work with SCCM 2007, is it i need those into sms_def.mof? Thanks in advancedRegards,Chungb
January 27th, 2010 11:44am

Hi Chungb, Yes, in SCCM 2007, you still need to add the following lines into sms_def.mof [ SMS_Report (TRUE),SMS_Group_Name ("LocalAdmins"),SMS_Class_ID ("MICROSOFT|LocalAdmins|1.0")] class Win32_LocalAdmins : SMS_Class_Template { [SMS_Report(TRUE), key] string AccountName; [SMS_Report(TRUE), key] string GroupName; };
Free Windows Admin Tool Kit Click here and download it now
January 27th, 2010 1:19pm

I suggest you follow the blog entry, though. The article is a little dated, it was meant for sms2003 and Windows XP clients. There's a script you need to run per-client to setup the framework so that the inventory policy can work as expected on Vista/Win7/Server03/Server08.http://myitforum.com/cs2/blogs/skissinger/archive/2008/06/08/report-on-local-administrators-group-membership-updated.aspxBasically, the script in the blog entry, once per client, add the lines Eric mentions to the bottom of sms_def.mof contained in <your primary Site Server(s)>\ConfigManagerInstalled Location\inboxes\clifiles.src\hinvfyi, you might want to follow the bouncing ball to watch your mof edit go from editing the text file, to policy, to hinv transmission: http://www.myitforum.com/myitwiki/SCCMINV.ashx , the "monitoring changes" section.Standardize. Simplify. Automate.
January 27th, 2010 10:23pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics