Vous êtes sur la page 1sur 88

07/06/13

Module 4: Managing Groups

Module4:ManagingGroups
Contents: Lesson1: Lesson2: LabA: Lesson3: LabB: OverviewofGroups AdministerGroups AdministerGroups BestPracticesforGroupManagement BestPracticesforGroupManagement

Module Overview

https://skillpipe.courseware-marketplace.com/reader/Print/be1aba64-6bbe-4ff5-82e5-4d7e5b9d8ee0?ChapterNumber=6&FontSize=3&FontType=segoe

1/88

07/06/13

Module 4: Managing Groups

Althoughusersandcomputers,andevenservices,changeovertime,businessroles andrulestendtoremainmorestable.Yourbusinessprobablyhasafinancerole, whichrequirescertaincapabilitiesintheenterprise.Theuseroruserswhoperform thatrolewillchange,buttherolewillremain.Forthatreason,itisnotpracticalto manageanenterprisebyassigningrightsandpermissionstoindividualusers, computers,orserviceidentities.Managementtasksshouldbeassociatedwithgroups. Inthiscourse,youwillusegroupstoidentifyadministrativeanduserroles,tofilter GroupPolicy,toassignuniquepasswordpolicies,toassignrightsandpermissions, andmore.Toprepareforthosetasks,inthismodule,youwilllearnhowtocreate, modify,delete,andsupportgroupobjectsinanActiveDirectorydomain.

Objectives
https://skillpipe.courseware-marketplace.com/reader/Print/be1aba64-6bbe-4ff5-82e5-4d7e5b9d8ee0?ChapterNumber=6&FontSize=3&FontType=segoe 2/88

07/06/13

Module 4: Managing Groups

Aftercompletingthismodule,youwillbeableto: Describetheroleofgroupsinmanaginganenterprise. AdministergroupsbyusingthebuiltintoolsinWindowsServer2008. Describethebestpracticesformanaginggroups.

Lesson 1: Overview of Groups

Beforeimplementinggroupsinyourenvironment,youshouldlearnandunderstand
https://skillpipe.courseware-marketplace.com/reader/Print/be1aba64-6bbe-4ff5-82e5-4d7e5b9d8ee0?ChapterNumber=6&FontSize=3&FontType=segoe 3/88

07/06/13

Module 4: Managing Groups

howgroupsareusedandwhichtypesofgroupsexist.Itisimportanttounderstand groupscopesothatyoucanidentifypropergrouptypeinvariousscenarios.Also,it isveryimportanttodefinepropergroupnamingconventionandtounderstandhow groupscanbenestedinothergroupsandthebenefitsofthatapproach.

Objectives
Aftercompletingthislesson,youwillbeableto: Understandtheroleofgroupsinmanaginganenterprise. Definegroupnamingconventions. Understandgrouptypes. Understandgroupscope. Identifygroupmembershipandnestingpossibilities. Understandhowtomanageandadministergroups Understandthebestpracticeforgroupnestingtoachieverolebasedmanagement.

Role-Based Management: Role Groups and Rule Groups

https://skillpipe.courseware-marketplace.com/reader/Print/be1aba64-6bbe-4ff5-82e5-4d7e5b9d8ee0?ChapterNumber=6&FontSize=3&FontType=segoe

4/88

07/06/13

Module 4: Managing Groups

ImaginenextthatitisnotonlysalespeoplewhorequireReadaccesstothefolders. Executives,Marketingdepartmentemployees,andthesalesconsultanthiredbyyour organizationalsorequireReadpermissiontothesamefolders.Itisverycommonthat variousgroupsofusersrequireaccesstosameresources. YoucouldaddthosegroupstotheACLofthefolders,grantingeachofthemAllow Readpermission,butsoonyouwillendupwithanACLwithmultiplepermissions, thistimeassigningtheAllowReadpermissiontomultiplegroups,insteadofmultiple users.Togivethethreegroupsandoneuserpermissiontothethreefoldersonthe threeservers,youwillhavetoaddtwelvepermissions!Thenextgroupthatrequires accesswillrequirethreemorechangestograntpermissionstotheACLsofthethree sharedfolders.
https://skillpipe.courseware-marketplace.com/reader/Print/be1aba64-6bbe-4ff5-82e5-4d7e5b9d8ee0?ChapterNumber=6&FontSize=3&FontType=segoe 5/88

07/06/13

Module 4: Managing Groups

Whatifeightuserswhoarenotsalespeople,marketingemployees,orexecutives, haveabusinessneedforReadaccesstothethreefolders?Doyouaddtheir individualuseraccountstotheACLs?Ifso,thatis24morepermissionstoaddand manage! Youcanseethatusingonlyonetypeofgrouparolegroupthatdefinesthe businessrolesofusersquicklybecomesanineffectivewayofenablingmanagement ofaccesstothethreefolders.Ifthemanagementrulesuggeststhatthreerolesand nineadditionalusersrequireaccesstotheresource,youareassigningatotalof36 permissionsonACLs.Itbecomesverydifficulttomaintaincomplianceandtoaudit. Evensimplequestionssuchas,"CanyoutellmeeveryuserwhocanreadtheSales folders?"becomedifficulttoanswer. Thesolutionistorecognizethattherearetwotypesofmanagementthatmusttake placetoeffectivelymanagethisscenario.Youmustmanagetheusersascollections, basedupontheirbusinessrolesand,separately,youmustmanageaccesstothe threefolders. Thethreefoldersarealsoacollectionofitems.Theyareasingleresourcea collectionofSalesfoldersthatjusthappenstobedistributedacrossthreefolderson threeservers.YouaretryingtomanageReadaccesstothatresource.Youneeda singlepointofmanagementwithwhichtomanageaccesstotheresource. ThisrequiresanothergroupagroupthatrepresentsReadaccesstothethreefolders
https://skillpipe.courseware-marketplace.com/reader/Print/be1aba64-6bbe-4ff5-82e5-4d7e5b9d8ee0?ChapterNumber=6&FontSize=3&FontType=segoe 6/88

07/06/13

Module 4: Managing Groups

onthethreeservers.Wecallthattypeofgrouparulegroup(sometimes,also resourcegroups).ImaginethatyoucreateagroupcalledACL_SalesFolders_Read. ThisgroupwillbeassignedtheAllowReadpermissiononthethreefolders.The Sales,Marketing,andExecutivesgroups,alongwiththeindividualusers,willallbe membersoftheACL_SalesFolders_Readgroup.Youassignonlythreepermissions: oneoneachfolder,grantingReadaccesstotheACL_SalesFolders_Readgroup. TheACL_SalesFolders_Readgroupbecomesthefocusofaccessmanagement.As additionalgroupsorusersrequireaccesstothefolders,theywillbeaddedtothat group.Italsobecomeseasiertoreportwhohasaccesstothefolders.Insteadof havingtoexaminetheACLsoneachofthetenfolders,yousimplyexaminethe membershipoftheACL_SalesFolders_Readgroup. Toeffectivelymanageevenaslightlycomplexenterprise,youwillneedtwo"types"of groupsthatperformtwodistinctpurposes: Groupsthatdefineroles.Thesegroups,referredtoasrolegroups,containusers, computers,andotherrolegroupsbasedoncommonbusinesscharacteristicssuch aslocation,jobtype,andsoon. Groupsthatdefinemanagementrules.Thesegroups,referredtoasrulegroups, definehowanenterpriseresourceisbeingmanaged.

Thisapproachtomanagingtheenterprisewithgroupsiscalledrolebased
https://skillpipe.courseware-marketplace.com/reader/Print/be1aba64-6bbe-4ff5-82e5-4d7e5b9d8ee0?ChapterNumber=6&FontSize=3&FontType=segoe 7/88

07/06/13

Module 4: Managing Groups

management.Youdefinerolesofusersbasedonbusinesscharacteristicsfor
example,departmentordivisionaffiliationsuchassales,marketing,andexecutives, andyoudefinemanagementrulesforexample,therulethatmanageswhichroles andindividualscanaccessthethreefolders. Youcanachievebothmanagementtasksbyusinggroupsinadirectory.Rolesare representedbygroupsthatcontainusers,computers,andotherroles.Rolescan includeotherroles,forexample,aManagerrolemightincludeSalesManagers, FinanceManagers,andProductionManagersroles.Managementrules,suchasthe rulethatdefinesandmanagesReadaccesstothethreefolders,arerepresentedby groupsalso.Rulegroupscontainroles,andoccasionally,individualusersor computerssuchasthesalesconsultantandeightotherusersintheexample. Thekeytakeawayisthattherearetwo"types"ofgroups:onethatdefinestherole, andtheotherthatdefineshowaresourceismanaged.

Define Group Naming Conventions

https://skillpipe.courseware-marketplace.com/reader/Print/be1aba64-6bbe-4ff5-82e5-4d7e5b9d8ee0?ChapterNumber=6&FontSize=3&FontType=segoe

8/88

07/06/13

Module 4: Managing Groups

TocreateagroupbyusingtheActiveDirectoryUsersandComputerssnapin,you shouldrightclicktheorganizationalunit(OU)inwhichyouwanttocreateagroup, pointtoNew,andthenclickGroup.TheNewObjectGroupdialogbox,shownin thefollowingimage,allowsyoutospecifyfundamentalpropertiesofthenewgroup.

https://skillpipe.courseware-marketplace.com/reader/Print/be1aba64-6bbe-4ff5-82e5-4d7e5b9d8ee0?ChapterNumber=6&FontSize=3&FontType=segoe

9/88

07/06/13

Module 4: Managing Groups

Thefollowingnamepropertiescanbeconfiguredinthisdialogbox: Groupname.Thecnandnameofgroupobjectmustbeuniqueonlywithinthe OU Groupname(preWindows2000).sAMAccountNameofgroup,uniquein domain

ImportantbestpracticeUsethesamename(uniqueinthedomain)for bothproperties.

Thefirstpropertyyoumustconfigurearethegroupsnames.Agroup,likeauseror
https://skillpipe.courseware-marketplace.com/reader/Print/be1aba64-6bbe-4ff5-82e5-4d7e5b9d8ee0?ChapterNumber=6&FontSize=3&FontType=segoe 10/88

07/06/13

Module 4: Managing Groups

computer,hasseveralnames.Thefirst,shownintheGroupNameboxabove,isused byWindows2000andlatersystemstoidentifytheobjectitbecomesthecn,and nameattributesoftheobject.Thesecond,thepreWindows2000name,isthe sAMAccountNameattribute,usedtoidentifythegrouptocomputersrunning WindowsNT4.0andtosomedevices,suchasnetworkattachedstorage(NAS) devicesrunningnonMicrosoftoperatingsystems.Thecnandnameattributesmust beuniqueonlywithinthecontainertheOUinwhichthegroupexists.The sAMAccountNamemustbeuniqueintheentiredomain.Technically,the sAMAccountNamecouldbeadifferentvaluethanthecnandname,butitishighly discouragedtomakethesedifferent.Pickanamethatisuniqueinthedomain,and useitinbothnamefieldsintheNewObjectGroupdialogbox. Thenameyouchooseshouldhelpyoumanagethegroupandmanageyour enterpriseonadaytodaybasis.Werecommendthatyoufollowanaming conventionthatidentifiesthetypeofgroupandthepurposeofthegroup. Rolegroups.Simple,uniquename,suchasSalesorConsultants Managementgroups.Forexample,ACL_SalesFolders_Read Prefix.Thisidentifiesthemanagementpurposeofgroup,suchasACLforgroups managingaccesspermissionstosharedresources.Itisusedonaccesscontrol lists,sotheprefixACLisused. Resourceidentifier.Thisisauniqueidentifierforwhatisbeingmanaged.The mainpartofthenameuniquelyidentifiestheresourcethatisbeingmanaged
https://skillpipe.courseware-marketplace.com/reader/Print/be1aba64-6bbe-4ff5-82e5-4d7e5b9d8ee0?ChapterNumber=6&FontSize=3&FontType=segoe 11/88

07/06/13

