根據網上搜索的信息稍微做了一些修改,配置如下。
@
echo
off
"C:\Program Files\VMware\VMware View\Client\bin\wswc.exe"
:view
shutdown
-s -t 0
goto view
Set WshShell = CreateObject(
"WScript.Shell"
)
WshShell.Run Chr(
34
) &
"C:\client\view.bat"
& Chr(
),
0
Set WshShell = Nothing
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System]
"Shell"
=
"wscript c:\\client\\start.vbs"
配置腳本下載:點擊下載