1.手工安裝view client 4.5
2.在c:\client\下創建一個包含以下內容的View.bat文件:
@echooff
:View
“C:\ProgramFiles\VMware\VMware View\Client\bin\wswc.exe”
gotoView
3.在同一級目錄中創建start.vbs
SetWshShell = CreateObject("WScript.Shell")
WshShell.Run Chr(34) &"C:\client\view.bat" & Chr(34), 0
Set WshShell = Nothing
3、編輯註冊表,替換當前用戶登錄的shell.
WindowsRegistry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Winlogon]
"Shell"="wscriptc:\\client\\start.vbs"
4.修改windows用戶登錄方式,讓windows自動用你設定的用戶名密碼登錄。
WindowsRegistry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Winlogon]
"DefaultUserName"="administrator"
"DefaultPassword"="123456"
"AutoAdminLogon"="1"
"ForceAutoLogon"="1"
"LogonType"="0"
5.如果您還需要修改CTRL+ALT+DELETE 選項,您可以使用註冊表或組策略方式來限制:
Policy | Setting |
Remove Change Password | Enabled |
Remove Lock Computer | Enabled |
6.修改view client 註冊表選項,使其自動登錄到指定桌面,並隱藏view client上方的工具欄
WindowsRegistry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\VMware,Inc.\VMware VDM\Client]
"ServerURL"="https://viewserver"
"UserName"="test1"
"DomainName"="testdomain"
"Password"="testpassword"
"DesktopName"="desktop1"
"DesktopLayout"="FullScreen"
"NonInteractive"="true"
"connectUSBOnStartup"="true"
"connectUSBOnInsert"="true"
"EnableShade"="false"
"NonInteractive"="false"
Citrix同樣可以採用此方式。