利用 GPMC 在域间迁移 GPO.docx

上传人:b****3 文档编号:10576226 上传时间:2023-05-26 格式:DOCX 页数:20 大小:75.96KB
下载 相关 举报
利用 GPMC 在域间迁移 GPO.docx_第1页
第1页 / 共20页
利用 GPMC 在域间迁移 GPO.docx_第2页
第2页 / 共20页
利用 GPMC 在域间迁移 GPO.docx_第3页
第3页 / 共20页
利用 GPMC 在域间迁移 GPO.docx_第4页
第4页 / 共20页
利用 GPMC 在域间迁移 GPO.docx_第5页
第5页 / 共20页
利用 GPMC 在域间迁移 GPO.docx_第6页
第6页 / 共20页
利用 GPMC 在域间迁移 GPO.docx_第7页
第7页 / 共20页
利用 GPMC 在域间迁移 GPO.docx_第8页
第8页 / 共20页
利用 GPMC 在域间迁移 GPO.docx_第9页
第9页 / 共20页
利用 GPMC 在域间迁移 GPO.docx_第10页
第10页 / 共20页
利用 GPMC 在域间迁移 GPO.docx_第11页
第11页 / 共20页
利用 GPMC 在域间迁移 GPO.docx_第12页
第12页 / 共20页
利用 GPMC 在域间迁移 GPO.docx_第13页
第13页 / 共20页
利用 GPMC 在域间迁移 GPO.docx_第14页
第14页 / 共20页
利用 GPMC 在域间迁移 GPO.docx_第15页
第15页 / 共20页
利用 GPMC 在域间迁移 GPO.docx_第16页
第16页 / 共20页
利用 GPMC 在域间迁移 GPO.docx_第17页
第17页 / 共20页
利用 GPMC 在域间迁移 GPO.docx_第18页
第18页 / 共20页
利用 GPMC 在域间迁移 GPO.docx_第19页
第19页 / 共20页
利用 GPMC 在域间迁移 GPO.docx_第20页
第20页 / 共20页
亲,该文档总共20页,全部预览完了,如果喜欢就下载吧!
下载资源
资源描述

利用 GPMC 在域间迁移 GPO.docx

《利用 GPMC 在域间迁移 GPO.docx》由会员分享,可在线阅读,更多相关《利用 GPMC 在域间迁移 GPO.docx(20页珍藏版)》请在冰点文库上搜索。

利用 GPMC 在域间迁移 GPO.docx

利用GPMC在域间迁移GPO

MigratingGPOsAcrossDomainswithGPMC

ByMikeTreit,MicrosoftCorporation

Published:

June2003

Abstract

OneofthekeyscenariosenabledbyMicrosoftGroupPolicyManagementConsole(GPMC)istheabilitytocopyGroupPolicyobjects(GPOs)fromonedomaintoanother,suchasmigratingaGPOfromatestdomaintoaproductiondomain.ThistechnicalarticleexplainshowtomoveGPOsfromonedomaintoanotherusingGPMCandidentifiessomeoftheissuesyoumightencounter.Inaddition,thisarticleintroducesvariousadvancedoptionsinGPMCthatmaketheprocesseasier.

TheinformationcontainedinthisdocumentrepresentsthecurrentviewofMicrosoftCorporationontheissuesdiscussedasofthedateofpublication.BecauseMicrosoftmustrespondtochangingmarketconditions,itshouldnotbeinterpretedtobeacommitmentonthepartofMicrosoft,andMicrosoftcannotguaranteetheaccuracyofanyinformationpresentedafterthedateofpublication.

Thisdocumentisforinformationalpurposesonly.MICROSOFTMAKESNOWARRANTIES,EXPRESSORIMPLIED,ASTOTHEINFORMATIONINTHISDOCUMENT.

Complyingwithallapplicablecopyrightlawsistheresponsibilityoftheuser.Withoutlimitingtherightsundercopyright,nopartofthisdocumentmaybereproduced,storedinorintroducedintoaretrievalsystem,ortransmittedinanyformorbyanymeans(electronic,mechanical,photocopying,recording,orotherwise),orforanypurpose,withouttheexpresswrittenpermissionofMicrosoftCorporation.

Microsoftmayhavepatents,patentapplications,trademarks,copyrights,orotherintellectualpropertyrightscoveringsubjectmatterinthisdocument.ExceptasexpresslyprovidedinanywrittenlicenseagreementfromMicrosoft,thefurnishingofthisdocumentdoesnotgiveyouanylicensetothesepatents,trademarks,copyrights,orotherintellectualproperty.

