Solved

SCCM Local Admin Users

Posted on 2010-09-07
4
5,168 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 500 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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Formatting a new 4TB Seagate drive 11 61
sleep laptop 20 53
accidental deletion - ad recycle bin 3 18
Windows Password recovery 7 33
Issue: One Windows 2008 R2 64bit server on the network unable to connect to a buffalo Device (Linkstation) with firmware version 1.56. There are a total of four servers on the network this being one of them. Troubleshooting Steps: Connect via h…
In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

815 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now