Module 4: Managing Groups

withthegroup,inthisexample,SalesFolders. Suffix.Thesuffixfurtherdefineswhatisbeingmanagedbythegroup.Inthe caseofresourceaccessmanagementgroups,thesuffixdefinesthelevelof accessprovidedtomembersofthegroup.Inourexample,thatisRead. Delimiter.Thisshouldbeaconsistentlyusedmarkerseparatingprefix,identifier, andsuffix,suchasanunderscore(_).Donotusethedelimiterelsewhereinthe nameuseitonlyasadelimiter.Notethatthedelimiterisnotusedbetweenthe wordsSalesandFolder.Spacesareacceptableingroupnamesyouwilljust needtoenclosegroupnamesinquoteswhenyourefertothemincommandsor inscripts.Youcancreatescriptsthatusethedelimitertodeconstructgroup namestofacilitateauditingandreporting.

Keepinmindthatrolegroupsthatdefineuserroleswilloftenbeusedbynon technicalusers.Forexample,youmightemailenabletheSalesgroupsothatitcanbe usedasanemaildistributionlist.Therefore,werecommendthatyoukeepyour namingconventionforrolegroupssimpleandstraightforward.Inotherwords,your namingconventionforrolegroupsisnottouseprefixesorsuffixesordelimitersjust auserfriendly,descriptivename.

Group Type

https://skillpipe.courseware-marketplace.com/reader/Print/be1aba64-6bbe-4ff5-82e5-4d7e5b9d8ee0?ChapterNumber=6&FontSize=3&FontType=segoe

12/88

07/06/13

Module 4: Managing Groups

Therearetwotypesofgroups:securityanddistribution.Whenyoucreateagroup, youmaketheselectionofthegrouptypeintheNewObjectGroupdialogbox. Distributiongroupsareusedprimarilybyemailapplications.Thesegroupsarenot securityenabledtheydonothaveSIDssotheycannotbegivenpermissionto resources.Sendingamessagetoadistributiongroupsendsthemessagetoall membersofthegroup. SecuritygroupsaresecurityprincipalswithSIDs.Thesegroupscanthereforebeused inpermissionentriesinACLstocontrolsecurityforresourceaccess.Securitygroups canalsobeusedasdistributiongroupsbyemailapplications.Ifagroupwillbeused tomanagesecurity,itmustbeasecuritygroup.
https://skillpipe.courseware-marketplace.com/reader/Print/be1aba64-6bbe-4ff5-82e5-4d7e5b9d8ee0?ChapterNumber=6&FontSize=3&FontType=segoe 13/88

07/06/13

Module 4: Managing Groups

Becausesecuritygroupscanbeusedforbothresourceaccessandemaildistribution, manyorganizationsuseonlysecuritygroups.However,werecommendthatifagroup willbeusedonlyforemaildistribution,youshouldcreatethegroupasadistribution group.Otherwise,thegroupisassignedaSID,andtheSIDisaddedtotheusers securityaccesstoken,whichcanleadtounnecessarysizeincreaseofthesecurity token.

Group Scope

Groupshavemembers:users,computer,andothergroupsgroupscanbemembers ofothergroupsandgroupscanbereferredtobyACLs,GroupPolicyobject(GPO) filters,andothermanagementcomponents.Groupscopeimpactseachofthese


https://skillpipe.courseware-marketplace.com/reader/Print/be1aba64-6bbe-4ff5-82e5-4d7e5b9d8ee0?ChapterNumber=6&FontSize=3&FontType=segoe 14/88

07/06/13

Module 4: Managing Groups

characteristicsofagroup:whatitcancontain,whatitcanbelongto,andwhereitcan beused.Therearefourgroupscopes:global,domainlocal,local,anduniversal. Thecharacteristicsthatdefineeachscopefallintothesecategories: Replication.Whereisthegroupdefined,andtowhatsystemsisthegroup replicated? Membership.Whattypesofsecurityprincipalscanthegroupcontainasmembers? Canthegroupincludesecurityprincipalsfromtrusteddomains? InModule14,youwilllearnabouttrustrelationships,ortrusts.Atrustallowsa domaintorefertoanotherdomainforuserauthentication,toincludesecurity principalsfromtheotherdomainasgroupmembers,andtoassignpermissionsto securityprincipalsintheotherdomain.Theterminologyusedcanbeconfusing.If DomainAtrustsDomainB,DomainAisthetrustingdomainandDomainBisthe trusteddomain.DomainAacceptsthecredentialsofusersinDomainB.Itforwards requestsbyDomainBuserstoauthenticatetoadomaincontrollerinDomainB, becauseittruststheidentitystoreandauthenticationserviceofDomainB.Domain AcanaddDomainBssecurityprincipalstogroupsandACLsinDomainA. Availability.Wherecanthegroupbeused?Isthegroupavailabletoaddtoanother group?IsthegroupavailabletoaddtoanACL?

Keepthesebroadcharacteristicsinmindasyouexplorethedetailsofeachgroup
https://skillpipe.courseware-marketplace.com/reader/Print/be1aba64-6bbe-4ff5-82e5-4d7e5b9d8ee0?ChapterNumber=6&FontSize=3&FontType=segoe 15/88

07/06/13

Module 4: Managing Groups

scope.

Local Groups

Localgroupsaretrulylocaldefinedonandavailabletoasinglecomputer.Local groupsarecreatedinthesecurityaccountsmanager(SAM)databaseofadomain membercomputerbothworkstationsandservershavelocalgroups.Localgroups havethefollowingcharacteristics: Replication.AlocalgroupisdefinedonlyinthelocalSAMdatabaseofadomain member.Thegroupanditsmembershiparenotreplicatedtoanyothersystem.

https://skillpipe.courseware-marketplace.com/reader/Print/be1aba64-6bbe-4ff5-82e5-4d7e5b9d8ee0?ChapterNumber=6&FontSize=3&FontType=segoe

16/88

07/06/13

Module 4: Managing Groups

Membership.Alocalgroupcanincludeasmembers: Anysecurityprincipalsfromthedomainusers,computers,globalgroups,or domainlocalgroups. Users,computers,andglobalgroupsfromanydomainintheforest. Users,computers,andglobalgroupsfromanytrusteddomain. Universalgroupsdefinedinanydomainintheforest. Availability.Alocalgrouphasonlymachinewidescope.ItcanbeusedinACLs onthelocalmachineonly.Alocalgroupcannotbeamemberofanyother group.

Best Practice
Inaworkgroup,youuselocalgroupstomanagesecurityofresourcesonasystem. Inadomain,however,managingthelocalgroupsofindividualmachinesbecomes unwieldy,andisforthemostpartunnecessary.Wedonotrecommendcreating customlocalgroupsondomainmembers.Thereareveryfewscenariosinadomain environmentthatareaddressedbyusinglocalgroups.Inmostcases,theUsersand Administratorslocalgroupsaretheonlylocalgroupsthatyoushouldbeconcerned withmanaging,inadomainenvironment.

Domain Local Groups


https://skillpipe.courseware-marketplace.com/reader/Print/be1aba64-6bbe-4ff5-82e5-4d7e5b9d8ee0?ChapterNumber=6&FontSize=3&FontType=segoe 17/88

07/06/13

Module 4: Managing Groups

Domainlocalgroupsareusedprimarilytomanagepermissionstoresources,which meanstheymostlyserveasrulegroups.Forexample,theACL_SalesFolders_Read groupdiscussedearlierinthelessonwouldbecreatedasadomainlocalgroup. Domainlocalgroupshavethefollowingcharacteristics: Replication.Adomainlocalgroupisdefinedinthedomainnamingcontext.The groupobjectanditsmembership(thememberattribute)arereplicatedtoevery domaincontrollerinthedomain. Membership.Adomainlocalgroupcanincludeasmembers: Anysecurityprincipalsfromthedomainusers,computers,globalgroups,or otherdomainlocalgroups.
https://skillpipe.courseware-marketplace.com/reader/Print/be1aba64-6bbe-4ff5-82e5-4d7e5b9d8ee0?ChapterNumber=6&FontSize=3&FontType=segoe 18/88

07/06/13

Module 4: Managing Groups

Users,computers,andglobalgroupsfromanydomainintheforest. Users,computers,andglobalgroupsfromanytrusteddomain. Universalgroupsdefinedinanydomainintheforest. Availability.AdomainlocalgroupcanbeaddedtoACLsonanyresourceonany domainmember.Additionally,adomainlocalgroupcanbeamemberofother domainlocalgroups,orevenmachinelocalgroups.

Themembershipcapabilitiesofadomainlocalgroup(thegroupstowhichadomain localgroupcanbelong)areidenticaltothoseoflocalgroups,butthereplicationand availabilityofthedomainlocalgroupmakeitusefulacrosstheentiredomain.

Best Practice
Domainlocalgroupsarewellsuitedfordefiningbusinessmanagementrules,suchas resourceaccessrules,becausethegroupcanbeappliedanywhereinthedomain,and itcanincludemembersofanytypewithinthedomain,andmembersfromtrusted domains. Forexample,adomainlocalsecuritygroupnamedACL_SalesFolders_Readmightbe usedtomanageReadaccesstoacollectionoffoldersthatcontainsalesinformation ononeormoreservers.
https://skillpipe.courseware-marketplace.com/reader/Print/be1aba64-6bbe-4ff5-82e5-4d7e5b9d8ee0?ChapterNumber=6&FontSize=3&FontType=segoe 19/88

07/06/13

Module 4: Managing Groups

Global Groups

Globalgroupsareusedprimarilytodefinecollectionsofdomainobjectsbasedon businessroles,whichmeansthattheymostlyserveasrolegroups.Rolegroups,such astheSalesandMarketinggroupsmentionedearlier,androlesofcomputerssuchas aSalesLaptopsgroup,arecreatedasglobalgroups.Globalgroupshavethefollowing characteristics: Replication.Aglobalgroupisdefinedinthedomainnamingcontext.Thegroup object,includingthememberattribute,isreplicatedtoalldomaincontrollersinthe domain.

https://skillpipe.courseware-marketplace.com/reader/Print/be1aba64-6bbe-4ff5-82e5-4d7e5b9d8ee0?ChapterNumber=6&FontSize=3&FontType=segoe

20/88

07/06/13

Module 4: Managing Groups

Membership.Aglobalgroupcanincludeasmembersonlythoseusers,computers, andotherglobalgroupsinthesamedomain. Availability.Aglobalgroupisavailableforusebyalldomainmembers,andbyall otherdomainsintheforestandalltrustingexternaldomains.Aglobalgroupcan beamemberofanydomainlocaloruniversalgroupinthedomainorintheforest. Itcanalsobeamemberofanydomainlocalgroupinatrustingdomain.Finally,a globalgroupcanbeaddedtoACLsinthedomain,intheforest,orintrusting domains.

Asyoucansee,globalgroupshavethemostlimitedmembership(onlyusers, computers,andglobalgroupsfromthesamedomain)butthebroadestavailability acrossthedomain,theforest,andtrustingdomains.

Best Practice
Globalgroupsarewellsuitedtodefiningroles,becauserolesaregenerallycollections ofobjectsfromthesamedirectory. Forexample,globalsecuritygroupsnamedConsultantsandSalesmightbeusedto defineuserswhoareconsultantsandsalespeople,respectively.

Universal Groups
https://skillpipe.courseware-marketplace.com/reader/Print/be1aba64-6bbe-4ff5-82e5-4d7e5b9d8ee0?ChapterNumber=6&FontSize=3&FontType=segoe 21/88

07/06/13

Module 4: Managing Groups

UnlikeGlobalandDomainlocalgroups,theuseofUniversalGroupsisnotlimitedto roleorruletypeofgroupstheycanbeusedinbothtypesofgroupsdependingon thescenario. Universalgroupshavethefollowingcharacteristics: Replication.Auniversalgroupisdefinedinasingledomainintheforestbutis replicatedtotheglobalcatalog.Youwilllearnmoreabouttheglobalcatalogin Module12.Objectsintheglobalcatalogwillbereadilyaccessibleacrosstheforest. Membership.Auniversalgroupcanincludeasmembersusers,globalgroups,and otheruniversalgroupsfromanydomainintheforest.