©2003.MicrosoftCorporation.Allrightsreserved.

Microsoft,ActiveDirectory,andWindowsareeitherregisteredtrademarksortrademarksofMicrosoftCorporationintheUnitedStatesand/orothercountries.

Thenamesofactualcompaniesandproductsmentionedhereinmaybethetrademarksoftheirrespectiveowners.

Version1.1

Contents

Introduction1

OverviewofMigratingGPOs2

Scenario:

Test-to-ProductionMigration2

Scenario:

Production-to-ProductionMigration3

PolicySettingsThatMayRequireMapping4

UsingGPMCtoMigrateGPOs6

Copy6

Backup7

Import7

UnderstandingMigrationTables8

MigrationTableDetails9

CreatingMigrationTables11

PuttingItAllTogether12

Step1–BackuptheGPOtoafilesystemlocation12

Step2–CreateaNewGPOintheproductiondomain12

Step3–Createamigrationtable13

Step4–Editthemigrationtable13

Step5–Performtheimportoperation13

Step6–ConfigureanysecurityfilteringanddelegationsettingsontheGPO14

Step7–LinktheGPOtotherelevantcontainersinActiveDirectory14

Summary14

Larger-ScaleMigrations15

RelatedLinks16

Introduction

ThisarticlediscusseshowtousetheGroupPolicyManagementConsole(GPMC)tomigrateGroupPolicyObjects(GPOs)fromonedomaintoanother.

MigratingaGPOthatworksinonedomaintoanotherdomainrequiressomeplanning,butthebasicprocedureisfairlystraightforward.Thereare,however,twoaspectsofGPOsthatcomplicatetheprocess:

ThedatathatcomprisesaGPOiscomplexandstoredinmultiplelocations.

SomedataintheGPOcanbedomain-specificandmaybeinvalidifcopieddirectlytoanotherdomain.

ThefirstproblemissolvedfairlytransparentlybyGPMC—whenmigratingaGPOfromonedomaintoanother,GPMCensuresthatallrelevantdataisproperlycopied.

Tosolvethesecondproblem,GPMCusesmigrationtablesthatallowanadministratortoupdatedomain-specificdatainaGPOtonewvaluesaspartofthemigrationprocess.ThisonlyneedstobedoneiftheGPOcontainscertaintypesofpolicysettings,detailsofwhichareaddressedinthesection,“OverviewofMigratingGPOs.”

Beforelookingatthedetails,ithelpstounderstandthebasicprocessofmigratingoneormoreGPOsbetweendomains.

ToMigrateGPOsbetweenDomains

1.IdentifytheGPOsyouwanttomigrate.

2.Notewhetherthereistrustbetweenthesourcedomainandthetargetdomain:

a.Ifthereistrust,planondoingacopyoperation.

