if any script is available to add some group into local administrator group on client machines
-
Sonntag, 3. März 2013 13:36
if any script is available to add some group into local administrator group on client machines
- Verschoben Kent AgerlundMVP Sonntag, 3. März 2013 13:48
- Verschoben Bill_StewartMicrosoft Community Contributor Sonntag, 3. März 2013 17:27 Moving to more appropriate forum
Alle Antworten
-
Sonntag, 3. März 2013 13:48Not a ConfigMgr related question - moving it to the scripting forum
Kent Agerlund | My blogs: blog.coretech.dk/kea and SCUG.dk/ | Twitter: @Agerlund | Linkedin: Kent Agerlund | Mastering ConfigMgr 2012 The Fundamentals
-
Sonntag, 3. März 2013 17:26
This is usually done using Group Policy Restricted Groups.
Scripts for local admin are in the repository (link above).
¯\_(ツ)_/¯
-
Sonntag, 3. März 2013 17:27
Generally this is something that should be handled by restricted groups policy. Moving to group policy forum.
Bill
-
Sonntag, 3. März 2013 18:51
You should be able to achieve this using the group policy preferences.
More info with screenshots http://techabrist.com/2012/08/06/using-group-policy-preferences-to-populate-local-administrator-groups/
Sravan
- Bearbeitet Sravan Eatoor Sonntag, 3. März 2013 18:51
- Als Antwort vorgeschlagen Yan Li_Microsoft Contingent Staff, Moderator Dienstag, 5. März 2013 06:47
- Als Antwort markiert Yan Li_Microsoft Contingent Staff, Moderator Montag, 11. März 2013 02:03
-
Sonntag, 3. März 2013 20:36
Check out my extensive blog about how to do this using Group Policy preferences... http://www.grouppolicy.biz/2010/01/how-to-use-group-policy-preferences-to-secure-local-administrator-groups/
Alan Burchill (MVP)
http://www.grouppolicy.biz
@alanburchill- Als Antwort vorgeschlagen Alan BurchillMVP Sonntag, 3. März 2013 20:36
- Als Antwort markiert Yan Li_Microsoft Contingent Staff, Moderator Montag, 11. März 2013 02:03
-
Sonntag, 3. März 2013 21:10
Restricted groups is the best way to do it, but if you want a script something like this could work
Set wshNetwork = WScript.CreateObject( "WScript.Network" ) strComputer = wshNetwork.ComputerName strUser = "SCCMAdmin" Set objGroup = GetObject("WinNT://" & strComputer & "/Administrators,group") Set objUser = GetObject("WinNT://" & strComputer & "/" & strUser & ",user") objGroup.Add(objUser.ADsPath)http://www.activexperts.com/activmonitor/windowsmanagement/adminscripts/usersgroups/localgroups/
- Als Antwort vorgeschlagen Yan Li_Microsoft Contingent Staff, Moderator Dienstag, 5. März 2013 06:47
- Als Antwort markiert Yan Li_Microsoft Contingent Staff, Moderator Montag, 11. März 2013 02:03