https://skillpipe.courseware-marketplace.com/reader/Print/be1aba64-6bbe-4ff5-82e5-4d7e5b9d8ee0?ChapterNumber=6&FontSize=3&FontType=segoe 22/88

07/06/13

Module 4: Managing Groups

Availability.Auniversalgroupcanbeamemberofauniversalgroupordomain localgroupanywhereintheforest.Additionally,auniversalgroupcanbeusedto manageresources,forexample,toassignpermissions,anywhereintheforest.

Universalgroupsareusefulinmultidomainforests.Theyallowyoutodefinerolesor tomanageresourcesthatspanmorethanonedomain.Thebestwaytounderstand universalgroupsisthroughanexample:TreyResearchhasaforestwiththree domains:Americas,Asia,andEurope.Eachdomainhasuseraccountsandaglobal groupcalled,RegionalManagers,whichincludesthemanagersofthatregion. Rememberthatglobalgroupscancontainonlyusersfromthesamedomain.A universalgroupcalled,TreyResearchRegionalManagers,iscreated,andthethree RegionalManagersgroupsareaddedasmembers.TheTreyResearchRegional Managersgroupthereforedefinesarolefortheentireforest.Asusersareaddedto anyoneoftheRegionalManagersgroups,theywill,throughgroupnesting,be membersoftheTreyResearchRegionalManagers. TreyResearchisplanningtoreleaseanewproductthatrequirescollaborationacross itsregions. Resourcesrelatedtotheprojectarestoredonfileserversineachdomain.Todefine whohastheabilitytomodifyfilesrelatedtothenewproduct,auniversalgroupis createdcalledACL_NewProduct_Modify.ThatgroupisassignedtheAllowModify permissiontothesharedfoldersoneachofthefileserversineachofthedomains.
https://skillpipe.courseware-marketplace.com/reader/Print/be1aba64-6bbe-4ff5-82e5-4d7e5b9d8ee0?ChapterNumber=6&FontSize=3&FontType=segoe 23/88

07/06/13

Module 4: Managing Groups

TheTreyResearchRegionalManagersgroupismadeamemberoftheACL_New Product_Modifygroup,asarevariousglobalgroupsandahandfulofusersfromeach oftheregions. Asyoucanseefromthisexample,universalgroupscanhelpyoutorepresentand consolidaterolesthatspandomainsinaforest,andtodefinerulesthatcanbe appliedacrosstheforest.

Summary of Group Scope Possibilities

Indaytodayadministration,itisimportantthatyoubecompletelyfamiliarwiththe membershipcharacteristicsofeachgroupscope.
https://skillpipe.courseware-marketplace.com/reader/Print/be1aba64-6bbe-4ff5-82e5-4d7e5b9d8ee0?ChapterNumber=6&FontSize=3&FontType=segoe 24/88

07/06/13

Module 4: Managing Groups

Thefollowingtablesummarizestheobjectsthatcanbemembersofeachgroup scope.

Group Scope

Membersfromthe Same Domain

Membersfrom Another Domaininthe Same Forest

Membersfroma TrustedExternal Domain

Local

Users Computers Globalgroups Universalgroups Domainlocalgroups Also,localusersdefined onthesamecomputeras thelocalgroup

Users Computers Globalgroups Universalgroups

Users Computers Globalgroups

DomainLocal

Users Computers

Users Computers

Users Computers
25/88

https://skillpipe.courseware-marketplace.com/reader/Print/be1aba64-6bbe-4ff5-82e5-4d7e5b9d8ee0?ChapterNumber=6&FontSize=3&FontType=segoe

07/06/13

Module 4: Managing Groups

Globalgroups Domainlocalgroups Universalgroups

Globalgroups Universalgroups

Globalgroups

Universal

Users Computers Globalgroups Universalgroups

Users Computers Globalgroups Universalgroups

N/A

Global

Users Globalgroups

N/A

N/A

Develop a Group Management Strategy

https://skillpipe.courseware-marketplace.com/reader/Print/be1aba64-6bbe-4ff5-82e5-4d7e5b9d8ee0?ChapterNumber=6&FontSize=3&FontType=segoe

26/88

07/06/13

Module 4: Managing Groups

Addinggroupstoothergroupsaprocesscallednestingcancreateahierarchyof groupsthatsupportyourbusinessrolesandmanagementrules.Nowthatyouhave learnedthebusinesspurposesandtechnicalcharacteristicsofgroups,itistimeto alignthetwoinastrategyforgroupmanagement. Earlierinthislesson,youlearnedwhattypesofobjectscanbemembersofeach groupscope.Nowitistimetoidentifywhattypesofobjectsshouldbemembersof eachgroupscope.Thisleadstothebestpracticeforgroupnesting,knownasIGDLA. IGDLAstandsforIdentities,Globalgroups,Domainlocalgroups,andAccess: Identities(userandcomputeraccounts)aremembersof:


https://skillpipe.courseware-marketplace.com/reader/Print/be1aba64-6bbe-4ff5-82e5-4d7e5b9d8ee0?ChapterNumber=6&FontSize=3&FontType=segoe 27/88

07/06/13

Module 4: Managing Groups

Globalgroupsthatrepresentbusinessroles.Thoserolegroups(globalgroups)are membersof: DomainLocalgroupsthatrepresentmanagementrulesdeterminingwhohasRead permissiontoaspecificcollectionoffolders,forexample.Theserulegroups (domainlocalgroups)aregranted: Accesstoresources.Inthecaseofasharedfolder,accessisgrantedbyaddingthe domainlocalgrouptothefolder'saccesscontrollist(ACL),withapermissionthat providestheappropriatelevelofaccess.

NoteThisapproachofgroupsnestingwasearlierknownasAGDLP,thatis, Accounts,

GlobalGroups,DomainLocalGroups,Permissions.However,theterminologyused inthiscourse,IGDLA,hasmoregeneralscopeofapplianceanditalsoalignswith industry standardterminology.

Inamultidomainforest,thereareuniversalgroupsalso,whichfitinbetweenglobal anddomainlocalgroups.Globalgroupsfrommultipledomainsaremembersofa singleuniversalgroup.Thatuniversalgroupisamemberofdomainlocalgroupsin multipledomains.YoucanrememberthenestingasIGUDLA.


https://skillpipe.courseware-marketplace.com/reader/Print/be1aba64-6bbe-4ff5-82e5-4d7e5b9d8ee0?ChapterNumber=6&FontSize=3&FontType=segoe 28/88

07/06/13

Module 4: Managing Groups

IGDLP Example
Thisbestpracticeforimplementinggroupnestingtranslateswelleveninmultidomain scenarios.Considerthefigurebelow,whichdescribesusageofIGDLPscenario:

Thisfigurerepresentsagroupimplementationthatreflectsnotonlythetechnicalview ofgroupmanagementbestpractices(IGDLA),butalsothebusinessviewofrole based,rulebasedmanagement. Considerthefollowingscenario: ThesalesforceatContoso,Ltd.hasjustcompleteditsfiscalyear.Salesfilesfromthe previousyearareinafoldercalled,Sales.ThesalesforceneedsReadaccesstothe Salesfolders.Additionally,ateamofauditorsfromWoodgroveBank,apotential investor,requireReadaccesstotheSalesfolderstoperformtheaudit.Thefollowing


https://skillpipe.courseware-marketplace.com/reader/Print/be1aba64-6bbe-4ff5-82e5-4d7e5b9d8ee0?ChapterNumber=6&FontSize=3&FontType=segoe 29/88

07/06/13

Module 4: Managing Groups

stepsarerequiredtoimplementthesecurityrequiredbythisscenario: 1. Assignuserswithcommonjobresponsibilitiesorotherbusinesscharacteristicsto rolegroupsimplementedasglobalsecuritygroups.Thishappensseparatelyin eachdomain.SalespeopleatContosoareaddedtoaSalesrolegroup.Auditors atWoodgroveBankareaddedtoanAuditorsrolegroup. 2. CreateagrouptomanageaccesstotheSalesfolderswithReadpermission.This isimplementedinthedomaincontainingtheresourcethatisbeingmanaged.In thiscase,itistheContosodomaininwhichtheSalesfoldersreside.The resourceaccessmanagementrulegroupiscreatedasadomainlocalgroup, ACL_SalesFolders_Read. 3. Addtherolegroupstotheresourceaccessmanagementrulegrouptorepresent themanagementrule.Thesegroupscancomefromanydomainintheforestor fromatrusteddomainsuchasWoodgroveBank.Globalgroupsfromtrusted externaldomains,orfromanydomaininthesameforest,canbemembersofa domainlocalgroup. 4. Assignthepermissionthatimplementstherequiredlevelofaccess.Inthiscase, granttheAllowReadpermissiontothedomainlocalgroup.

Thisstrategyresultsinsinglepointsofmanagement,reducingthemanagement burden.ThereisonepointofmanagementthatdefineswhoisinSales,orwhoisan Auditor.Thoseroles,ofcourse,arelikelytohaveaccesstoavarietyofresources


https://skillpipe.courseware-marketplace.com/reader/Print/be1aba64-6bbe-4ff5-82e5-4d7e5b9d8ee0?ChapterNumber=6&FontSize=3&FontType=segoe 30/88

07/06/13

Module 4: Managing Groups

beyondsimplytheSalesfolders.Thereisanothersinglepointofmanagementto determinewhohasReadaccesstotheSalesfoldersandtheSalesfoldersmaynot justbeasinglefolderonasingleserver.Itcouldbeacollectionoffoldersacross multipleservers,eachofwhichassignstheAllowReadpermissiontothesingle domainlocalgroup.

Default Groups

ThereareanumberofgroupsthatarecreatedautomaticallyonaWindowsServer 2008server.Thesearecalleddefaultlocalgroups,andtheyincludewellknown groupssuchasAdministrators,BackupOperators,andRemoteDesktopUsers.There areadditionalgroupsthatarecreatedinadomain,bothintheBuiltinandUsers


https://skillpipe.courseware-marketplace.com/reader/Print/be1aba64-6bbe-4ff5-82e5-4d7e5b9d8ee0?ChapterNumber=6&FontSize=3&FontType=segoe 31/88

07/06/13

Module 4: Managing Groups

containers,includingDomainAdmins,EnterpriseAdmins,andSchemaAdmins.The followinglistprovidesasummaryofcapabilitiesofthesubsetofdefaultgroupsthat havesignificantpermissionsanduserrightsrelatedtothemanagementofActive Directory.

Enterprise Admins (Users Container of the Forest Root Domain)


ThisgroupisamemberoftheAdministratorsgroupineverydomainintheforest, givingitcompleteaccesstotheconfigurationofalldomaincontrollers.Italsoowns theConfigurationpartitionofthedirectoryandhasfullcontrolofthedomainnaming contextinallforestdomains.

Schema Admins (Users Container of the Forest Root Domain)


ThisgroupownsandhasfullcontroloftheActiveDirectoryschema.

Administrators (Builtin Container of Each Domain)


Thisgrouphascompletecontroloveralldomaincontrollersanddatainthedomain namingcontext.Itcanchangethemembershipofallotheradministrativegroupsin thedomain,andtheAdministratorsgroupintheforestrootdomaincanchangethe membershipofEnterpriseAdmins,SchemaAdmins,andDomainAdmins.The Administratorsgroupintheforestrootdomainisarguablythemostpowerfulservice administrationgroupintheforest.

Domain Admins (Users Container of Each Domain)


https://skillpipe.courseware-marketplace.com/reader/Print/be1aba64-6bbe-4ff5-82e5-4d7e5b9d8ee0?ChapterNumber=6&FontSize=3&FontType=segoe 32/88

07/06/13

Module 4: Managing Groups

