修改ip 192.168.0.201 网关192.168.0.1 dns先不设置 修改计算机名称 ad01
添加role="active directory domain services"
3.检查
添加角色,先安装DHCP-〉授权;
再添加角色,deploy service;
配置服务器 DHCP两个选项需选中;PXE响应所有客户机
之后远程安装文件夹内容:c:\remote install包含文件夹boot p_w_picpath/install p_w_picpath/pxe bootfiles/deployment
加入启动镜像:WDS - add boot p_w_picpath- 2008cd/source/boot.wim
可使用win7CD\source\install.wim
安装好一pc,c;\windows\system32\sysprep,(选通用),关机;
WDS - Boot p_w_picpath- create capture p_w_picpath - c:\3\capboot.wim; 用于启动起client pc进行捕捉;加入这个镜像到启动组;
重启pc, F12选capboot,捕捉,需要填写本地位置和网络位置;---成功.
捕捉后存储在c:\remoteinstall\p_w_picpaths\p_w_picpathGroup1下
捕捉后在WDS将它加入,点击属性,可加入无人值守文件;
按“Shift+F10”进入到cmd窗口,输入“startnet”并敲回车来启动网络。
net use K: \\192.168.3.10\share password /user:mcitp\administrator
p_w_picpathx /capture /C: K:\windows7.wim "Windows 7 32bit install files"
安装AIK -- WSIM(Windows System Image Manager);
从WDS里导出win7原始的install.wim到临时文件夹c:\unatt
AIK - New answer file - 选择p_w_picpath - 选取导出的文件c:\unatt\win7.wim;提示我们为此安装映像建立编录。
建立一个新的应答文件,进行编辑(详细见下文:wds 无人值守应答文件)。编辑后用tools-vailidate answer file检查错误;保存为c:\remoteinstall\wdsclientunattend\autounattaned.xml;
在WDS服务器属性-客户端选项卡中制定无人应答文件;
Windows 映像窗格(问题) 右上方窗格(回答)
amd64_Microsoft-Windows-International-Core-WinPE_{version}_neutral InputLocale = en-us
SystemLocale = en-us
UILanguage = en-us
UILanguageFallback = en-us
UserLocale = en-us
amd64_Microsoft-Windows-International-Core-WinPE_{version}_neutral\ SetupUILanguage UILanguage = en-us
amd64_Microsoft-Windows-Setup_{version}_neutral\ WindowsDeploymentServices\ Login\Credentials Domain = {yourDomain}
Username = {yourUsername}
Password = {yourPassword}
amd64_Microsoft-Windows-Setup_{version}_neutral\Disk Configuration\Disk DiskID = 0
amd64_Microsoft-Windows-Setup_{version}_neutral\Disk Configuration\Disk\Create Partitions\CreatePartition Extend = true
Order = 1
Type = Primary
amd64_Microsoft-Windows-Setup_{version}_neutral\Disk Configuration\Disk\Modify Partitions\ModifyPartition Active = true
Format = NTFS
Label = Windows
Letter = C
Order = 1
PartitionID = 1
amd64_Microsoft-Windows-Setup_{version}_neutral\ WindowsDeploymentServices\ ImageSelection\InstallTo DiskID = 0
PartitionID = 1
amd64_Microsoft-Windows-Setup_{version}_neutral\ WindowsDeploymentServices\ ImageSelection\InstallImage Filename = {Filename}
ImageGroup = {p_w_picpathGroup}
ImageName = {p_w_picpathName}
列出了最低要求问题列表。
Windows 映像窗格(问题) 右上方窗格(回答) 说明
amd64_Microsoft-Windows-Shell-Setup_{version}_neutral (Pass 4) ComputerName = %MACHINENAME%
TimeZone 将 ComputerName 设置为 %MACHINENAME% 将传递您在 WDS 命名和批准 中设置的名称。将 TimeZone 设置为正确的时区,如山地标准时间。(注:有关可用时区字符串的列表,请参见 technet.microsoft.com/library/cc749073(WS.10)。)
(GMT+08:00) Beijing, Chongqing, Hong Kong SAR, Urumqi
amd64_Microsoft-Windows-International-Core_{version}_neutral
(Pass 7) InputLocale = en-us
SystemLocale = en-us
UILanguage = en-us
UserLocale = en-us 此项将 Windows 语言配置为美国英语。
amd64_Microsoft-Windows-Shell-Setup_{version}_neutral\ oobe
(Pass 4) HideEULAPage = true
HideWirelessSetupIn OOBE = true
NetworkLocation = work
ProtectYourPC = 1 隐藏 EULA 和无线设置屏幕,设置要使用的网络位置,并启动自动更新。
amd64_Microsoft-Windows-Shell-Setup_{version}_neutral\ UserAccounts\LocalAccounts\ LocalAccount
(Pass 7) DisplayName = LocalAdmin
Group = Administrators
Name = LocalAdmin 此项添加名为 LocalAdmin 的本地管理员帐户。
amd64_Microsoft-Windows-Shell-Setup_{version}_neutral\ UserAccounts\LocalAccounts\ LocalAccount\Password
(Pass 7) Value = {Password} 此项为上面创建的管理员帐户配置密码。
如果您要使用“命名和批准”方法来命名计算机,请确保将 ComputerName 值设置为 %COMPUTERNAME%。此变量会将您在“命名和批准”过程中输入的任何值传递给安装程序。
可以从 technet.microsoft.com/library/cc749073(WS.10) 获取准确的时区标记列表。