MDT 2010全自动部署Windows 7

步骤如下:

  1. Create a deployment share using the Deployment Workbench.
  2. Import Windows 7 source files into the share.
  3. Add packages, drivers, and applications to your share as needed.
  4. Create a basic task sequence based on the Standard Client Task Sequence template.
  5. Edit the CustomSettings.ini and BootStrap.ini configuration files as needed to automate the LTI deployment process.
  6. Update the deployment share to create Windows PE boot p_w_picpaths (.iso and .wim files) and burn the .iso file to CD or DVD media.
  7. Boot the destination computer using the Windows PE boot p_w_picpath and let the install proceed entirely unattended.

第1-4步在上面已经完成,我们将从第五步开始执行

Editing the Configuration Files

MDT2010使用配置文件从之LTI部署流程。配置文件提供MDT执行安装过程中输入的脚本。完全自动的LTI部署需要编辑两个配置文件:CustomSettings.ini和BootStrap.ini.

打开“Deployment Workbench“,右击”deployment share“,选择”Properties“,选择”Rules“选项,查看CustomSettings.ini默认设置,默认设置不包含部署的操作系统和任务序列,自定义完成CustomSettings.ini之后将在部署过程中提供相关的提示需要的信息。

BootStrap.ini位于DeploymentShare$\Control,默认内容包含deployment share的网络位置,但是没有包含用于连接到此共享的凭据信息,这就是为什么在执行Windows Deployment Wizard进行手工LTI部署,连接到共享时提示用户凭据信息,当然我们在全自动LTI部署过程中不想输入凭据和任何其他的提示信息。

配置之前需要了解的信息包括:目标计算机的时区,位置,计算机名称或者安装过程中随机命名,加入域还是工作组等,这些内容将在CustomSettings.ini中指定。

完全自动LTI部署CustomSettings.ini内容如下:

[Settings]
Priority=Default
Properties=MyCustomProperty

[Default]
OSInstall=YES

SkipAdminPassword=YES

SkipApplications=YES

SkipAppsOnUpgrade=YES

SkipBDDWelcome=YES

SkipBitLocker=YES

SkipCapture=YES

SkipComputerName=YES

SkipComputerBackup=YES

SkipDeploymentType=YES
DeploymentType=NEWCOMPUTER

SkipDomainMembership=YES
JoinDomain=LIMING
DomainAdmin=Administrator
DomainAdminDomain=LIMING
DomainAdminPassword=Abc@123

SkipFinalSummary=YES

SkipLocaleSelection=YES
KeyboardLocale=zh-cn
UserLocale=zh-cn
UILanguage=zh-cn

SkipPackageDisplay=YES

SkipProductKey=YES

SkipSummary=YES

SkipTaskSequence=YES
TaskSequenceID=WIN7_001

SkipTimeZone=YES
TimeZoneName=Central Standard Time

SkipUserData=Yes

完全自动ZTI部署的BootStrap.ini内容如下

[Settings]

Priority=Default

[Default]

DeployRoot=\\DC2008\DeploymentShare$

UserID=Administrator

UserDomain=liming

UserPassword=Abc@123

KeyBoardLocale=zh-cn

SkipBDDWelcome=YES

Updating the Deployment Share

更新deployment share创建Windows PE引导镜像用于初始化部署,参考之前更新方法。在之前我们已经更新过deployment share为什么在这里还需要再次更新,因为我们更新了BootStrap.ini文件,任何时候一旦更新了BootStrap.ini文件都需要更新deployment share。

Launching the Unattended Install

使用上一步创建的ISO文件启动目标计算机,确保网络连接正常。