ThisgroupisaddedtotheAdministratorsgroupofitsdomain.Itthereforeinheritsall ofthecapabilitiesoftheAdministratorsgroup.Itisalso,bydefault,addedtothe localAdministratorsgroupofeachdomainmembercomputer,givingDomainAdmins ownershipofalldomaincomputers.

Server Operators (Built-in Container of Each Domain)


Thisgroupcanperformmaintenancetasksondomaincontrollers.Ithastherightto logonlocally,startandstopservices,performbackupandrestoreoperations,format disks,createordeleteshares,andshutdowndomaincontrollers.Bydefault,this grouphasnomembers.

Account Operators (Built-in Container of Each Domain)


Thisgroupcancreate,modify,anddeleteaccountsforusers,groups,andcomputers locatedinanyOUinthedomain(excepttheDomainControllersOU),andinthe UsersandComputerscontainer.AccountOperatorscannotmodifyaccountsthatare membersoftheAdministratorsorDomainAdminsgroups,norcantheymodifythose groups.AccountOperatorscanalsologonlocallytodomaincontrollers.Bydefault, thisgrouphasnomembers.

Backup Operators (Built-in Container of Each Domain)


Thisgroupcanperformbackupandrestoreoperationsondomaincontrollers,andlog onlocallyandshutdowndomaincontrollers.Bydefault,thisgrouphasnomembers.
https://skillpipe.courseware-marketplace.com/reader/Print/be1aba64-6bbe-4ff5-82e5-4d7e5b9d8ee0?ChapterNumber=6&FontSize=3&FontType=segoe 33/88

07/06/13

Module 4: Managing Groups

Print Operators (Built-in Container of Each Domain)


Thisgroupcanmaintainprintqueuesondomaincontrollers.Itcanalsologonlocally andshutdowndomaincontrollers. Thedefaultgroupsthatprovideadministrativeprivilegesshouldbemanaged carefully,becausetheytypicallyhavebroaderprivilegesthanarenecessaryformost delegatedenvironmentsandbecausetheyoftenapplyprotectiontotheirmembers. TheAccountOperatorsgroupisaperfectexample.Ifyouexamineitscapabilitiesin theprecedinglist,youwillseethatitsrightsareverybroadindeed.Itcanevenlog onlocallytoadomaincontroller.Inverysmallenterprises,suchrightswould probablybeappropriateforoneortwoindividualswhowouldprobablybedomain administratorsanyway.Inlargerenterprises,therightsandpermissionsgrantedto AccountOperatorsareusuallyfartoobroad. Additionally,theAccountOperatorsgroupis,liketheotheradministrativegroups,a protectedgroup. Protectedgroupsaredefinedbytheoperatingsystemandcannotbeunprotected. Membersofaprotectedgroupbecomeprotected.Theresultofprotectionisthatthe permissions(ACLs)ofmembersaremodifiedsothattheynolongerinherit permissionsfromtheirOU,butratherreceiveacopyofanACLthatisquite restrictive.Forexample,ifJeffFordisaddedtotheAccountOperatorsgroup,his accountbecomesprotected,andthehelpdesk,whichcanresetallotheruser
https://skillpipe.courseware-marketplace.com/reader/Print/be1aba64-6bbe-4ff5-82e5-4d7e5b9d8ee0?ChapterNumber=6&FontSize=3&FontType=segoe 34/88

07/06/13

Module 4: Managing Groups

passwordsintheEmployeesOU,cannotresetJeffFordspassword. Forthesereasonsofoverdelegationandprotection,youshouldstrivetoavoidadding userstothegroupslistedabovethatdonothavemembersbydefault:Account Operators,BackupOperators,ServerOperators,andPrintOperators.Instead,create customgroupstowhichyouassignpermissionsanduserrightsthatachieveyour businessandadministrativerequirements. Forexample,ifScottMitchellshouldbeabletoperformbackupoperationsona domaincontroller,butshouldnotbeabletoperformrestoreoperationsthatcould leadtodatabaserollbackorcorruption,andshouldnotbeabletoshutdowna domaincontroller,donotputScottintheBackupOperatorsgroup.Instead,createa groupandassignitonlytheBackupFilesAndDirectoriesuserright,thenaddScottas amember.

Special Identities

https://skillpipe.courseware-marketplace.com/reader/Print/be1aba64-6bbe-4ff5-82e5-4d7e5b9d8ee0?ChapterNumber=6&FontSize=3&FontType=segoe

35/88

07/06/13

Module 4: Managing Groups

WindowsandActiveDirectoryalsosupportspecialidentities,groupsforwhich membershipiscontrolledbytheoperatingsystem.Youcannotviewthegroupsinany list(intheActiveDirectoryUsersandComputerssnapin,forexample),youcannot viewormodifythemembershipofthesespecialidentities,andyoucannotaddthem toothergroups.Youcan,however,usethesegroupstoassignrightsand permissions.Themostimportantspecialidentities,oftenreferredtoasgroups,for convenience,aredescribedinthefollowinglist: AnonymousLogon.Thisidentityrepresentsconnectionstoacomputerandits resourcesthataremadewithoutsupplyingausernameandpassword.Priorto WindowsServer2003,thisgroupwasamemberoftheEveryonegroup.Beginning withWindowsServer2003,thisgroupisnolongeradefaultmemberofthe
https://skillpipe.courseware-marketplace.com/reader/Print/be1aba64-6bbe-4ff5-82e5-4d7e5b9d8ee0?ChapterNumber=6&FontSize=3&FontType=segoe 36/88

07/06/13

Module 4: Managing Groups

Everyonegroup. AuthenticatedUsers.Thisrepresentsidentitiesthathavebeenauthenticated.This groupdoesnotincludeGuest,eveniftheGuestaccounthasapassword. Everyone.ThisidentityincludesAuthenticatedUsersandtheGuestaccount.On computersrunningversionsofWindowsearlierthanWindowsServer2003,this groupincludesAnonymousLogon. Interactive.Thisrepresentsusersaccessingaresourcewhileloggedonlocallyto thecomputerthatishostingtheresource,asopposedtoaccessingtheresource overthenetwork.Whenauseraccessesanygivenresourceonacomputerto whichtheuserisloggedonlocally,theuserisautomaticallyaddedtothe Interactivegroupforthatresource.Interactivealsoincludesusersloggedon throughaRemoteDesktopconnection. Network.Thisrepresentsusersaccessingaresourceoverthenetwork,asopposed touserswhoareloggedonlocallyatthecomputerthatishostingtheresource. Whenauseraccessesanygivenresourceoverthenetwork,theuseris automaticallyaddedtotheNetworkgroupforthatresource.

Theimportanceofthesespecialidentitiesisthattheyallowyoutoprovideaccessto resourcesbasedonthetypeofauthenticationorconnection,ratherthantheuser account.Forexample,youcouldcreateafolderonasystemthatallowsuserstoview itscontentswhentheyareloggedonlocallytothesystem,butthatdoesnotallow


https://skillpipe.courseware-marketplace.com/reader/Print/be1aba64-6bbe-4ff5-82e5-4d7e5b9d8ee0?ChapterNumber=6&FontSize=3&FontType=segoe 37/88

07/06/13

Module 4: Managing Groups

thesameuserstoviewthecontentsfromamappeddriveoverthenetwork.This wouldbeachievedbyassigningpermissionstotheInteractivespecialidentity.

Lesson 2: Administer Groups

Inthislesson,youwilllearnaboutthedifferenttoolsthatyoucanusetomanage groups.UsingthetoolsincludedinWindowsServer2008,youcancreateanddelete groupobjects,convertgrouptypeandscope,andmanagegroupmembership.

Objectives
https://skillpipe.courseware-marketplace.com/reader/Print/be1aba64-6bbe-4ff5-82e5-4d7e5b9d8ee0?ChapterNumber=6&FontSize=3&FontType=segoe 38/88

07/06/13

Module 4: Managing Groups

Aftercompletingthislesson,youwillbeableto: CreategroupswithDSADD,CSVDE,andLDIFDE. Manageandconvertgrouptypeandscope. ManagegroupmembershipwithDSMODandLDIFDE. EnumerategroupmembershipwithDSGET. DeleteagroupwithDSRM. Copygroupmembership.

Tools for Group Management

https://skillpipe.courseware-marketplace.com/reader/Print/be1aba64-6bbe-4ff5-82e5-4d7e5b9d8ee0?ChapterNumber=6&FontSize=3&FontType=segoe

39/88

07/06/13

Module 4: Managing Groups

YoucanuseseveralGUIbasedandcommandlinetoolstocreateandmanagegroups inActiveDirectoryDomainServices(ADDS).Eachtoolprovidessimilarfunctionality, buttheusagescenariowilldeterminewhichtoolismostappropriate.Inthistopic,we willreviewtheavailabletoolsforcreatingandmanaginggroups.

Active Directory Users and Computers


TheActiveDirectoryUsersandComputersconsoleisprimarilyusedforgroup managementonadaytodaybasis.ItisaGUIbasedconsoleandisavailablein earlierversionsofWindowsServer.Itcanbeusedlocallyonadomaincontrolleror installedonanotherserverorworkstation,andthenusedremotely.Inthisconsole, youcancreategroups,managegroupmembership,convertagroupfromonetypeto
https://skillpipe.courseware-marketplace.com/reader/Print/be1aba64-6bbe-4ff5-82e5-4d7e5b9d8ee0?ChapterNumber=6&FontSize=3&FontType=segoe 40/88

07/06/13

Module 4: Managing Groups

another,andchangegroupscope.Usingthisconsole,youcanalsodeletegroups, modifygroupproperties,andrenamegroups.Thisconsoleisveryuserfriendlyand convenientforsimpletasksperformedonarelativelysmallnumberofgroupobjects. NoteThecontentinthefollowingsectionsActiveDirectoryAdministrative CenterandWindowsPowerShellwithActiveDirectoryModuleonlyapplies toWindowsServer2008

R2.

Active Directory Administrative Center


InWindowsServer2008R2,inadditiontousingActiveDirectoryUsersand Computers,administratorscanmanagetheirdirectoryserviceobjectsbyusingthe newActiveDirectoryAdministrativeCenter. BuiltonWindowsPowerShellcommandlineinterfacetechnology,ActiveDirectory AdministrativeCenterprovidesnetworkadministratorswithanenhancedActive DirectorydatamanagementexperienceandarichGUI.AdministratorscanuseActive DirectoryAdministrativeCentertoperformcommonActiveDirectoryobject managementtasksthroughbothdatadrivennavigationandtaskorientednavigation. AlthoughthisconsoleprovidesalmostthesamefunctionalityasActiveDirectoryUsers andGroupswhenitcomestogroups,itisnotbasedonthesametechnology.Inthis console,youcanusetheenhancedGUItocustomizeActiveDirectoryAdministrative
https://skillpipe.courseware-marketplace.com/reader/Print/be1aba64-6bbe-4ff5-82e5-4d7e5b9d8ee0?ChapterNumber=6&FontSize=3&FontType=segoe 41/88

07/06/13

Module 4: Managing Groups

Centertomeetyourparticulardirectoryserviceadministeringrequirements.Thiscan helpimproveyourproductivityandefficiencyasyouperformcommonActive Directoryobjectmanagementtasks.

Windows PowerShell with Active Directory Module


WindowsPowerShellisacommandlineshellandscriptinglanguagethatcanhelp informationtechnology(IT)professionalstocontrolsystemadministrationmore easilyandachievegreaterproductivity. TheActiveDirectorymoduleforWindowsPowerShellinWindowsServer2008R2isa WindowsPowerShellmodulenamedActiveDirectorythatconsolidatesagroupof cmdlets.YoucanusethesecmdletstomanageyourActiveDirectorydomains, ActiveDirectoryLightweightDirectoryServices(ADLDS)configurationsets,and ActiveDirectoryDatabaseMountingToolinstancesinasingle,selfcontained package. UsingWindowsPowerShell,youcanmanagegroups,andperformthefollowingtasks: ViewthepermissionsofagroupbyusingtheGetACLcmdlet. CreateagroupbyusingtheNewADGroupcmdlet. ViewthenestedmembersofagroupbyusingtheGetADGroupMembercmdlet. MoveagroupwithinadomainbyusingtheMoveADObjectcmdlet.
https://skillpipe.courseware-marketplace.com/reader/Print/be1aba64-6bbe-4ff5-82e5-4d7e5b9d8ee0?ChapterNumber=6&FontSize=3&FontType=segoe 42/88

