Windows Server 2008 R2提供的WDS(Windows Deploy Service)很方便的帮助企业用户去部署windows 操作系统,而且可以和 MDT(Microsoft Deployment Toolkit)去结合使用,MDT对网络部署windows操作系统进行了很大的扩展,几乎可以做到ZTI(Zero Touch Installation),但是如果企业内部署Linux,还要另外部署基于Linux的PXE网络部署,要维护两套系统是不是很烦人。WDS提供了和syslinux的相结合的接口,利用syslinux可以部署非windows的系统,这样是不是就很方便了,同样,微软在2012年的9月份正式发布了windows server2012,相信大家现在对windows server2012的功能有一定得了解了,所以在这我就不多介绍window server2012的功能了,今天主要通过windows server2012来部署MDT2012 Server,环境内我准备了三台设备,一台命名为:ABC-DC的设备扮演的角色为域控制器、DNS、DHCP,一台命名为MDT2012安装windows server2012操作系统充当我的MDT2012 Server,还有一台就是我测试MDT2012结果的测试机,具体操作见下。
从windows8以上版本已经从AIK升级到了ADK
Windows ADK是微软最新发布的用于Windows 部署是的一个工具包,这个工具主要用于在企业和OEM厂商中执行大规模的Windows部署。在以前用于大规模部署时用到的工具主要是OPK和WAIK,而Windows ADK不仅包含了这些工具,还包含了Windows 预安装环境、部署映像、服务和管理以及Windows 系统映像管理器。
Windows ADK 中可用的功能包括:应用程序兼容性工具包 (ACT)、部署工具、用户状态迁移工具 (USMT)、批量激活管理工具 (VAMT)、Windows 性能工具包 (WPT)、Windows 评估服务、Windows 预安装环境 (Windows PE)。另外这个工具已经完全兼容windows 8和Windows Server 2012了
Windows ADK详细的介绍和下载地址,可以访问以下的地址:
<a href="http://www.microsoft.com/en-us/download/confirmation.aspx?id=30652">http://www.microsoft.com/en-us/download/confirmation.aspx?id=30652</a>
环境介绍
<b>Domain name:abc.com</b>
<b>Hostname:abc-dc</b>
<b>Ip:192.168.100.2</b>
<b>Gateway:192.168.100.1</b>
<b>Roles:DC DHCP DNS</b>
<b>Hostname:MDT2012</b>
<b>Ip:192.168.100.200</b>
<b>Roles:MDT Server</b>
<b>Hostname:</b><b>未知</b>
<b>Ip:x.x.x.x</b>
<b>Roles:Test Client</b>
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109244xgIV.jpg"></a>
我们第一步首先是部署AD
我们开始部署DC,首先是更改计算机名;ABC-DC,然后配置管理地址:192.168.100.2 DNS:192.168.100.2,重启后,运行DCPROMO将该独立服务器提升为DC及安装DHCP功能
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109245FuJc.jpg"></a>
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109245sU9T.jpg"></a>
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109245NfvD.jpg"></a>
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109246wg78.jpg"></a>
然后安装DHCP 服务
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_13501092467k3L.jpg"></a>
DHCP配置信息
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109247fpdu.jpg"></a>
部署完AD环境后,我们开始部署WDS2012,我们大家都知道该服务是系统自带的,所以我们首先是准备一台独立服务器,然后加入到ABC.COM域内成为域成员,
我的MDT2012server命名为:MDT2012
IP:192.168.100.200
DNS:192.168.100.2
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109247PKXC.jpg"></a>
该服务器分了三个区:C D E;C盘为我的系统分区,D盘我 准备存放远程安装文件;E盘我用为部署共享目录
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109248DDdF.jpg"></a>
接下来我们安装部署服务,打开服务器管理---仪表板----添加角色和功能
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_13501092487C7s.jpg"></a>
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109248NtZK.jpg"></a>
基于角色或基于功能更的安装
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109249gIKk.jpg"></a>
选择本地服务器:MDT2012.abc.com
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109249vxvR.jpg"></a>
我们勾选windows部署服务,勾选的同时会提示安装所需组件,一同安装
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109250eHv5.jpg"></a>
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109250PcIj.jpg"></a>
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_13501092516gz5.jpg"></a>
默认勾选两个组件:部署服务器及传输服务器
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109251AOxs.jpg"></a>
开始安装
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109252W3zZ.jpg"></a>
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109252Ka0P.jpg"></a>
安装完成
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109253NGCx.jpg"></a>
安装完成后我们开始配置WDS,打开WDS控制台
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109253RvNu.jpg"></a>
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109253mlMj.jpg"></a>
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109254JEVO.jpg"></a>
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109254TgIb.jpg"></a>
远程安装文件夹为我 的D盘,自动会创建共享;D:\Remoteinstall
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_13501092552vIR.gif"></a>
更改设置:响应所有的客户端计算机(包括已知和未知)
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109255hmMy.jpg"></a>
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109255BOjT.jpg"></a>
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109256GYGx.jpg"></a>
WDS配置完成;
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109256RqaC.jpg"></a>
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109257KCEm.jpg"></a>
查看WDS属性
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109257crYv.jpg"></a>
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_13501092588xYu.jpg"></a>
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109258rARm.jpg"></a>
再次我更改为:继续PXE启动,除非用户安ESC键
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109258y94H.jpg"></a>
接下来就安装ADK
ADK下载后是一个下载器,然后联网通过下载器下载所需要的组件,下载后的文件大概2.4G
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109259nn9a.jpg"></a>
下载完成后默认存放位置:C:\users\download\Windows kits\8.0\ADK
然后运行Adksetup.exe进行安装
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109259SVMY.jpg"></a>
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109260xpQQ.jpg"></a>
安装路径,默认即可
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_13501092600ckE.jpg"></a>
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109260ZqCa.jpg"></a>
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109261ElRo.jpg"></a>
选择需要安装的功能,为了方便演示,我全部安装.
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109261wBtc.jpg"></a>
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109262gMKl.jpg"></a>
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109262qd5Z.jpg"></a>
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109262kQYu.jpg"></a>
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109263h9PD.jpg"></a>
开始安装MDT2012
下载链接:
<a href="http://www.microsoft.com/en-us/download/search.aspx?q=MDT2012">http://www.microsoft.com/en-us/download/search.aspx?q=MDT2012</a>
下载后开始安装DT2012
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109263equV.jpg"></a>
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_13501092648HLK.jpg"></a>
功能全部安装
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_135010926419Bo.jpg"></a>
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109264mpJq.jpg"></a>
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_13501092652PYj.jpg"></a>
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109265S4eu.jpg"></a>
安装后在开始所有程序里面能看见
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_13501092662DoK.jpg"></a>
接下来我们打开MDT2012控制台
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_135010926636Hy.jpg"></a>
创建部署共享
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109266XRg6.jpg"></a>
部署共享路径E盘下:自动创建DeplomentShare路径
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109267tJkP.gif"></a>
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109267WafJ.jpg"></a>
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109268TdQJ.jpg"></a>
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109268Wsi5.jpg"></a>
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109268plXn.jpg"></a>
部署共享里的内容:
Applications:存放要安装应用程序的目录
operation systems:存放windows 操作系统镜像的目录
Out-of-Box Dreivers:存放硬件驱动的目录
Packages:存放补丁包的目录
Task Sequences:存放任务序列的目录
Advanced Configuration:这里面的配置是需要与sql server结合使用,以实现一些高级应用(进阶)
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109269jUPS.jpg"></a>
我们打开DeploymentShare的属性,然后在常规里面将:Network path的MDT Server名称更改为对应的IP :192.168.100.200 (MDT2012=192.168.100.200)
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109269L8vz.jpg"></a>
更改后的结果见下:
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109270OwZT.jpg"></a>
接下来
导入windows操作系统镜像
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109270kZ92.jpg"></a>
导入镜像的三种方式:从光盘导入(ISO文件)、从自定义的WIM文件导入、从WDS存在的镜像导入
在这里使用ISO导入
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109270Khxn.jpg"></a>
指定光驱位置
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109271IdUs.jpg"></a>
自定义名称
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_13501092714RT3.jpg"></a>
确认信息
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109272ORB0.jpg"></a>
开始导入系统
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109272SrLS.jpg"></a>
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109272mDvg.jpg"></a>
系统导入完成
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109273s3OJ.jpg"></a>
导入后的操作系统;有四个,因为我刚才导入的是windows server2012,该系统分为两个版本;Datacenter、Enterprise;加上每个系统有带图形界面的有不带的,所以有四个
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109273yzQh.jpg"></a>
创建任务序列,为每个操作系统创建一个序列
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109274aF0y.jpg"></a>
ID:001及描述
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109274aozB.jpg"></a>
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109274rdt4.jpg"></a>
选择系统版本,windows server2012 SERVERdatacenter版本 (CORE是不带图形界面的 )
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_13501092753Vbo.jpg"></a>
是否输入序列号,这个可根据实际情况而定
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109275ZW1M.jpg"></a>
因为我部署的是window server2012 ,我们大家都知道,在安装windows server2012前都必需输入序列号,所以再次我们序列号
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109276LqUA.gif"></a>
填写相关信息,
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109276VFwk.jpg"></a>
设置管理员密码
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_13501092769du8.jpg"></a>
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_135010927743Us.jpg"></a>
新建序列完成
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_135010927792OG.jpg"></a>
新建完成:
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109278m9qD.jpg"></a>
我们查看MDT2012创建的部署目录属性
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_13501092787ec7.jpg"></a>
Windows PE\Feature\勾选中国相关的语言包
勾选Windows PE X86 和 X64 Components选项卡的语言选项,防止在应用WinPE是出现乱码
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109278a5tQ.jpg"></a>
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109279LCUq.jpg"></a>
切换到Rules,单击单击编辑Bootstrap.ini文件
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_13501092798B2V.jpg"></a>
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109280B5U2.jpg"></a>
我们将MDT Server的名称从域名更改为对应的IP
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109280d5vi.jpg"></a>
更改完后,我们记住一定要记得Updata Deployment share
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109280JAus.jpg"></a>
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109281RSJv.jpg"></a>
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109281ScWP.jpg"></a>
接下来我们需要把生成的 WinPE引导镜像添加到WDS中
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109282P3z5.jpg"></a>
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_13501092826QJQ.jpg"></a>
我们选择E盘下的Deploymentshare目录;
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109282hCn9.jpg"></a>
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109283QimA.jpg"></a>
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109283JE7w.jpg"></a>
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109284Aauc.jpg"></a>
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_135010928465Dj.jpg"></a>
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109284VdY9.jpg"></a>
添加后的结果
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109285XbLK.jpg"></a>
同样把X86的镜像也用同样的方法添加进去
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109285Db5t.jpg"></a>
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_13501092868fWl.jpg"></a>
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_13501092866mvM.jpg"></a>
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109286vOUT.jpg"></a>
部署完成后,我们把WDS服务重启
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109287ADoQ.jpg"></a>
接下来就是测试了;
启动测试机器,从DHCP(网络)启动
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_13501092878KC5.jpg"></a>
刚才添加的两个引导镜像
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109288cWC5.jpg"></a>
我们在MDT添加的时64位的操作系统,所以选择从x64引导
正在downloadWinPE到客户端
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109288Isw0.jpg"></a>
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109288IFTx.jpg"></a>
填写凭据
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109289feqb.jpg"></a>
选择任务序列;因为我们只部署了一个序列所以,只能看见一个
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109289fmAF.jpg"></a>
根据自己环境进行填写;更改计算机名称及加域等信息。
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_13501092901tFt.jpg"></a>
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109290Zdza.jpg"></a>
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109291xMXV.jpg"></a>
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109291tvj8.jpg"></a>
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_135010929238E5.jpg"></a>
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109292Vxwq.jpg"></a>
部署完成
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_1350109293geHN.jpg"></a>
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_13501092938Eqo.jpg"></a>
正常登陆
<a href="http://gaowenlong.blog.51cto.com/attachment/201210/13/451336_13501092934zQD.jpg"></a>
本文转自 高文龙 51CTO博客,原文链接:http://blog.51cto.com/gaowenlong/1023707,如需转载请自行联系原作者