Share via


从新版MDT、WAIK和OPK谈Windows 7的部署技术

??????????????????????:-) MDT?WAIK?OPK?????:

MDT?Mindows Deployment Tookkit,?????2010?;

WAIK?Windows Automated Installation Kit???,???????Windows 7 beta?;

OPK?OEM Preinstallation Kit,???For Vista SP1??,Windows 7????????

MDT MDT 2010???????????????????????????????????????????????????????????????????,?????BDD?MDT2008?MDT2010?????:????????????????????????????????????? MDT 2010??????connect??????,????????conenct?????,?????MDT 2010?????
WAIK Windows Automated Installation Kit (Windows AIK or WAIK) ?????Windows????????????????WAIK,???????Windows???????ImageX??????DISM????????????????,WAIK??WinPE?USMT???????? ??Windows 7 beta???WAIK??????,?????????????WAIK?????: WAIK (English)

WAIK (German)

WAIK (Japanese)

OPK OEM Preinstallation Kit (OPK) ????????????OEM?????,??OPK???Windows????,????????????,?????????ThinkPad???????Windows????,??????BIOS???????????? OPK???????OEM???

 

WAIK for Windows 7 beta

?????????????Windows 7 WAIK??,??????????????????????Windows 7???WAIK?1.4Gb??,?Vista??800M????,???????ISO?????,????:

image

??????STEPBYSTEP_ITPRO.HTM??,????????????,????,??????WAIK.CHM????????WAIK????,?????????????????????,WAIK?????????????????,ACT?MAP(????,????)?ACT?Microsoft Application Compatibility Toolkit 5.0,MAP?Microsoft Assessment and Planning Toolkit,????????????????,???????,??????????

??????5????,??????WAIK?????????,????????????Windows System Image Manager:

image

????Windows 7????????Documentation?????Windows Automated Installation Kit User's Guide,??CHM????????Windows 7????????,??VHD Native Boot?Windows 7?Boot Loader?WinPE 3.0??????????,????WAIK???,????????????,???!

image

?,??????,???????,Windows 7 beta??WAIK??????????????:

??Deployment Image Servicing and Management tool (DISM)

Deployment Image Servicing and Management tool (DISM)???Windows??(WIM??)???????,????????:

  • ??????????,32??64????
  • ?????????
  • ??????Windows???(Windows features)
  • ??????Windows??

??DISM???????WAIK????????,??Pkgmgr.exe(????????)?Intlcfg.exe(???????)?PEImage.exe(??WinPE???)???,??????????????,??????????????DISM,???,WAIK???????????????

??User State Migration Tool??????

Microsoft Windows User State Migration Tool (USMT)????WAIK???????????????????,??USMT 4.0??????????????????????USMT???????????????????????????????????,?????????????????USMT??????????????,?????WAIK??USMT??(Usmt.chm)?

??Windows??????

????Windows 7 6801???????????,????????,Windows 7????????200M????????????????????Windows 7???????,200M????????Windows 7 ??????????Windows Bitlocker??????,?????????????????????????????????,???????????????Bitlocker?????????

??????Windows???

?DISM????????(Image Upgrade tool)??????????????????,DISM????????????Windows??????

??Windows PE??

DISM.exe /Apply-Profile ???????Windows PE?????,?????????????(??,????WinPE 3.0,??????????)

??????VHD??

?Windows 7?,?????VHD??????,???????????????Windows 7????????Diskpart????????????VHD???WIM?????????VHD??,???Windows 7?Boot Manager?VHD?????

????????

???????????????WAIK????,??????????????,????????DISM?????????????????????????,????????????????(????????????,???????)?

  • Intlcfg.exe. The International Settings Configuration Tool (Intlcfg.exe) is used to change the language and locale, fonts, and input settings to a Windows image. In Windows 7 and Windows Server 2008 R2, the functionality of this tool is included as part of the DISM tools. This release of the Windows AIK includes the Intlcfg.exe tool to enable the configuration of Windows Vista and Windows Server 2008 installations only.
  • PEimg.exe. The command-line tool for creating and modifying Windows PE images. The functionality of this tool is included as part of the DISM tools. This tool is not available with this release of the Windows AIK.
  • Pkgmgr.exe. Package Manager is used offline to install, remove, or update Windows packages. The functionality of this tool is included as part of the DISM tools. Package Manager is included in all Windows installations and you can continue to use existing scripts that call Package Manager. However, we recommend for all Windows 7 installations that you update your environment to support DISM.
  • PostReflect.exe. PostReflect.exe is used to reflect all boot-critical device drivers out of the driver store in an offline image. The functionality of this tool is built into the Sysprep command. This tool is not available with this release of the Windows AIK.
  • VSP1CLN.exe. The Windows Vista® Service Pack 1 (SP1) Files Removal Tool (VSP1CLN.exe) is used to remove the files that are archived after Windows Vista SP1 is applied to a Windows Vista RTM image. This tool is no longer required. This tool is not available with this release of the Windows AIK.

?????Windows PE 3.0

WinPE?????????????Windows???????WAIK??WinPE???3.0,????32??64??????,?????????1GB??????WinPE?????,????????????????,WinPE????????Win98???(????????)??????????WinPE???:

WinPE????Windows Preinstallation Environment (Windows?????),???????????Win32???,????????????Windows??,?????Windows????????????????????????,?????????????????

