下载安装 ADK/Win PE/Microsoft Deployment Toolkit
- 下载 adksetup:https://docs.microsoft.com/zh-cn/windows-hardware/get-started/adk-install
离线下载 ADK:.\adksetup /layout c:\ADKoffline
- 安装 ADK和MDT组件:
.\adksetup.exe /installpath c:\ADK /features OptionId.DeploymentTools
- 下载安装 Win PE:https://docs.microsoft.com/zh-cn/windows-hardware/get-started/adk-install
- 下载安装 Microsoft Deployment Toolkit:https://www.microsoft.com/en-us/download/details.aspx?id=54259
安装配置WDS/MDT
- 打开 powershell安装WDS
Install-WindowsFeature -Name 'Multipath-IO'
Install-WindowsFeature wds-deployment -includemanagementtools
wdsutil /initialize-server /remInst:"d:\RemoteInstall" --命令报错可以忽略
-
配置WDS
配置MDT
- MDT属性-新建部署共享
- Rules内容:
[Settings]
Priority=Default
Properties=MyCustomProperty
[Default]
skipbddwelcome=yes
UserID=DOMAIN USER --非域不要这3行
UserDomain=DOMAIN
UserPassword=PASSWD
OSInstall=Y
SkipAdminPassword=YES
SkipProductKey=YES
SkipBitLocker=YES
SkipCapture=YES
SkipDomainMembership=YES
SkipUserData=YES
SkipSummary=Yes
SkipComputerName=YES
OSDComputerName=%ComputerName%
:SkipTaskSequence=YES
:TaskSequence=01
SkipApplications=YES
:7-Zip
Applications001={e5d61128-7278-42bc-8451-4174db61f1f5}
:Adobe Reader
Applications002={7f310006-59fc-4247-aede-c48347999135}
SkipLocaleSelection=YES
UILanguage=en-US
UserLocale=en-US
KeyboardLocale=0409:00000409
SkipTimeZone=YES
TimeZoneName=China Standard Time
:EventService=http://wdsbj:9800
- Bootstrap.ini
--域版本
[Settings]
Priority=Default
[Default]
skipbddwelcome=yes
DeployRoot=\\wdsbj\Share$
UserID=DOMAIN USER
UserDomain=DOMAIN
UserPassword=PASSWD
--非域版本
[Settings]
Priority=Default
[Default]
DeployRoot=\\WDS\DeploymentShare$
skipbddwelcome=yes
UserID=administrator或其他本地用户
UserPassword=密码
UserDomain=WDS
[DefaultGateway]
10.32.148.1=BJ
- 设置Win PE
- 更新并生成Win PE镜像
- 在WDS添加启动镜像为生成的Win PE
- 配合iPXE chain to WDS: 修改注册表添加
Computer\HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/WDSServer/Providers/WDSTFTP/ReadFilter
boot/*
boot\*
/boot/*
\boot\*
/boot\*
- 授权相关账号访问deploymentshare$文件夹