天天看點

VDI序曲十二 伺服器版XP-MODE釋出IE6

沿用之前序曲的架構,我們在實體伺服器2上建立一台Windows XP With SP3的虛拟機,并加入域

接着我們到微軟的網站下載下傳這樣一個更新檔程式

<a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=e5433d88-685f-4036-b435-570ff53598cd&amp;displaylang=zh-cn">http://www.microsoft.com/downloads/details.aspx?FamilyID=e5433d88-685f-4036-b435-570ff53598cd&amp;displaylang=zh-cn</a>

<a href="http://rdsrv.blog.51cto.com/attachment/201105/7/2996778_1304748983UXPn.png"></a>

安裝完這個更新檔以後重新開機XP

接着開啟XP的遠端桌面服務功能

<a href="http://rdsrv.blog.51cto.com/attachment/201105/7/2996778_1304748991c5sE.png"></a>

在選擇遠端使用者裡添加ms_remoteapp_users組

<a href="http://rdsrv.blog.51cto.com/attachment/201105/7/2996778_1304749003WR7K.png"></a>

接着打開系統資料庫

找到HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Terminal Server\TsAppAllowList\fDisabledAllowList,把它的鍵值改成1

<a href="http://rdsrv.blog.51cto.com/attachment/201105/7/2996778_1304749010SM3z.png"></a>

在HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Terminal Server\TsAppAllowList\下面建立一個系統資料庫項Applications,并在該項下面建立一個IE6項

<a href="http://rdsrv.blog.51cto.com/attachment/201105/7/2996778_1304749017lKoS.png"></a>

在HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Terminal Server\TsAppAllowList\Applications\IE6中建立兩個REG_SZ的鍵值,其中name寫上Internet Explorer 6,path寫上Internet Explorer的路徑

<a href="http://rdsrv.blog.51cto.com/attachment/201105/7/2996778_1304749017bunT.png"></a>

<a href="http://rdsrv.blog.51cto.com/attachment/201105/7/2996778_1304749019SUoQ.png"></a>

然後在WIN7的電腦上打開遠端桌面連接配接,輸入XP的FQDN位址

點開“選項”另存為一個RDP檔案為IE6.RDP

接着用記事本打開這個檔案

根據我下面代碼紅色部分修改

screen mode id:i:2 

use multimon:i:0 

desktop 

desktopheight:i:600 

session bpp:i:32 

winposstr:s:0,3,0,0,800,600 

compression:i:1 

keyboardhook:i:2 

audiocapturemode:i:0 

videoplaybackmode:i:1 

connection type:i:2 

displayconnectionbar:i:1 

disable wallpaper:i:1 

allow font smoothing:i:0 

allow desktop composition:i:0 

disable full window drag:i:1 

disable menu anims:i:1 

disable themes:i:0 

disable cursor setting:i:0 

bitmapcachepersistenable:i:1 

full address:s:192.168.250.34(XP的FQDN) 

audiomode:i:0 

redirectprinters:i:1 

redirectcomports:i:0 

redirectsmartcards:i:1 

redirectclipboard:i:1 

redirectposdevices:i:0 

redirectdirectx:i:1 

autoreconnection enabled:i:1 

authentication level:i:2 

prompt for credentials:i:0 

negotiate security layer:i:1 

remoteapplicationmode:i:1 

alternate shell:s:rdpinit.exe 

disableremoteappcapscheck:i:1 

remoteapplicationprogram:s:IEXPLORE.EXE 

remoteapplicationname:s:IE6(這是取名) 

shell working directory:s: 

gatewayhostname:s: 

gatewayusagemethod:i:4 

gatewaycredentialssource:i:4 

gatewayprofileusagemethod:i:0 

promptcredentialonce:i:1 

use redirection server name:i:0

雙點這個IE6.RDP檔案輸入域帳号密碼就可以直接打開IE6了

當然如果要讓外網也可以使用的話可以在另為為之前加上網關的配置資訊,這樣上面的代碼也會有網關的相關資訊可以再您導入了證書以後在外網直接使用!

<a href="http://rdsrv.blog.51cto.com/attachment/201105/7/2996778_1304749025676h.png"></a>

展開“詳細資訊”輸入域帳号和密碼

<a href="http://rdsrv.blog.51cto.com/attachment/201105/7/2996778_1304749032LwB2.png"></a>

這個遠端RDP就自動消失了,IE6就啟動打開了

<a href="http://rdsrv.blog.51cto.com/attachment/201105/7/2996778_1304749035LJlG.png"></a>

試試打開網站,沒問題啊

<a href="http://rdsrv.blog.51cto.com/attachment/201105/7/2996778_130474904003wH.png"></a>

這個有個缺點就是隻能1對1的模式,讓使用者A使用以後,使用者B就無法連接配接使用IE6,除非管理者在背景手動把RDIE6虛拟機登出以後,其他使用者才可以使用。

本文轉自 ZJUNSEN 51CTO部落格,原文連結:http://blog.51cto.com/rdsrv/561105,如需轉載請自行聯系原作者

繼續閱讀