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同样可以采用此方式。