07/06/13

Module 4: Managing Groups

EnableUniversalgroupmembershipcachingbyusingtheSetADObjectcmdlet. ViewthedirectmembersofagroupbyusingtheGetADGroupMembercmdlet. ModifygroupattributesbyusingtheSetADGroupcmdlet. ResolveaprimarygroupIDbyusingtheGetADUsercmdlet. AddandremovemembersofagroupbyusingtheAddADGroupMemberor RemoveADGroupMembercmdlets. ChangethescopeortypeofagroupbyusingtheSetADGroupcmdlet. RestoreadeletedgroupbyusingtheRestoreADObjectcmdlet.

Forexample,ifyouwanttocreateaglobalgroupnamed,ITAdmins,inthe contoso.comdomainbyusingWindowsPowerShell,youneedtousethefollowing command.

N e w A D G r o u pN a m e" I T A d m i n s "S a m A c c o u n t N a m eI T A d m i n sG r o u p C a t e g o r yS e c u r i t y-G r o u p S c o p eG l o b a lD i s p l a y N a m e" I T A d m i n i s t r a t o r s "P a t h" C N = U s e r s , D C = C o n t o s o , D C = C o m "

Ifyouwanttoviewthedirectmembersofthegroup,ITAdmins,inthecontoso.com domain,youcanusefollowingsyntax.
https://skillpipe.courseware-marketplace.com/reader/Print/be1aba64-6bbe-4ff5-82e5-4d7e5b9d8ee0?ChapterNumber=6&FontSize=3&FontType=segoe 43/88

07/06/13

Module 4: Managing Groups

G e t A D G r o u p M e m b e rI T A d m i n s|F TN a m e , O b j e c t C l a s sA

ThefollowingexampledemonstrateshowtomovethegroupSvcAccPSOGroupfrom theOUManagedtotheOUManagedGroupsinthecontoso.comdomain.

M o v e A D O b j e c t" C N = S v c A c c P S O G r o u p , O U = M a n a g e d , D C = C o n t o s o , D C = C o m "T a r g e t P a t h " O U = M a n a g e d G r o u p s , D C = C o n t o s o , D C = C o m "

Thefollowingexampledemonstrateshowtoaddtheuser,SaraDavis,tothegroup, SvcAccPSOGroup.

A d d A D G r o u p M e m b e rI d e n t i t yS v c A c c P S O G r o u pM e m b e r S a r a D a v i s

NoteForafullexplanationoftheparametersthatyoucanpasstoanycmdlet inWindowsPowerShell,attheActiveDirectorymodulecommandprompt,type GetHelpcmdletnamedetailedandthenpressEnter.

https://skillpipe.courseware-marketplace.com/reader/Print/be1aba64-6bbe-4ff5-82e5-4d7e5b9d8ee0?ChapterNumber=6&FontSize=3&FontType=segoe

44/88

07/06/13

Module 4: Managing Groups

DS commands
InpreviousversionsofWindowsServer,suchasWindowsServer2003,where PowerShellwasnotincluded,othertypeofcommandlineutilitieswereusedto manageActiveDirectoryobjects. Thesecommandlinetoolswereprovidedwithserveroperatingsystemstoallow betterandmoreproductivemanagementofthedirectoryservice.Thesetoolsare calledDScommands. ThefollowingisalistofDScommandsandtheirfunctionality: DSGet.Returnsthecurrentvalueofthespecifieddirectoryobjectproperty DSQuery.Allowsthedirectoryservicetobesearchedforanobjectorallobjects withlikeproperties DSMod.Helpsanadministratorchangepropertiesforexistingdirectoryobjects DSrm.Removesobjectsfromthedirectory DSAdd.Allowsadministratorstoaddnewdirectoryobjects DSMove.AllowsobjectstobemovedfromoneOUtoanother

ThesecommandscanbealsousedinWindowsServer2008R2tomanagegroups.
https://skillpipe.courseware-marketplace.com/reader/Print/be1aba64-6bbe-4ff5-82e5-4d7e5b9d8ee0?ChapterNumber=6&FontSize=3&FontType=segoe 45/88

07/06/13

Module 4: Managing Groups

However,becauseWindowsServer2008R2includesanewerandmorepowerful commandlinebasedenvironment,thesetoolsareusedtosupportlegacyscripts. Forexample,tocreateanewglobalsecuritygroupnamed,Marketing,thefollowing commandwouldbeused.

d s a d dg r o u p " C N = M a r k e t i n g , O U = R o l e , O U = G r o u p s , D C = c o n t o s o , D C = c o m " s a m i d M a r k e t i n g s e c g r py e s s c o p eg

Demonstration: Create a Group Object

https://skillpipe.courseware-marketplace.com/reader/Print/be1aba64-6bbe-4ff5-82e5-4d7e5b9d8ee0?ChapterNumber=6&FontSize=3&FontType=segoe

46/88

07/06/13

Module 4: Managing Groups

Groupsareanimportantclassofobject,becausetheyareusedtocollectusers, computers,andothergroupstocreateasinglepointofmanagement.Themost straightforwardandcommonuseofagroupistograntpermissionstoashared folder.Forexample,ifagrouphasbeengiventheReadaccesstoafolder,anyofthe groupsmemberswillbeabletoreadthefolder.YoudonothavetograntRead accessdirectlytoeachindividualmemberyoucanmanageaccesstothefolder simplybyaddingandremovingmembersofthegroup.

Demonstration steps:
CreateagroupbyusingActiveDirectoryUsersandComputers.
https://skillpipe.courseware-marketplace.com/reader/Print/be1aba64-6bbe-4ff5-82e5-4d7e5b9d8ee0?ChapterNumber=6&FontSize=3&FontType=segoe 47/88

07/06/13

Module 4: Managing Groups

Configuregroupproperties. ChangegroupscopebyusingWindowsPowerShellwithActiveDirectoryModule.

Manage Group Membership

Youcanaddorremovemembersofagroupbyusingseveralmethods.Theseinclude usingtheMemberstab,theMemberoftab,theAddtoagroupcommand,and theMemberandMemberOfAttributes. TheMembersTab


https://skillpipe.courseware-marketplace.com/reader/Print/be1aba64-6bbe-4ff5-82e5-4d7e5b9d8ee0?ChapterNumber=6&FontSize=3&FontType=segoe 48/88

07/06/13

Module 4: Managing Groups

Tomanagegroupmembershipbyusingthegroup'sMemberstab: 1. 2. 3. 4. OpenthegroupsPropertiesdialogbox. ClicktheMemberstab. Toremoveamember,simplyselectthememberandclickRemove. Toaddamember,clicktheAddbutton.TheSelectUsers,Computers, ServiceAccounts,orGroupsdialogboxappears,asfollows:

Thereareseveraltipsworthmentioningaboutthisprocess:
https://skillpipe.courseware-marketplace.com/reader/Print/be1aba64-6bbe-4ff5-82e5-4d7e5b9d8ee0?ChapterNumber=6&FontSize=3&FontType=segoe 49/88

07/06/13

Module 4: Managing Groups

IntheSelectdialogbox,intheEnterTheObjectNamesbox,youcantype multipleaccountsseparatedbysemicolons.Forexample,inthescreenshotshown above,bothsalesandfinancewereentered.Theyareseparatedbyasemicolon. Youcantypepartialnamesofaccountsyoudonotneedtotypethefullname. WindowssearchesActiveDirectoryforaccountsthatbeginwiththenameyou entered.Ifthereisonlyonematch,Windowsselectsitautomatically.Ifthereare multipleaccountsthatmatch,theMultipleNamesFounddialogboxappears, allowingyoutoselectthespecificobjectyouwant.Thisshortcuttypingpartial namescansavetimewhenyouareaddingmemberstogroupsandcanhelpwhen youdontremembertheexactnameofamember. Bydefault,Windowssearchesonlyforusersandgroupsthatmatchthenamesyou enterintheSelectdialogbox.Ifyouwanttoaddcomputerstoagroup,youmust clicktheOptionsbuttonandselectComputers. Bydefault,Windowssearchesonlydomaingroups.Ifyouwanttoaddlocal accounts,clicktheLocationsbuttonontheSelectdialogbox. Ifyoucannotfindthememberyouwanttoadd,clicktheAdvancedbuttonon theSelectdialogbox.Amorepowerfulquerywindowwillappear,givingyoumore optionsforsearchingActiveDirectory.

The Member Of Tab


Tomanagegroupmembershipbyusingthememberobject'sMemberOftab:
https://skillpipe.courseware-marketplace.com/reader/Print/be1aba64-6bbe-4ff5-82e5-4d7e5b9d8ee0?ChapterNumber=6&FontSize=3&FontType=segoe 50/88

07/06/13

Module 4: Managing Groups

1. 2.

Openthepropertiesofthememberobject,andthenclickitsMemberOftab. Toremovetheobjectfromagroup,selectthegroupandthenclickthe Removebutton.

3.

Toaddtheobjecttoagroup,clicktheAddbutton,andthenselectthegroup.

The Add to a group Command


TomanagegroupmembershipbyusingtheAddtoagroupcommand: 1. RightclickoneormoreselectedobjectsintheActiveDirectoryUsersand Computersdetailspane. 2. 3. ClicktheAddtoagroupcommand. UsetheSelectdialogboxtospecifythegroup.

The Member and MemberOf Attributes


Whenyouaddamembertoagroup,youchangethegroupsmemberattribute.The memberattributeisamultivaluedattribute.Eachmemberisavaluerepresentedby thedistinguishednameofthemember.Ifthememberismovedorrenamed,Active Directoryautomaticallyupdatesthememberattributesofgroupsthatincludethe member.
https://skillpipe.courseware-marketplace.com/reader/Print/be1aba64-6bbe-4ff5-82e5-4d7e5b9d8ee0?ChapterNumber=6&FontSize=3&FontType=segoe 51/88

07/06/13

Module 4: Managing Groups

Whenyouaddamembertoagroup,themembersmemberOfattributeisalso updated,indirectly.ThememberOfattributeisaspecialtypeofattributecalleda backlink.ItisupdatedbyActiveDirectorywhenaforwardlinkattribute,suchas member,referstotheobject.Whenyouaddamembertoagroup,youarealways changingthememberattribute.Therefore,whenyouusetheMemberOftabofan objecttoaddtoagroup,youareactuallychangingthegroupsmemberattribute. ActiveDirectoryupdatesthememberOfattributeautomatically.

Helping Membership Changes Take Effect Quickly


Whenyouaddausertoagroup,themembershipdoesnottakeeffectimmediately. Groupmembershipisevaluatedatlogonforauser(atstartupforacomputer). Therefore,auserwillhavetologoffandlogonbeforethemembershipchange becomesapartoftheuserstoken. Additionally,theremaybeadelaywhilethegroupmembershipchangereplicates. (ReplicationwillbediscussedinModule12.)Thisisparticularlytrueifyourenterprise hasmorethanoneActiveDirectorysite.Youcanfacilitatethespeedwithwhicha changeimpactsauserbymakingthechangeonadomaincontrollerintheuserssite. RightclickthedomainintheActiveDirectoryUsersandComputerssnapin,andthen clickChangeDomainController.

Convert Group Type and Scope

https://skillpipe.courseware-marketplace.com/reader/Print/be1aba64-6bbe-4ff5-82e5-4d7e5b9d8ee0?ChapterNumber=6&FontSize=3&FontType=segoe

52/88

07/06/13

Module 4: Managing Groups

