根據網上搜索的信息稍微做了一些修改,配置如下。
1. 手工安裝view client
2. 在c:\client\下創建一個包含以下內容的View.bat文件:
1 2 3 4 5 | @ echo off "C:\Program Files\VMware\VMware View\Client\bin\wswc.exe" :view shutdown -s -t 0 goto view |
1 2 3 | Set WshShell = CreateObject( "WScript.Shell" ) WshShell.Run Chr( 34 ) & "C:\client\view.bat" & Chr( 34 ), 0 Set WshShell = Nothing |
1 2 3 | Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System] "Shell" = "wscript c:\\client\\start.vbs" |
配置腳本下載:點擊下載