Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

SCCM Local Admin Users

Posted on 2010-09-07
4
Medium Priority
?
5,334 Views
Last Modified: 2013-11-21
Hi All!

I'd like to know if there's any way to collect the information on the users who are members of the local Administrators group though SCCM.

Any ideas?

Many thanks.

Cheers!
0
Comment
Question by:malkaj01
4 Comments
 
LVL 14

Expert Comment

by:Abduljalil Abou Alzahab
ID: 33616664
I think that you can collect information for users who are member of domain groups only.
0
 
LVL 22

Expert Comment

by:Adam Leinss
ID: 33617529
Here's a VBScript file I pushed to all workstations.  If a user has admin rights, it writes out a text file in the format of computername.username.txt to whatever share you specify.
 

' Variables 
Dim objFileSystem, objOutputFile
Dim strOutputFile

' Init objects
Set Shell = CreateObject("WScript.Shell")
Set oNet= WScript.CreateObject("WScript.Network")
Set filesys = CreateObject("Scripting.FileSystemObject")

' Grab computername	
	computername = Shell.ExpandEnvironmentStrings("%computername%")


' See if we can do something "Admin" like
if filesys.FolderExists("\\" & computername & "\Admin$\System32") then
' Grab username
	oUser = oNet.UserName
' Set filename to computername.username.txt
	strOutputFile="\\wksms01\logs\" & computername & "." & oUser & ".txt"
	Set objOutputFile = filesys.CreateTextFile(strOutputFile, TRUE)
	'Close file
	objOutputFile.Close
	Set objFileSystem = Nothing
end if

Open in new window

0
 
LVL 6

Author Comment

by:malkaj01
ID: 33617863
aleinss: Thanks for the script but I was interested in knowing if I could do this though the SCCM console without having to push out any scripts.
0
 
LVL 4

Accepted Solution

by:
zivko earned 2000 total points
ID: 33625100
Hello,

Normally, SCCM is able to collect such data but by default it is not configured to do so.
Which data are collected by SCCM from a computer is configured using MOF files.

There is a pretty good post at "My ITForum" Web Site on the subject with a step-by-step description of the implementation.

Here is the link:
http://myitforum.com/cs2/blogs/skissinger/archive/2008/06/08/report-on-local-administrators-group-membership-updated.aspx

Hope this will help.
Regards
0

Featured Post

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article shows how to use a free utility called 'Parkdale' to easily test the performance and benchmark any Hard Drive(s) installed in your computer. We also look at RAM Disks and their speed comparisons.
It is a real story and is one of my scariest tech experiences. Most users think that IT experts like us know how to fix all computer problems. However, if there is a time constraint and you MUST not fail the task or you will lose your job, a simple …
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…

824 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question