If,aftercreatingagroup,youdeterminethatyouneedtomodifythegroup'sscope ortype,youcandoso.OpenthePropertiesofanexistinggroup,andonthe Generaltab,showninthefollowingimage,youwillseetheexistingscopeandtype. Atleastonemorescopeandtypeareavailabletobeselected.

https://skillpipe.courseware-marketplace.com/reader/Print/be1aba64-6bbe-4ff5-82e5-4d7e5b9d8ee0?ChapterNumber=6&FontSize=3&FontType=segoe

53/88

07/06/13

Module 4: Managing Groups

YoucanconvertthegrouptypeatanytimebychangingtheselectionintheGroup TypesectionoftheGeneraltab.Becautious,howeverwhenyouconvertagroup fromsecuritytodistribution,anyresourcestowhichthegrouphadbeenassigned permissionwillnolongerbeaccessibleinthesameway.Afterthegroupbecomesa distributiongroup,userswhologontothedomainwillnolongerincludethegroups SIDintheirsecurityaccesstokens. Youcanchangethegroupscopeinoneofthefollowingways: GlobaltoUniversal DomainlocaltoUniversal UniversaltoGlobal
https://skillpipe.courseware-marketplace.com/reader/Print/be1aba64-6bbe-4ff5-82e5-4d7e5b9d8ee0?ChapterNumber=6&FontSize=3&FontType=segoe 54/88

07/06/13

Module 4: Managing Groups

UniversaltoDomainlocal

Theonlyscopechangesthatyoucannotmakedirectlyarefromglobaltodomain localordomainlocaltoglobal.However,youcanmakethesechangesindirectlyby firstconvertingtouniversalscope,thenconvertingtothedesiredscope.So,allscope changesarepossible. Remember,however,thatagroupsscopedeterminesthetypesofobjectsthatcan bemembersofthegroup.Ifagroupalreadycontainsmembers,orisamemberof anothergroup,youwillbepreventedfromchangingthescope.Forexample,ifa globalgroupisamemberofanotherglobalgroup,youcannotchangethefirstgroup touniversalscope,becauseauniversalgroupcannotbeamemberofaglobalgroup. Youwillbegivenanexplanatoryerrormessage,suchasthatshownbelow.Youmust correctthemembershipconflictsbeforeyoucanchangethegroupsscope.

TheDSModcommandcanbeusedtochangegrouptypeandscopebyusingthe followingsyntax.

https://skillpipe.courseware-marketplace.com/reader/Print/be1aba64-6bbe-4ff5-82e5-4d7e5b9d8ee0?ChapterNumber=6&FontSize=3&FontType=segoe

55/88

07/06/13

Module 4: Managing Groups

d s m o dg r o u pG r o u p D N s e c g r p{y e s|n o} s c o p e{l|g|u }

TheGroupDNisthedistinguishednameofthegrouptomodify.Thefollowingtwo parametersaffectgroupscopeandtype. secgrp{yes|no}.Specifiesgrouptype:security(yes)ordistribution(no) scope{l|g|u}.Determinesthegroupscope:domainlocal(l),global(g),or universal(u)

Copy Group Membership

https://skillpipe.courseware-marketplace.com/reader/Print/be1aba64-6bbe-4ff5-82e5-4d7e5b9d8ee0?ChapterNumber=6&FontSize=3&FontType=segoe

56/88

07/06/13

Module 4: Managing Groups

YoucanuseDSGetincombinationwithDSModtocopygroupmembership.Inthe followingexample,theDSGetcommandisusedtogetinformationaboutallthe membersoftheSalesgroup,andthen,bypipingthatlisttoDSMod,toaddthose userstotheMarketinggroup.

d s g e tg r o u p" C N = S a l e s , O U = R o l e , O U = G r o u p s , D C = c o n t o s o , D C = c o m " m e m b e r s|d s m o dg r o u p " C N = M a r k e t i n g , O U = R o l e , O U = G r o u p s , D C = c o n t o s o , D C = c o m " a d d m b r

Noticetheuseofpiping.The"output"ofDSGet(distinguishednamesofmembersof
https://skillpipe.courseware-marketplace.com/reader/Print/be1aba64-6bbe-4ff5-82e5-4d7e5b9d8ee0?ChapterNumber=6&FontSize=3&FontType=segoe 57/88

07/06/13

Module 4: Managing Groups

thefirstgroup)ispiped,usingthepipesymbol("|"),toactasthe"input"fortheDNs thataremissingfromtheaddmbrswitch. Similarly,theDSGetandDSModcommandscanworktogethertocopythegroup membershipofoneobject,suchasauser,toanotherobject.

d s g e tu s e r" S o u r c e U s e r D N " m e m b e r o f|d s m o dg r o u p a d d m b r " T a r g e t U s e r D N "

Delete Groups

https://skillpipe.courseware-marketplace.com/reader/Print/be1aba64-6bbe-4ff5-82e5-4d7e5b9d8ee0?ChapterNumber=6&FontSize=3&FontType=segoe

58/88

07/06/13

Module 4: Managing Groups

YoucandeleteagroupintheActiveDirectoryUsersandComputerssnapinbyright clickingthegroupandchoosingtheDeletecommand. Also,DSrmcanbeusedtodeleteagrouporanyotherActiveDirectoryobject.The basicsyntaxofDSRmisasfollows.

d s r mO b j e c t D N. . .[ s u b t r e e[ e x c l u d e ] ][ n o p r o m p t ][ c ]

TheobjectisspecifiedbyitsdistinguishednameintheObjectDNparameter.Youwill bepromptedtoconfirmthedeletionofeachobject,unlessyouspecifythenoprompt option.ThecswitchputsDSRmintocontinuousoperationmode,inwhicherrorsare reportedbutthecommandkeepsprocessingadditionalobjectswithoutthecswitch, processinghaltsonthefirsterror. ThesubtreeoptioncausesDSrmtodeletetheobjectandallchildobjects.The

subtreeexcludeoptionwilldeleteallchildobjects,butnottheobjectitself.
TodeletethePublicRelationsgroup,typethefollowingcommand.

d s r m" C N = P u b l i c R e l a t i o n s , O U = R o l e , O U = G r o u p s , D C = c o n t o s o , D C = c o m "

https://skillpipe.courseware-marketplace.com/reader/Print/be1aba64-6bbe-4ff5-82e5-4d7e5b9d8ee0?ChapterNumber=6&FontSize=3&FontType=segoe

59/88

07/06/13

Module 4: Managing Groups

Know the Impact Before Deleting a Group


Whenyoudeleteagroup,youareremovingapointofmanagementinyour organization.Becertainyouhaveevaluatedtheenvironmenttoknowthatthereare nopermissionsorotherresourcesthatrelyonthegroup.Deletingagroupisa seriousactionwithpotentiallysignificantconsequences.Whenyoudeleteagroup, youremoveitsSID.Recreatingthegroupwiththesamenamedoesnotrestore permissions,becausethenewgroup'sSIDisdifferentthanthatoftheoriginalgroup. Werecommendthatbeforeyoudeleteagroup,yourecorditsmembershipand removeallmembersforaperiodoftime,todeterminewhetherthememberslose accesstoanyresources.Ifanythinggoeswrong,simplyreaddthemembers.Ifthe testsucceeds,thendeletethegroup.

Lab A: Administer Groups

https://skillpipe.courseware-marketplace.com/reader/Print/be1aba64-6bbe-4ff5-82e5-4d7e5b9d8ee0?ChapterNumber=6&FontSize=3&FontType=segoe

60/88

07/06/13

Module 4: Managing Groups

Lab Setup
Forthislab,youwillusetheavailablevirtualmachineenvironment.Beforeyoubegin thelab,youmustcompletethefollowingsteps: 1. Onthehostcomputer,clickStart,pointtoAdministrativeTools,andthen clickHyperVManager. 2. InHyperVManager,click6425CNYCDC1,andintheActionspane,click Start. 3. IntheActionspane,clickConnect.Waituntilthevirtualmachinestarts.

https://skillpipe.courseware-marketplace.com/reader/Print/be1aba64-6bbe-4ff5-82e5-4d7e5b9d8ee0?ChapterNumber=6&FontSize=3&FontType=segoe

61/88

07/06/13

Module 4: Managing Groups

4.

Logonbyusingthefollowingcredentials: Username:Pat.Coleman Password:Pa$$w0rd

5. 6.

OpenWindowsExplorerandthenbrowsetoD:\Labfiles\Lab04a. RunLab04a_Setup.batwithadministrativecredentials.Usetheaccount Pat.Coleman_AdminwiththepasswordPa$$w0rd.

7. 8.

Thelabsetupscriptruns.Whenitiscomplete,pressanykeytocontinue. ClosetheWindowsExplorerwindow,Lab04a.

Lab Scenario
ToimprovethemanageabilityofresourceaccessatContoso,Ltd.,youhavedecided toimplementrolebasedmanagement.Thefirstapplicationofrolebased managementwillbetomanagewhocanaccessthefolderscontainingsales information.Youmustcreategroupsthatmanageaccesstothatsensitive information.BusinessrulesarethatSalesandMarketingemployees,andateamof Consultants,shouldbeabletoreadtheSalesfolders.Additionally,BobbyMoore requiresReadaccess.Finally,youhavebeenaskedtodiscoverawaytoproducealist ofgroupmembers,includingthosewhoareinnestedgroupsandalistofauser's groupmembership,includingindirectornestedmembership.
https://skillpipe.courseware-marketplace.com/reader/Print/be1aba64-6bbe-4ff5-82e5-4d7e5b9d8ee0?ChapterNumber=6&FontSize=3&FontType=segoe 62/88

07/06/13

Module 4: Managing Groups

Exercise 1: Implement Role-Based Management by Using Groups


Inthisexercise,youwillimplementrolebasedmanagementbyusing groupsandthebestpracticegroupnestingstrategy,IGDLA.Youwillcreate differentscopesandtypesbyusingboththeActiveDirectoryUsersand Computerssnapin,andcommandlinetools. Themaintasksforthisexerciseareasfollows: 1. 2. 3. 4. CreaterolegroupswithActiveDirectoryUsersandComputers. CreaterolegroupswithDSAdd. Adduserstotherolegroup. ImplementarolehierarchyinwhichSalesManagersarealsopartoftheSales role. 5. 6. 7. Createaresourceaccessmanagementgroup. Assignpermissionstotheresourceaccessmanagementgroup. Definewhichrolesandusershaveaccesstoaresource.

Task 1: Create role groups with Active Directory Users and Computers.

https://skillpipe.courseware-marketplace.com/reader/Print/be1aba64-6bbe-4ff5-82e5-4d7e5b9d8ee0?ChapterNumber=6&FontSize=3&FontType=segoe

63/88

07/06/13

Module 4: Managing Groups

1.

RunActiveDirectoryUsersandComputerswithadministrativecredentials. UsetheaccountPat.Coleman_Admin,withthepassword,Pa$$w0rd.

2.

Createglobalsecuritygroupscalled,SalesandConsultants,inthe Groups\RoleOU.

Task 2: Create role groups with DSAdd.

1.

Runcommandpromptwithadministrativecredentials.Usetheaccount, Pat.Coleman_Admin,withthepassword,Pa$$w0rd.

2.

UsingtheDSAddcommand,createaglobalsecuritygroupnamed,Auditors,in theGroups\RoleOU.

3.

InActiveDirectoryUsersandComputers,confirmthattheobjecthasbeen created.

Task 3: Add users to the role group.

1.

AddTonyKrijnentotheSalesgroupbyusingtheMemberstaboftheSales group.

2.

AddLindaMitchelltotheSalesgroupbyrightclickingLindaMitchelland choosingAddtoagroup.
64/88

https://skillpipe.courseware-marketplace.com/reader/Print/be1aba64-6bbe-4ff5-82e5-4d7e5b9d8ee0?ChapterNumber=6&FontSize=3&FontType=segoe

07/06/13

Module 4: Managing Groups

Task 4: Implement a role hierarchy in which Sales Managers are also part of the Sales role. AddtheSalesManagersgroupasamemberoftheSalesgroupbyusingthe MemberOftaboftheSalesManagersgroup.