Windows PE ???????:

  • ??????x86??????????Windows??,????????????????
  • ??Win32????????(API) ??????????????????(Cmd.exe),???????????OEM??????Windows ????(WSH)?HTML ????(HTA)?ActiveX????(ADO)
  • ?????????Windows??????,????? TCP/IP ????????????,??????Windows PE ?????????????????
  • ??????Windows?????????????????????,???????????????????????????Windows PE ???????
  • ????????????? NTFS ????????????
  • ??????????????????????
  • ??PXE ??,???????PXE ??,??????????????? (RIS) ??Windows PE ??????,Windows PE ????????????????

WinPE 3.0??????:

  • Optimize Windows PE image:   /apply-profiles DISM??????????????WinPE???,?WinPE????????????,?WinPE?????
  • /prep: PEImg.exe???????,???????/prep??????????????,??DISM
  • System drive letter: ??????WinPE?????????
  • DISM.exe: DISM???????,??WinPE 3.0??????,????????????,?????????
  • UpdateBootInfo?????????,??????????WinPE?????,???????????????
  • WaitForRemoveableStorage,?WinPE???,??USB????
  • ??????Shutdown?????????(???????????????)
  • ??????????????
  • WinPE-SRT-Package????????Windows????,??????????????WinPE???
  • BCDboot ?Windows 7?????????????????????????
  • ???SDK?
  • Windows PE Lifetime serviceability: Images can be serviced throughout their lifetimes. (???,???????,???,???????)

?????WAIK????????????WinPE,?????????????????????????????WinPE?????,???,????????,??WAIK?????????????

image 

BCDBoot

BCDBoot????????,??????????????????????BCDBoot?????????,???????????????????,??????????????,???????,????????????????

BCDboot is a tool used to quickly set up a system partition, or to repair the boot environment located on the system partition. The system partition is set up by copying a simple set of Boot Configuration Data (BCD) files to an existing empty partition?

BCDboot is included with Windows 7 in the %WINDIR%\System32 folder. BCDboot is also available in the Windows OPK and Windows Automated Installation Kit (AIK) under the %Program Files%\(Windows OPK or AIK)\Tools directory.

BCDboot copies a simple set of BCD files from a Windows image that is already on the computer. BCDboot can copy BCD files from images of Windows XP Service Pack 2 (SP2), Windows Server 2003, Windows Vista, Windows Server 2008, or Windows 7. For information on applying a Windows image to a system, see Deploying Windows Using ImageX.

BCDboot uses the BCD-Template in the %WINDIR%\System32\Config folder of the operating system image to create a new BCD store and initialize the BCD configuration on the system partition. The tool also copies the boot environment files from the operating system image %WINDIR%\boot folder and %WINDIR%\System32 folder to the system partition.

BCDboot copies files to the default system partition identified by the firmware. You can create this partition by using a partitioning tool such as DiskPart. You do not have to assign a drive letter to this partition for BCDboot to locate it. For more information, see the DiskPart Help from the command line.

  • On BIOS-based systems, the system partition is the active partition on disks using the Master Boot Record (MBR) disk format. BCDboot creates the \Boot directory on the system partition and copies all required boot environment files to this directory.
  • On Unified Extensible Firmware Interface (UEFI)-based systems, the EFI system partition is the system partition on disks using the GUID Partition Table (GPT) disk format. BCDboot creates the \Efi\Microsoft\Boot directory and copies all required boot environment files.

BCDboot Command-line Options

The following command-line options are available for BCDboot.exe.

BCDBOOT source [ /l locale] [ /s volume-letter]

image

Examples

This example initializes the system partition using files from the operating system image installed on the C: volume.

 BCDBOOT C:\Windows
 This example sets the default BCD locale to Japanese, and copies BCD files to a system partition that was assigned a volume letter S:  using DiskPart.
 BCDBOOT C:\Windows /l ja-jp /s S:

??BCDBoot??VHD?????,????BCDBoot???????????????????????????BCDBoot???,?????????:-)

------------------------------------------------------------------------------------------------------------------

??,????????,MDT 2010?OPK????????

Btw,?????????????,????????ImageX??????,????????

Comments

  • Anonymous
    January 01, 2003
    BcdBoot厉害的地方就是根据C盘(启动分区/Windows分区)生成了S盘(系统分区/系统卷),而这个S盘是MBR能够识别的磁盘格式。所以不管C盘上的东东是Win7、Vista、XP... BcdBoot都能够给它生成一个S盘用来引导(即BIOS读入MBR,MBR能够认识S盘)

  • Anonymous
    January 24, 2009
    BcdBoot厉害的地方就是根据C盘(启动分区/Windows分区)生成了S盘(系统分区/系统卷),而这个S盘是MBR能够识别的磁盘格式。所以不管C盘上的东东是Win7、Vista、XP... BcdBoot都能够给它生成一个S盘用来引导(即BIOS读入MBR,MBR能够认识S盘) 看了这段话我反而糊涂了 按照我浅薄的理解,bcdboot 就是全自动的做了一系列引导所需的必要步骤~使得目标盘可引导~ 貌似与c:windows 没多大关系,难道我在xp下就生成xp的引导方式么?未经试验,猜测

  • Anonymous
    February 02, 2009
    你好,我想了解WinPE 3.0如何支持中文. 在微软并没有提供中文语言包的情况下. 我已经使用DSIM命令去将WinPE3.0的区域设置成中国.但是对于大多数的(没有指定字体的)中文程序无法正确显示其中文字体.. 显示成了框框了...... 请问有办法解决么?

  • Anonymous
    March 30, 2009
    喻勇原文中“PEImage.exe(用于WinPE命令行)等工具”是否应当为“PEIme.exe(用于WinPE命令行)等工具”。