Building a Standard Image of Windows 7 StepbyStep Guidedoc.docx
《Building a Standard Image of Windows 7 StepbyStep Guidedoc.docx》由会员分享,可在线阅读,更多相关《Building a Standard Image of Windows 7 StepbyStep Guidedoc.docx(19页珍藏版)》请在冰点文库上搜索。
BuildingaStandardImageofWindows7StepbyStepGuidedoc
BuildingaStandardImageofWindows 7:
Step-by-StepGuide
MicrosoftWindowsFamilyofOperatingSystems
MicrosoftCorporation
Published:
September2009
Abstract
Thisstep-by-stepguideexplainshowtoinstallacustomimagebyusinganoperatingsystemimagethatincludesyourcustomizationsandapplications.TheguidanceisdesignedspecificallyforsmallandmediumbusinessthatmaynothavepriorexperiencewithWindowsdeploymentordonothaveenterprisedeploymentinfrastructure.
Copyrightinformation
TheinformationcontainedinthisdocumentrepresentsthecurrentviewofMicrosoftCorp.ontheissuesdiscussedasofthedateofpublication.BecauseMicrosoftmustrespondtochangingmarketconditions,thisdocumentshouldnotbeinterpretedtobeacommitmentonthepartofMicrosoft,andMicrosoftcannotguaranteetheaccuracyofanyinformationpresented.Thisdocumentisforinformationalpurposesonly.MICROSOFTMAKESNOWARRANTIES,EXPRESSORIMPLIED,INTHISDOCUMENT.
Microsoftmayhavepatentsorpendingpatentapplications,trademarks,copyrights,orotherintellectualpropertyrightscoveringsubjectmatterinthisdocument.Thefurnishingofthisdocumentdoesnotprovidethereaderanylicensetothepatents,trademarks,copyrights,orotherintellectualpropertyrightsexceptasexpresslyprovidedinanywrittenlicenseagreementfromMicrosoft.
Microsoftdoesnotmakeanyrepresentationorwarrantyregardingspecificationsinthisdocumentoranyproductoritemdevelopedbasedonthisdocument.Microsoftdisclaimsallexpressandimpliedwarranties,includingbutnotlimitedtotheimpliedwarrantiesormerchantability,fitnessforaparticularpurpose,andfreedomfrominfringement.Withoutlimitingthegeneralityoftheforegoing,Microsoftdoesnotmakeanywarrantyofanykindthatanyitemdevelopedbasedonthesespecifications,oranyportionofaspecification,willnotinfringeanycopyright,patent,tradesecret,orotherintellectualpropertyrightofanypersonorentityinanycountry.Itisyourresponsibilitytoseeklicensesforsuchintellectualpropertyrightswhereappropriate.Microsoftshallnotbeliableforanydamagesarisingoutoforinconnectionwiththeuseofthesespecifications,includingliabilityforlostprofit,businessinterruption,oranyotherdamageswhatsoever.Somestatesdonotallowtheexclusionorlimitationofliabilityorconsequentialorincidentaldamages;theabovelimitationmaynotapplytoyou.
.©2009MicrosoftCorp.Allrightsreserved.
BuildingaStandardImageofWindows7:
Step-by-StepGuide
InstallingacustomimageissimilartoinstallingtheWindows® 7operatingsystemfromtheMicrosoft®VolumeLicensingorretailmedia,butitusesanoperatingsystemimagethatincludesyourcustomizationsandapplications.Thisprocesstakesabitmoretimetosetupbutcansaveyoutimeintheend.
TheguidanceinsectionisdesignedspecificallyforsmallandmediumbusinessthatmaynothavepriorexperiencewithWindowsdeploymentordonothaveenterprisedeploymentinfrastructure.
Alsoseethefollowingrelateddocuments:
∙ManualInstallationofWindows 7:
Overview
∙UpgradingtoWindows7forSmallandMidsizeBusinesses
∙UpgradingtoWindows 7withaStandardImage:
Overview
∙AutomatedInstallationofWindows7:
Overview
∙AutomatedInstallationtoUpgradetoWindows7:
Step-by-StepGuide
Notes
ForacompleteviewofWindows 7resources,articles,demos,andguidance,pleasevisittheSpringboardSeriesforWindows 7ontheWindowsClientTechCenter.
ForaWebversionofthisdocument,seetheBuildingaStandardImageofWindows 7:
Step-by-StepGuideintheWindows7TechnicalLibrary(
CreatingacustomimagefortheStandardImagemethodhassevenmajorsteps.Youneedtwocomputerstobuildthecustomimageforthismethod:
Youconfigureyourtoolsonthetechniciancomputerandcustomizeyourimageonthereferencecomputer.Table 1hasacolumnforeachcomputer.YoucompletestepsintheOnthetechniciancomputercolumnonyourowncomputer.YoucompletestepsintheOnthereferencecomputercolumnonthecomputerthatyouareusingtobuildthecustomimage.
Table 1.StepsforCreatingaCustomImage
Step
Onthetechniciancomputer
Onthereferencecomputer
1.
InstalltheWindowsAutomatedInstallationKit(Windows AIK).
2.
CreateaWindowsPreinstallationEnvironment(Windows PE)startupdisk.
3.
InstallandcustomizeWindows 7.
4.
StartthereferencecomputerinAuditmodetocleantheimage.
5.
Generalizethereferencecomputertopreparetheimageforduplication.
6.
CapturethereferencecomputertoanimagefilebyusingImageX.
7.
CreatenewWindows 7installationmediaforthecustomimage.
Thefollowingsectionsprovidedetailedinstructionsforeachstep.Tousetheseinstructions,youmusthavetheWindows 7VolumeLicensingmedia,twoUSBflashdisks(UFDs)thatyoucanusetostartcomputers(8 gigabytes[GB]orlarger,dependingonthesizeoftheWindows 7imageyoucreate),andareferencecomputeronwhichyoucanbuildandcustomizethestandardimage.Youwillbeformattingthereferencecomputer’sdisk,somakesureyoubackupimportantfilesifyouareusinganexistingcomputerforthispurpose.
InstalltheWindows AIK
TheWindows AIKprovidesthetoolsrequiredtobuildcustomWindows 7images.Inparticular,itincludesImageX,whichyouusetocaptureanimageofthereferencecomputer,andthefilesnecessarytobuildaWindows PEstartupdisk.
First,downloadtheWindowsAutomatedInstallationKit(AIK)forWindows7fromtheMicrosoftDownloadCenter(
ThefileKB3AIK_EN.isoisanInternationalOrganizationforStandardization(ISO)imagethatyoumustburntoaDVDormounttoavirtualmachine.Windows 7canburnISOfilestoDVDs.Formoreinformation,seeTip:
BurnaDiscImagefromanISOorIMGfileinWindows 7inTechNetMagazine.
ToinstalltheWindows AIKfromtheWindows AIKDVD
1.OpentheWindows AIKDVDinWindowsExplorer.
2.PerformoneofthefollowingtasksbasedonthecomputeronwhichyouareinstallingtheWindows AIK:
∙Ifyourcomputerisa32-bitcomputer,right-clickwAIKX86.msi,andthenclickInstall.
∙Ifyourcomputerisa64-bitcomputer,right-clickwAIKAMD64.msi,andthenclickInstall.
3.ClickNext.
4.OntheLicenseAgreementpage,clickIAgree,andthenclickNext.
5.OntheSelectInstallationFolderpage,clickNexttoinstalltothedefaultinstallationfolderforanyonewhousesthecomputer.
6.OntheConfirmInstallationpage,clickNexttobegininstallation.
7.ClickClosetofinishinstallation.
CreateaBootableUFD
YouusethebootableUFDthatyoucreateinthissteptostartthereferencecomputersoyoucancaptureanimageoftheharddiskafteryouinstallandcustomizeWindows 7.Windows PEdoesnotincludeImageX,sotheseinstructionsincludeastepforcopyingImageX.exefromtheWindows AIKinstallationfoldertotheWindows PEsourcefilesbeforeyoucreatetheWindows PEISOfile.
TocreateabootableUFDwithWindows PE
1.ClickStart,pointtoAllPrograms,andthenclickMicrosoftWindows AIK.
2.Right-clickDeploymentToolsCommandPrompt,andthenclickRunasadministrator.
3.ClickYestoopentheDeploymentToolsCommandPromptwindowwithelevatedpermissions.
Tip YoucancopyandpastecommandsfromtheseinstructionsintotheDeploymentToolsCommandPromptwindow.Doingsosavestimeandhelpsensurethatyourunthecommandcorrectly.
4.IntheDeploymentToolsCommandPromptwindow,performoneofthefollowingtasks,andthenpressENTER:
∙Ifthereferencecomputerisa32-bitcomputer,typecopype.cmdx86C:
\winpe_x86.
∙Ifthereferencecomputerisa64-bitcomputer,typecopype.cmdamd64C:
\winpe_amd64.
5.IntheDeploymentToolsCommandPromptwindow,performoneofthefollowingtasks,andthenpressENTER:
∙Ifthereferencecomputerisa32-bitcomputer,typecopyC:
\winpe_x86\winpe.wimC:
\winpe_x86\ISO\sources\boot.wim.
∙Ifthereferencecomputerisa64-bitcomputer,typecopyC:
\winpe_amd64\winpe.wimC:
\winpe_amd64\ISO\sources\boot.wim.
6.IntheDeploymentToolsCommandPromptwindow,performoneofthefollowingtasks,andthenpressENTER:
∙Ifthereferencecomputerisa32-bitcomputer,typecopy"C:
\ProgramFiles\WindowsAIK\Tools\x86\ImageX.exe"C:
\winpe_x86\ISO\.
∙Ifthereferencecomputerisa64-bitcomputer,typecopy"C:
\ProgramFiles\WindowsAIK\Tools\amd64\ImageX.exe"C:
\winpe_amd64\ISO\.
7.InsertaUFDintothecomputer.
8.IntheDeploymentToolsCommandPromptwindow,typediskpart,andthenpressENTER.
9.PerformthefollowingtaskstopreparetheUFDtostartthereferencecomputer:
a.Typelistdisk,andthenpressENTER.
b.Fromthelistofdisks,identifythenumberoftheUFD.Itisimportantthatyouidentifythecorrectdisk,asyouwillbeformattingthedisk.MakesurethesizeandfreespacematchwhatyouexpectfortheUFD.
c.Typeselectdisknumber,wherenumberisthedisknumberoftheUFD,andthenpressENTER.
d.Typeclean,andthenpressENTER.
e.Typecreatepartitionprimary,andthenpressENTER.
f.Typeselectpartition1,andthenpressENTER.
g.Typeformatfs=fat32quick,andthenpressENTER.
h.Typeactive,andthenpressENTER.
i.Typeexit,andthenpressENTER.
IntheDeploymentToolsCommandPromptwindow,typexcopy/sC:
\winpe_x86\iso\*.*D:
\,whereDisthedriveletteroftheUFD.Alternatively,youcancopyallthefilesinC:
\winpe_x86totheUFDusingWindowsExplorer.
InstallWindows 7
Aftercompletingtheprevioustwosteps—installingt