天天看點

建立以Windows Server 2012為父虛拟機的連結克隆自動場建立以Windows Server 2012為父虛拟機的連結克隆自動場

一.在Windows Server 2012 或 2012 R2上安裝遠端桌面服務

1.     使用域使用者登入到虛拟機。這個使用者也必須是本地管理者組的一員。

2.     在ServerManager, 點選Manage > Add Roles andFeatures。

<a href="http://s3.51cto.com/wyfs02/M01/75/05/wKiom1YwkhDSE97vAAFl7pGD5nM228.jpg" target="_blank"></a>

3.     出現BeforeYou Begin 頁面。點選Next。

4.     出現Select installation type頁面。選中Role-based or feature-basedinstallation選項。點選Next。

5.     出現Select destination server頁面。選中一個本地伺服器。點選Next。

6.     出現Select server roles頁面。選中Remote Desktop Services。點選Next.

<a href="http://s3.51cto.com/wyfs02/M00/75/02/wKioL1YwklfzB8I7AAHucJpsPxw301.jpg" target="_blank"></a>

7.     出現Select features 頁面。保持預設選項,點選Next。

8.     出現Remote Desktop Services頁面。點選Next。

9.     出現Select role services頁面。選擇Remote Desktop Session Host。

<a href="http://s3.51cto.com/wyfs02/M00/75/05/wKiom1Ywkkeje5FdAAHCRteh0yw525.jpg" target="_blank"></a>

10.   出現Add Roles andFeatures Wizard頁面,點選AddFeatures。

<a href="http://s3.51cto.com/wyfs02/M02/75/02/wKioL1YwkorBf2VYAAE9iNYbk6I433.jpg" target="_blank"></a>

11.  出現Select role services頁面,選中Remote Desktop Session Host,點選Next。

<a href="http://s3.51cto.com/wyfs02/M02/75/05/wKiom1YwkrGgzjrYAAHbcyGoFJI423.jpg" target="_blank"></a>

12.  出現Confirm installation selections頁面,點選Install。

13.  這個安裝過程将需要幾分鐘時間。安裝結束後,将提示你重新開機。

二.設定使用者為單一桌面視窗使用者

按下Windows+R 鍵來打開運作指令框,輸入gpedit.msc來進入group po0licy 視窗。

打開 Computer Configuration\Administrative Templates\WindowsComponents\Remote Desktop Services\Remote Desktop Session Host\Connections,啟動 組政策設RestrictRemote Desktop Services users 為single Remote Desktop Services session。

<a href="http://s3.51cto.com/wyfs02/M00/75/05/wKiom1Ywkxzw9FMeAARGPaQN_nI425.jpg" target="_blank"></a>

這些修補程式允許具有RDS角色功能的WindowsServer 2012虛拟機用Sysprep來自定義。沒有這些修補程式,被部署到自動化場裡的連結克隆虛拟機上的Sysprep自定義就會失敗。

四.建立連結克隆自動場

本文轉自 桌面虛拟化 51CTO部落格,原文連結:http://blog.51cto.com/vmwareeuc/1708119

繼續閱讀