b.Ifthereisnotrust,planondoinganimportoperation,orconsiderusingtheStoredUserNamesandPasswordsutilityinWindowsXPtogainsimultaneousaccesstobothdomains.Thisprocedureisdocumentedindetailin“AdministeringGroupPolicywiththeGPMC”(andwillallowyoutoperformacopyoperationevenifthesourceandtargetdomainsdonothaveatrustrelationship.

3.Ifnecessary,createamigrationtabletohandlesecurityprincipalsandUniversalNamingConvention(UNC)pathsinthesourceGPOthatmayneedtobeupdatedtonewvaluesinthetargetGPO.Forfurtherdetails,seethesection,"UnderstandingMigrationTables."

4.Ifperforminganimportoperation,dothefollowing:

c.BackupthesourceGPOstoafilesystemlocationthatwillbeaccessiblefromthetargetdomain.

d.CreatenewGPOsinthetargetdomainforeachbacked-upGPO.

5.Performtheactualcopyorimportoperation,specifyingthemigrationtablecreatedinStep3,ifapplicable.

6.SetanydesiredsecurityfilteringanddelegationpermissionsonthenewGPOs.

7.LinkthenewGPOstotheappropriatesite,domainororganizationalunitintheActiveDirectory®directoryservice.Atthispoint,thenewGPOswillbeliveandfunctioninginyourenvironment.

Therestofthisarticlefocusesonthedetailsnecessarytomakethisprocesssuccessful.

OverviewofMigratingGPOs

Let’saddressthebasicproblemoftakingaGPOinagivendomainandcreatinganewGPOthatcontainsthesamesetofpoliciesinadifferentdomain.Inthepast,Microsoftdidnotprovideanytoolstohelpwiththisscenario,anditwasnotsomethingthatcouldbeeasilydonebyaGroupPolicyadministrator.

GPOsarecollectionsofpolicysettingsthatareusedtocreatestandardconfigurationsforusersandcomputers.YoucanthinkofaGPOasakindofcontainerthatholdspolicysettingsofmanydifferenttypes:

registrypolicysettings,softwareinstallationpolicysettings,logonscripts,andsoon.

What’ssohardaboutcopyingaGPO?

Althoughthiscollectionofsettingsislogicallyasingleentity,thedataforasingleGPOisstoredinmultiplelocationsandinavarietyofformats;somedataiscontainedinActiveDirectoryandotherdata(ofvarioustypes)isstoredontheSYSVOLshareonthedomaincontrollers.ThismeansthatcopyingGPOsisnotassimpleastakingafolderandcopyingitfromonemachinetoanother—youcouldnot,forexample,justwriteabatchfileorevenamoderatelycomplexscripttoaccomplishasafeandrobustcopyofaGPO.

InadditiontothecomplexwayinwhichGPOdataisstored,certainpolicydatamaybevalidinonedomainbutbeinvalidinthedomainthattheGPOisbeingcopiedto.Forexample,SecurityIdentifiers(SIDs)storedinsecuritypolicysettingsareoftendomain-specific.Inaddition,settingsthatcontainUNCpathsforfolderredirectionorsoftwareinstallationpoliciesmaynotworkproperlyifthedataintheGPOiscopiedwithoutmodificationtoadifferentdomain.

ToclarifywhycertainpolicysettingscancauseproblemswhencopyingGPOsfromonedomaintoanother,let’slookattwocommonscenarioswhereapolicyadministratorwouldwanttomigratesomeGPOs.Thesetwoscenariosare:

Test-to-productionmigration.

Production-to-productionmigration.

Scenario:

Test-to-ProductionMigration

Inatesttoproductionmigration,weusuallyhavetwoseparateActiveDirectoryforests—onefortheproductionenvironment,andoneforthetestenvironment.Thetestforestistypicallyconfiguredasamirrorimageoftheproductionforest,withnotrustbetweenthetwo.

Figure1illustratesmigratingasingleGPOfromadomaininthetestforesttoadomainintheproductionforest.

Figure1.MigratingaGPOfromtesttoproduction

Inthiscase,wewanttomigrateaGPOcalledGPOXfromDomainBinourtestforesttoDomainEinourproductionforest.Intheprocess,weneedtotranslatethesettingsforthelogonlocallyuserrightconfiguredintheGPOtomaptonewgroupsandusersintheproductionforest,ratherthantheoriginaltestgroupsandusersfromourtestforest.

Whyisthisnecessary?

Inourtestdomain,theGPOstoresinformationstatingthatcertaingroups,suchasA\Group,havesomespecificrightsinthedomain.ThisdataisstoredasSIDsthatareonlyvalidinthetestdomain.IfwecopythoseSIDstotheproductiondomainwhenwemigratetheGPO,thepolicysettingswillrefertogroupsthatdonotexist,andwillthereforebeincorrectforthedomainthattheGPOwasmigratedto.

Scenario:

Production-to-ProductionMigration

ProductiontoproductionmigrationoccurswhenyouwanttomigrateaGPOfromoneproductiondomaintoanother,typicallywithinthesameforest.Figure2illustratesthisprocess.

Figure2.MigratingaGPObetweendomainsinproduction

Inthiscase,wehavecopiedGPOXfromDomainBtoDomainC.Intheprocess,itmakessensetomapsomeofthesecurityprincipalsreferencedinthelogonlocallyuserrighttonewvaluesmoreappropriateforthetargetdomain.Inthiscase,wewouldwanttochangeDomainBtoDomainC,butleavereferencestosecurityprincipalsinDomainAunchanged.

PolicySettingsThatMayRequireMapping

NotallpolicysettingsinaGPOneedtohavevaluestranslatedaspartoftheprocessofmigratingfromonedomaintoanother.Forexample,AdministrativeTemplatespolicysettingsca

展开阅读全文
相关资源
猜你喜欢
相关搜索
资源标签

当前位置:首页 > 医药卫生 > 临床医学

copyright@ 2008-2023 冰点文库 网站版权所有

经营许可证编号:鄂ICP备19020893号-2