Task 5: Create a resource access management group.

Createadomainlocalsecuritygroupnamed,ACL_SalesFolders_Read,inthe Groups\AccessOU.

Task 6: Assign permissions to the resource access management group.

1. 2. 3. 4.

VerifythatthereisafolderinD:\Datanamed,Sales. RightclicktheSalesfolder,clickProperties,andthenclicktheSecuritytab. ClickEdit,andthenclickAdd. TypeACL_andpressENTER. Noticethatwhenyouuseaprefixforgroupnames,suchastheACL_prefixfor

https://skillpipe.courseware-marketplace.com/reader/Print/be1aba64-6bbe-4ff5-82e5-4d7e5b9d8ee0?ChapterNumber=6&FontSize=3&FontType=segoe

65/88

07/06/13

Module 4: Managing Groups

resourceaccessgroups,youcanfindthemquickly. 5. 6. 7. ClickACL_SalesFolders_Read,andthenclickOK. ConfirmthatthegrouphasbeengivenRead&executepermission. ClickOKtocloseeachopendialogbox.

Task 7: Define the roles and users that have access to a resource.

AddSales,Consultants,Auditors,andBobbyMooretotheACL_Sales Folders_Readgroup.

Results:Inthisexercise,youimplementedsimplerolebasedmanagementto manageReadaccesstotheSalesfolder.

Exercise 2 (Advanced Optional): Explore Group Membership Reporting Tools


AdvancedOptionalexercisesprovideadditionalchallengesforstudents whoareabletocompletelabexercisesquickly.Therearenoanswersinthe LabAnswerKey.
https://skillpipe.courseware-marketplace.com/reader/Print/be1aba64-6bbe-4ff5-82e5-4d7e5b9d8ee0?ChapterNumber=6&FontSize=3&FontType=segoe 66/88

07/06/13

Module 4: Managing Groups

Themaintasksforthisexerciseareasfollows:

1.

OpenD:\AdminTools\Members_Report.hta.Enterthenameofagroup, andthenclickSHOWMEMBERS.

2.

OpenD:\AdminTools\MemberOf_Report.hta.Enterthenameofauser, computer,orgroup,andthenclickReport.

Exercise 3 (Advanced Optional): Understand "Account Unknown" Permissions


AdvancedOptionalexercisesprovideadditionalchallengesforstudents whoareabletocompletelabexercisesquickly.Therearenoanswersinthe LabAnswerKey.

Themaintasksforthisexerciseareasfollows:

1. 2. 3.

IntheRoleOU,createaglobalsecuritygroupnamed,Test. GivethegroupRead&ExecutepermissiontotheD:\Data\Salesfolder. Deletethegroupnamed,Test.

https://skillpipe.courseware-marketplace.com/reader/Print/be1aba64-6bbe-4ff5-82e5-4d7e5b9d8ee0?ChapterNumber=6&FontSize=3&FontType=segoe

67/88

07/06/13

Module 4: Managing Groups

4.

ExaminetheSecuritytaboftheSalesfolder'spropertiesdialogbox.Ifyoustill seetheTestgrouplisted,WindowsExplorermaybecachingthemappingofthe SIDtothegroupname.Logoff,logon,andcheckagain.

NoteDonotshutdownthevirtualmachinesafteryoufinishthislab becausethesettings

youhaveconfiguredherewillbeusedinLabB.

Lab Review Questions Question:Describethepurposeofglobalgroupsintermsofrolebased management. Question:Whattypesofobjectscanbemembersofglobalgroups? Question:Describethepurposeofdomainlocalgroupsintermsofrolebased management ofresourceaccess. Question:Whattypesofobjectscanbemembersofdomainlocalgroups?
https://skillpipe.courseware-marketplace.com/reader/Print/be1aba64-6bbe-4ff5-82e5-4d7e5b9d8ee0?ChapterNumber=6&FontSize=3&FontType=segoe 68/88

07/06/13

Module 4: Managing Groups

Question:Ifyouhaveimplementedrolebasedmanagementandareaskedto reportwho canreadtheSalesfolders,whatcommandwouldyouusetodoso?

Lesson 3: Best Practices for Group Management

Inthislesson,youwilllearnaboutthebestpracticesthatyoushouldfollowwhen youmanagegroups.Youwillalsoseehowtoprotectgroupsfromaccidentaldeletion andhowtousetheManagedBytabtodelegatemembershipmanagement.


https://skillpipe.courseware-marketplace.com/reader/Print/be1aba64-6bbe-4ff5-82e5-4d7e5b9d8ee0?ChapterNumber=6&FontSize=3&FontType=segoe 69/88

07/06/13

Module 4: Managing Groups

Objectives
Aftercompletingthislesson,youwillbeableto: Describethebestpracticesforgroupdocumentation. Protectagroupfromaccidentaldeletion. DelegategroupmembershipmanagementbyusingtheManagedBytab.

Best Practices for Documenting Groups

https://skillpipe.courseware-marketplace.com/reader/Print/be1aba64-6bbe-4ff5-82e5-4d7e5b9d8ee0?ChapterNumber=6&FontSize=3&FontType=segoe

70/88

07/06/13

Module 4: Managing Groups

CreatingagroupinActiveDirectoryiseasy.Itisnotsoeasytoensurethatthegroup isusedcorrectlyovertime.Youcanfacilitatethecorrectmanagementanduseofa groupbydocumentingitspurpose,tohelpadministratorsunderstandhowandwhen tousethegroup.Thereareseveralbestpracticesthatwillproveimmenselyusefulto yourenterprisegroupadministration.

Establish and Adhere to a Strict Naming Convention


Anearlierlessondealtwithasuggestednamingconvention.Inthecontextof ongoinggroupadministration,establishingandfollowinggroupnamingstandards increasesadministrativeproductivity.Usingprefixestoindicatethepurposeofa group,andusingaconsistentdelimiterbetweentheprefixandthedescriptivepartof thegroupnamecanhelpuserslocatethecorrectgroupforaparticularpurpose.For example,theprefixAPPcanbeusedtodesignategroupsthatareusedtomanage applications,andtheprefixACLcanbeusedforgroupsthatareassignedpermissions onaccesscontrollists(ACLs).Withsuchprefixes,itbecomeseasiertolocateand interpretthepurposeofgroupsnamed,forexample,APP_Accountingversus ACL_Accounting_Readtheformerisusedtomanagethedeploymentofthe accountingsoftware,andthelattertoprovideReadaccesstotheaccountingfolder. Prefixesalsohelptogroupthenamesofgroupsintheuserinterfaceasillustratedin theexampleshowninthefollowingscreenshot.

https://skillpipe.courseware-marketplace.com/reader/Print/be1aba64-6bbe-4ff5-82e5-4d7e5b9d8ee0?ChapterNumber=6&FontSize=3&FontType=segoe

71/88

07/06/13

Module 4: Managing Groups

Whenattemptingtolocateagrouptouseinassigningpermissionstoafolder,you cantypetheprefix,ACL,_intheSelectdialogboxandclickOK.AMultipleItems FounddialogboxappearsshowingonlytheACL_groupsinthedirectory,thereby ensuringthatpermissionswillbeassignedtoagroupthatisdesignedtomanage resourceaccess.

Summarize a Groups Purpose with its Description Attribute


UsetheDescriptionattributeofagrouptosummarizethegroupspurpose.Because theDescriptioncolumnisenabledbydefaultinthedetailspaneoftheActive DirectoryUsersandComputerssnapin,thegroupspurposecanbehighlyvisibleto administrators.

https://skillpipe.courseware-marketplace.com/reader/Print/be1aba64-6bbe-4ff5-82e5-4d7e5b9d8ee0?ChapterNumber=6&FontSize=3&FontType=segoe

72/88

07/06/13

Module 4: Managing Groups

Detail a Groups Purpose in its Notes


WhenyouopenagroupsPropertiesdialogbox,theNotesfieldisvisibleatthe bottomoftheGeneraltab.Thisfieldcanbeusedtorecordthegroupspurpose.For example,youcanlistthefolderstowhichagrouphasbeengivenpermission,as follows.

Protect Groups from Accidental Deletion

https://skillpipe.courseware-marketplace.com/reader/Print/be1aba64-6bbe-4ff5-82e5-4d7e5b9d8ee0?ChapterNumber=6&FontSize=3&FontType=segoe

73/88

07/06/13

Module 4: Managing Groups

Protectyourselffromthepotentiallydevastatingresultsofdeletingagroupby protectingeachgroupyoucreatefromdeletion.WindowsServer2008makesiteasy toprotectanyobjectfromaccidentaldeletion. Toprotectanobject,performthefollowingsteps: 1. IntheActiveDirectoryUsersandComputerssnapin,clicktheViewmenu andensurethatAdvancedFeaturesisselected. 2. 3. OpenthePropertiesdialogboxforagroup. OntheObjecttab,selecttheProtectObjectFromAccidentalDeletion


74/88

https://skillpipe.courseware-marketplace.com/reader/Print/be1aba64-6bbe-4ff5-82e5-4d7e5b9d8ee0?ChapterNumber=6&FontSize=3&FontType=segoe

07/06/13

Module 4: Managing Groups

checkbox. 4. ClickOK.

ThisisoneofthefewplacesinWindowsinwhichyouactuallyhavetoclickOK. ClickingApplydoesnotmodifytheACLbasedonyourselection. TheProtectObjectFromAccidentalDeletionoptionappliesanaccesscontrol entry(ACE)totheACLoftheobjectthatexplicitlydeniestheEveryonegroupboth theDeletepermissionandtheDeleteSubtreepermission.Ifyoureallydowantto deletethegroup,youcanreturntotheObjecttabofthePropertiesdialogboxand cleartheProtectObjectFromAccidentalDeletioncheckbox. Deletingagrouphasahighimpactonadministrators,andpotentially,onsecurity. Consideragroupthathasbeenusedtomanageaccesstoresources.Ifthegroupis deleted,accesstothatresourceischanged.Eitheruserswhoshouldbeabletoaccess theresourcearesuddenlypreventedfromaccess,creatingadenialofservice scenario,orifyouhadusedthegrouptodenyaccesstoaresourcewithaDeny permission,inappropriateaccesstotheresourcebecomespossible. Additionally,ifyourecreatethegroup,thenewgroupobjectwillhaveanewSID, whichwillnotmatchtheSIDsonACLsofresources.Soyoumustinsteadperform objectrecoverytoreanimatethedeletedgroupbeforethetombstoneintervalis reached.Whenagrouphasbeendeletedforthetombstoneinterval60days,by
https://skillpipe.courseware-marketplace.com/reader/Print/be1aba64-6bbe-4ff5-82e5-4d7e5b9d8ee0?ChapterNumber=6&FontSize=3&FontType=segoe 75/88

07/06/13

Module 4: Managing Groups

defaultthegroupanditsSIDarepermanentlydeletedfromActiveDirectory.When youreanimateatombstonedobject,youmustrecreatemostofitsattributes, includingimportantly,thememberattributeofgroupobjects.Thatmeans,youmust rebuildthegroupmembershipafterrestoringthedeletedobject.Alternatively,you canperformanauthoritativerestoreor,inWindowsServer2008,turntoyourActive Directorysnapshotstorecoverboththegroupanditsmembership.Authoritative restoreandsnapshotsarediscussedinModule13. Inanyevent,itissafetosaythatrecoveringadeletedgroupisaskillyoushould hopetouseonlyindisasterrecoveryfiredrills,notinaproductionenvironment.

Delegate Membership Management with the Managed By Tab

https://skillpipe.courseware-marketplace.com/reader/Print/be1aba64-6bbe-4ff5-82e5-4d7e5b9d8ee0?ChapterNumber=6&FontSize=3&FontType=segoe

76/88

07/06/13

Module 4: Managing Groups

