使用xp做多人遠端桌面,雖可以省系統資源但無法依指定帳號預設啟動程式,如下解決方式記錄。
gpedit.msc–>從連線上啟動程式
wscript.exe C:\rdp_login\start.vbs
userid = CreateObject("WScript.Network").UserName
Dim objShell
Set objShell = WScript.CreateObject( "WScript.Shell" )
if InStr(userid,"efuser") > 0 then
objShell.Run"regedit /s C:\rdp_login\ie_coom.reg", 0, True
objShell.exec "C:\Program Files\Internet Explorer\IEXPLORE.EXE -k http://ef.tscs.com.tw/efnet/src/_Common/mobile/index.html"
else
objShell.Run("explorer.exe")
end If
Set objShell = Nothing