SCCM服務器中一個重要的功能就是部署操做系統。SCCM提供了操做系統批量部署方案中的一個重要解決方案:零接觸安裝。總所周知,披露部署微軟操做系統時有四種解決方案,標準鏡像部署,定製鏡像部署,輕接觸部署,零接觸部署。其中輕接觸部署指的是把WDS和MDT接合起來進行操做系統部署,零接觸部署就是SCCM結合WDS了。其實SCCM和MDT相比,基本功能大同小異,沒法是任務序列等組件控制得能夠更細膩一些。有MDT基礎的朋友,實現SCCM部署操做系統並不困難。下面咱們將經過一個例子爲你們介紹,如何利用SCCM2012實現Windows 7 X86版本的部署。咱們先使用最簡單的模型,從Windows7的安裝光盤上得到映像,而後部署到客戶端裸機。服務器
一啓用PXE
SCCM2012已經沒有了PXE點,PXE點的功能集成在分發點中。咱們在SCCM控制檯中定位到站點系統角色中的分發點,在分發點的屬性中勾選「爲客戶端啓用PXE」。注意,使用這個選項中,若是SCCM服務器上沒有安裝WDS,此時將自動安裝WDS。根據經驗,WDS若是以前手工安裝,容易出現問題,推薦你們仍是此時經過啓用PXE自動安裝WDS組件。網絡
![snap1.jpg](http://static.javashuo.com/static/loading.gif)
二配置DHCP選項
SCCM部署操做系統,須要在DHCP服務器上配置特定的選項。本例中咱們在DC上部署了DHCP服務器,以下圖所示,在DHCP服務器上選擇「配置選項」。ide
![snap2.jpg](http://static.javashuo.com/static/loading.gif)
首先要配置一個66選項,66選項的做用是指定PXE服務器,咱們能夠用域名或IP來描述PXE服務器。測試
![snap3.jpg](http://static.javashuo.com/static/loading.gif)
接下來要描述一個67選項。以下圖所示,選項中填寫的是要經過PXE服務器下載的引導程序名稱。注意,若是填寫X64,則支持64位操做系統部署;若是填寫X86,則32位和64位系統部署都支持。spa
![snap4.jpg](http://static.javashuo.com/static/loading.gif)
三配置啓動映像
在SCCM控制檯中定位到啓動映像,咱們須要對兩個啓動映像進行配置。以下圖所示,咱們以X86啓動映像爲例進行介紹,X64映像的配置方法相同。以下圖所示,咱們選擇對映像進行分發。操作系統
![snap5.jpg](http://static.javashuo.com/static/loading.gif)
點擊下一步繼續。3d
![snap6.jpg](http://static.javashuo.com/static/loading.gif)
選擇一個分發點。blog
![snap7.jpg](http://static.javashuo.com/static/loading.gif)
點擊關閉完成配置。部署
![snap8.jpg](http://static.javashuo.com/static/loading.gif)
在啓動映像屬性中切換到數據源,勾選「從PXE服務點部署此啓動映像」。get
![snap9.jpg](http://static.javashuo.com/static/loading.gif)
在自定義屬性中選擇「啓用命令支持」,這樣啓動映像引導裸機時,能夠調出一個命令提示符,有利於排錯。
![snap10.jpg](http://static.javashuo.com/static/loading.gif)
點擊肯定後按照提示更新分發點。
![snap11.jpg](http://static.javashuo.com/static/loading.gif)
更新完成後點擊肯定。
![snap12.jpg](http://static.javashuo.com/static/loading.gif)
四配置網絡訪問帳號
SCCM客戶端使用本地系統帳號執行SCCM各項任務,但本地系統帳號沒有網絡訪問權限。部署操做系統時因爲裸機的計算機帳號沒有網絡訪問權限,所以咱們須要配置一個網絡訪問帳號,用於提供必要的權限。以下圖所示,在SCCM控制檯中選擇配置軟件分發角色。
![snap13.jpg](http://static.javashuo.com/static/loading.gif)
在網絡訪問帳號中指定一個域用戶帳號,一個普通的域用戶帳戶便可,不須要太大的權限。
![snap14.jpg](http://static.javashuo.com/static/loading.gif)
五配置操做系統映像包
在SCCM控制檯中選擇添加操做系統映像包。
![snap15.jpg](http://static.javashuo.com/static/loading.gif)
操做系統映像包來源於Windows7的安裝光盤,是安裝光盤中的install.wim文件,注意,Windows7的安裝光盤要放在一個共享文件夾下供訪問。
![snap16.jpg](http://static.javashuo.com/static/loading.gif)
輸入操做系統映像的常規信息。
![snap17.jpg](http://static.javashuo.com/static/loading.gif)
點擊下一步繼續。
![snap18.jpg](http://static.javashuo.com/static/loading.gif)
關閉嚮導,完成添加映像的操做。
![snap19.jpg](http://static.javashuo.com/static/loading.gif)
右鍵單擊映像,選擇分發內容。
![snap20.jpg](http://static.javashuo.com/static/loading.gif)
點擊下一步繼續。
![snap21.jpg](http://static.javashuo.com/static/loading.gif)
添加一個分發點。
![snap22.jpg](http://static.javashuo.com/static/loading.gif)
完成分發嚮導。
![snap23.jpg](http://static.javashuo.com/static/loading.gif)
完成嚮導後,SCCM服務器會將操做系統映像分發到分發點,以下圖所示,當映像的內容狀態顯示爲綠色,就表明分發已經完成。
![snap24.jpg](http://static.javashuo.com/static/loading.gif)
六配置任務序列
在SCCM控制檯中定位到任務序列,選擇「建立任務序列」。
![snap25.jpg](http://static.javashuo.com/static/loading.gif)
選擇安裝現有的映像包。
![snap26.jpg](http://static.javashuo.com/static/loading.gif)
選擇啓動映像包,從X86和X64中進行選擇。
![snap27.jpg](http://static.javashuo.com/static/loading.gif)
從映像中選擇一個Windows7的具體版本進行部署。其實安裝光盤中的映像,已經內置了多個不一樣版本的Windows 7。
![snap28.jpg](http://static.javashuo.com/static/loading.gif)
爲裸機指定固定的本地管理員密碼。
![snap29.jpg](http://static.javashuo.com/static/loading.gif)
選擇將裸機部署完系統後加入域。
![snap30.jpg](http://static.javashuo.com/static/loading.gif)
安裝系統後順便安裝SCCM的客戶端。
![snap31.jpg](http://static.javashuo.com/static/loading.gif)
不使用捕獲設置。
![snap32.jpg](http://static.javashuo.com/static/loading.gif)
選擇部署完系統後安裝軟件更新。
![snap33.jpg](http://static.javashuo.com/static/loading.gif)
能夠根據須要選擇是否須要部署應用程序。
![snap34.jpg](http://static.javashuo.com/static/loading.gif)
點擊下一步繼續。
![snap35.jpg](http://static.javashuo.com/static/loading.gif)
完成任務序列建立。
![snap36.jpg](http://static.javashuo.com/static/loading.gif)
選擇部署任務序列。
![snap37.jpg](http://static.javashuo.com/static/loading.gif)
任務序列做用到全部的未知計算機,裸機通常都屬於未知計算機。
![snap38.jpg](http://static.javashuo.com/static/loading.gif)
選擇可供媒體或PXE使用。
![snap39.jpg](http://static.javashuo.com/static/loading.gif)
不指定部署計劃。
![snap40.jpg](http://static.javashuo.com/static/loading.gif)
配置用戶體驗。
![snap41.jpg](http://static.javashuo.com/static/loading.gif)
配置SCOM警報。
![snap42.jpg](http://static.javashuo.com/static/loading.gif)
經過任務序列下載數據。
![snap43.jpg](http://static.javashuo.com/static/loading.gif)
點擊下一步,完成配置。
![snap44.jpg](http://static.javashuo.com/static/loading.gif)
七客戶機體驗
若是使用Hyper-V虛擬機測試,必定要注意把網卡類型設置爲舊版網卡,不然不支持PXE。
![snap45.jpg](http://static.javashuo.com/static/loading.gif)
裸機啓動後,從DHCP服務器得到IP地址,點擊F12繼續。
![snap47.jpg](http://static.javashuo.com/static/loading.gif)
出現任務序列嚮導,操做系統安裝開始了。
![snap48.jpg](http://static.javashuo.com/static/loading.gif)
本文出自 「嶽雷的微軟網絡課堂」 博客,請務必保留此出處http://yuelei.blog.51cto.com/202879/1263827