Afteragrouphasbeencreated,youmightwanttodelegatethemanagementofthe groupsmembershiptoateamoranindividualwhohasthebusinessresponsibilityfor theresourcethatthegroupmanages.Forexample,letsassumethatyourfinance managerisresponsibleforcreatingnextyearsbudget.Youcreateasharedfolderfor thebudgetandassignWritepermissiontoagroupnamed,ACL_Budget_Edit.If someoneneedsaccesstothebudgetfolder,heorshecontactsthehelpdesktoenter arequest,thehelpdeskcontactsthefinancemanagerforbusinessapproval,and thenthehelpdeskaddstheusertotheACL_Budget_Editgroup.Youcanimprove theresponsivenessandaccountabilityoftheprocessbyallowingthefinancemanager tochangethegroupsmembership.Then,userswhoneedaccesscanrequestaccess directlyfromthefinancemanager,whocanmakethechange,thusremovingthe intermediatestepofcontactingthehelpdesk.Todelegatethemanagementofa
https://skillpipe.courseware-marketplace.com/reader/Print/be1aba64-6bbe-4ff5-82e5-4d7e5b9d8ee0?ChapterNumber=6&FontSize=3&FontType=segoe 77/88

07/06/13

Module 4: Managing Groups

groupsmembership,youmustassigntothefinancemanagertheAllowWrite Memberpermissionforthegroup.Thememberattributeisthemultivaluedattribute thatisthegroupsmembership. Theeasiestwaytodelegatemembershipmanagementofasinglegroupistousethe ManagedBytab.TheManagedBytabofagroupobjectsPropertiesdialogbox isshownhere:

TheManagedBytabservestwopurposes.First,itprovidescontactinformation relatedtothemanagerofagroup.Youcanusethisinformationtocontactthe businessownerofagrouptoobtainapprovalbeforeaddingausertothegroup. ThesecondpurposeservedbytheManagedBytabistomanagethedelegationof


https://skillpipe.courseware-marketplace.com/reader/Print/be1aba64-6bbe-4ff5-82e5-4d7e5b9d8ee0?ChapterNumber=6&FontSize=3&FontType=segoe 78/88

07/06/13

Module 4: Managing Groups

thememberattribute.Notethecheckboxshownintheprecedingscreenshot.Itis labeledManagercanupdatemembershiplist.Whenselected,theuserorgroup shownintheNameboxisgiventheAllowWriteMemberpermission.Ifyou changeorclearthemanager,theappropriatechangeismadetothegroupsACL. TipYoumustactuallyclickOKtoimplementthechange.ClickingApplydoes notchange

theACLonthegroup. ItisnotquitesoeasytoinsertagroupintotheManagedBytabofanothergroup. WhenyouclicktheChangebutton,theSelectUser,Contact,OrGroupdialog boxappears.IfyouenterthenameofagroupandclickOK,anerroroccurs.Thatis becausethisdialogboxisnotconfiguredtoacceptgroupsasvalidobjecttypes,even thoughGroupisinthenameofthedialogboxitself.Toworkaroundthisodd limitation,clicktheObjectTypesbutton,andthenselectthecheckboxnextto Groups.ClickOKtocloseboththeObjectTypesandSelectdialogboxes.Ensure toselecttheManagerCanUpdateMembershipListcheckboxifyouwantto assigntheAllowWriteMemberpermissiontothegroup.Whenagroupisusedonthe ManagedBytab,nocontactinformationisvisible,becausegroupsdonotmaintain contactrelatedattributes.

https://skillpipe.courseware-marketplace.com/reader/Print/be1aba64-6bbe-4ff5-82e5-4d7e5b9d8ee0?ChapterNumber=6&FontSize=3&FontType=segoe

79/88

07/06/13

Module 4: Managing Groups

Afteryouhavedelegatedgroupmembershipmanagement,auserdoesnotrequire ActiveDirectoryUsersandComputerstomodifythemembershipofthegroup.Auser cansimplyusetheSearchActiveDirectorycapabilityofWindowsclientstofind thegroup,andthenchangeitsmembership. Tofindagroup: 1. 2. 3. ClickStart,andthenclickNetwork. ClicktheSearchActiveDirectorybuttononthetoolbar. TypethenameofthegroupandclickFindNow.

https://skillpipe.courseware-marketplace.com/reader/Print/be1aba64-6bbe-4ff5-82e5-4d7e5b9d8ee0?ChapterNumber=6&FontSize=3&FontType=segoe

80/88

07/06/13

Module 4: Managing Groups

Lab B: Best Practices for Group Management

Lab Setup
Forthislab,youwillusetheavailablevirtualmachineenvironment.Beforeyoubegin thelab,youmustcompletethefollowingsteps: 1. Onthehostcomputer,clickStart,pointtoAdministrativeTools,andthen clickHyperVManager. 2. InHyperVManager,click6425CNYCDC1,andintheActionspane,click Start.
https://skillpipe.courseware-marketplace.com/reader/Print/be1aba64-6bbe-4ff5-82e5-4d7e5b9d8ee0?ChapterNumber=6&FontSize=3&FontType=segoe 81/88

07/06/13

Module 4: Managing Groups

3. 4.

IntheActionspane,clickConnect.Waituntilthevirtualmachinestarts. Logonbyusingthefollowingcredentials: Username:Pat.Coleman Password:Pa$$w0rd

Lab Scenario
YourimplementationofrolebasedmanagementatContoso,Ltd.hasbeenhighly successful.Asthenumberofgroupsinthedomainhasincreased,you'vecometo realizethatitisimportanttorecordthegroupsandpreventadministratorsfrom accidentallydeletingagroup.Finally,youwanttoallowthebusinessownersof resourcestomanageaccesstothoseresourcesbydelegatingtothoseownersthe righttomodifythemembershipofappropriategroups.

Exercise 1: Implement Best Practices for Group Management


Inthisexercise,youwillperformthefollowingtaskstorecord,delegate, andsecuregroups: 1. 2. Createawelldocumentedgroup. Protectagroupfromaccidentaldeletion.
82/88

https://skillpipe.courseware-marketplace.com/reader/Print/be1aba64-6bbe-4ff5-82e5-4d7e5b9d8ee0?ChapterNumber=6&FontSize=3&FontType=segoe

07/06/13

Module 4: Managing Groups

3. 4.

Delegategroupmembershipmanagement. Validatethedelegationofgroupmembershipmanagement.

Task 1: Create a well-documented group.

1.

RunActiveDirectoryUsersandComputerswithadministrativecredentials. Usetheaccount,Pat.Coleman_Admin,withthepassword,Pa$$w0rd.

2.

BrowsetotheGroups\AccessOU.InthepropertiesoftheACL_Sales Folders_Readgroup,configurethefollowing: ADescriptionthatsummarizestheresourcemanagementrulerepresentedby thegroup:SalesFolders(READ) IntheNotesbox,typethefollowingpathstorepresentthefoldersthathave permissionsassignedtothisgroup. \\contoso\teams\Sales(READ) \\file02\data\Sales(READ) \\file03\news\Sales(READ)

Task 2: Protect a group from accidental deletion.


https://skillpipe.courseware-marketplace.com/reader/Print/be1aba64-6bbe-4ff5-82e5-4d7e5b9d8ee0?ChapterNumber=6&FontSize=3&FontType=segoe 83/88

07/06/13

Module 4: Managing Groups

1.

EnabletheAdvancedFeaturesviewoftheActiveDirectoryUsersand Computerssnapin.

2. 3.

ProtecttheACL_SalesFolders_Readgroupfrombeingaccidentallydeleted. Attempttodeletethegroup.Confirmthattheattempttodeletethegroupis denied.

Task 3: Delegate group membership management.

ConfiguretheManagedByattributeofAuditorstorefertoMikeDanseglio.

Task 4: Validate the delegation of group membership management.

1.

LogofffromNYCDC1,thenlogonwithusername,Mike.Danseglio,andthe password,Pa$$w0rd.

2.

OpentheNetworkwindowanduseSearchActiveDirectorytolocatethe Auditorsgroup.

3. 4.

AddtheExecutivesgrouptotheAuditorsgroup. LogofffromNYCDC1.

https://skillpipe.courseware-marketplace.com/reader/Print/be1aba64-6bbe-4ff5-82e5-4d7e5b9d8ee0?ChapterNumber=6&FontSize=3&FontType=segoe

84/88

07/06/13

Module 4: Managing Groups

Results:Inthisexercise,youcreatedawelldocumentedgroup,protecteditfrom accidentaldeletion,anddelegatedgroupmembershipmanagement.

To prepare for the next module

Whenyoufinishthelab,revertthevirtualmachinestotheirinitialstate.Todothis, completethefollowingsteps:

1. 2.

Onthehostcomputer,startHyperVManager. Rightclick6425BNYCDC1intheVirtualMachineslist,andthenclick Revert.

3.

IntheRevertVirtualMachinedialogbox,clickRevert.

Lab Review Questions Question:WhataresomebenefitsofusingtheDescriptionandNotesfieldsof agroup? Question:Whataretheadvantagesanddisadvantagesofdelegatinggroup membership?

https://skillpipe.courseware-marketplace.com/reader/Print/be1aba64-6bbe-4ff5-82e5-4d7e5b9d8ee0?ChapterNumber=6&FontSize=3&FontType=segoe

85/88

07/06/13

Module 4: Managing Groups

Module Review and Takeaways

Review Questions
1. MembersofaSalesdepartmentinacompanythathasbranchesinmultiplecities travelfrequentlybetweendomains.Howwillyouprovidethesememberswith accesstoprintersonvariousdomainsthataremanagedbyusingdomainlocal groups? 2. Youareresponsibleformanagingaccountsandaccesstoresourcesforyour groupmembers.Auserinyourgrouptransfersintoanotherdepartmentwithin
https://skillpipe.courseware-marketplace.com/reader/Print/be1aba64-6bbe-4ff5-82e5-4d7e5b9d8ee0?ChapterNumber=6&FontSize=3&FontType=segoe 86/88

07/06/13

Module 4: Managing Groups

thecompany.Whatshouldyoudowiththeusersaccount? 3. Whichgroupscopecanbeassignedpermissionsinanydomainorforest?

Common Issues Related to Group Management


Issue
Cannotconvertgroupscope Cannotaddgrouptoanothergroup CannotcreategroupinADDS

Troubleshootingtip

Real-World Issues and Scenarios


Aprojectmanagerinyourdepartmentisstartingagroupprojectthatwillcontinue forthenextyear.Severalusersfromyourdepartmentandotherdepartmentswill bededicatedtotheprojectduringthistime.Theprojectteammusthaveaccessto thesamesharedresources.Theprojectmanagermustbeabletomanagetheuser accountsandgroupaccountsinADDS.However,youdonotwanttogivethe projectmanagerpermissiontomanageanythingelseinADDS.Whatisthebest waytodothis?

Best Practices for Group Management


https://skillpipe.courseware-marketplace.com/reader/Print/be1aba64-6bbe-4ff5-82e5-4d7e5b9d8ee0?ChapterNumber=6&FontSize=3&FontType=segoe 87/88

07/06/13

Module 4: Managing Groups

Whenmanagingaccesstoresources,trytousebothruleandrolegroups. UseUniversalgroupsonlywhennecessarybecausetheyaddweighttoreplication traffic. UseWindowsPowerShellwithActiveDirectoryModuleforbatchjobsongroups. AvoidaddinguserstoBuiltinandDefaultGroups.

Tools
Tool
ActiveDirectoryUsersand Computers WindowsPowerShellwith ActiveDirectoryModule DSutilities

Use
Managegroups

Wheretofindit
AdministrativeTools

Managegroups

InstalledasWindowsFeature

Managegroups

Commandline

Windows Server 2008 R2 Features Introduced in this Module


Feature
WindowsPowerShellwithActive DirectoryModule

Description
NewadministrationutilityforActiveDirectory,basedonWindows PowerShell
88/88

https://skillpipe.courseware-marketplace.com/reader/Print/be1aba64-6bbe-4ff5-82e5-4d7e5b9d8ee0?ChapterNumber=6&FontSize=3&FontType=segoe

Vous aimerez peut-être aussi