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=9735
I just want to know how this query work with SCCM 2007, is it i need those into sms_def.mof? Thanks in advanced
Regards,
Chungb
Report on Local Administrator membership
January 27th, 2010 8: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;
};
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;
};
- Marked as answer by Eric Zhang CHN Monday, February 08, 2010 2:49 AM
Free Windows Admin Tool Kit Click here and download it now
January 27th, 2010 10:19am
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;
};
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;
};
- Marked as answer by Eric Zhang CHN Monday, February 08, 2010 2:49 AM
January 27th, 2010 10:19am
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;
};
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;
};
- Marked as answer by Eric Zhang CHN Monday, February 08, 2010 2:49 AM
Free Windows Admin Tool Kit Click here and download it now
January 27th, 2010 10:19am
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.aspx
Basically, 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\hinv
fyi, 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.
http://myitforum.com/cs2/blogs/skissinger/archive/2008/06/08/report-on-local-administrators-group-membership-updated.aspx
Basically, 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\hinv
fyi, 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.
January 27th, 2010 7:23pm
Hi Sherry
Today I noticed that http://myitforum.com/cs2/blogs/skissinger/archive/2008/06/08/report-on-local-administrators-group-membership-updated.aspx isn't available anymore
Unfortunately I need to implement this on an SCCM 2007 environment , is it possible for you to post the article again
Thx in advance
Regards
Johan
Free Windows Admin Tool Kit Click here and download it now
July 28th, 2015 10:31am
Hi Sherry,
The link you refer to doesn't seem to work anymore. Could you point me to a location where I can find your blog?
TIA
July 29th, 2015 7:18am