iT邦幫忙

0

AD環境中,派送捷徑

如何使用windows2008群組原則派送捷徑到所有的xp client桌面?

圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中
10
vino1
iT邦大師 1 級 ‧ 2011-11-17 00:14:46
最佳解答

您好
請參考底下微軟的教學, 希望對您有幫助
http://technet.microsoft.com/zh-tw/library/cc753580(WS.10).aspx

6
michaelwan
iT邦高手 1 級 ‧ 2011-11-17 10:07:48

小弟自己的做法是用WSH, 將捷徑寫到ALLUSER DESKTOP

以前寫來做ERP捷徑的WSH.

<pre class="c" name="code">
On Error Resume Next
set oWSHShell = WScript.CreateObject("WScript.shell")
ALLUserDeskTopPath = oWSHShell.SpecialFolders("AllUsersDesktop")
ProgramFilesPath = oWSHShell.ExpandEnvironmentStrings("%ProgramFiles%")
ShortCutName = "TIPTOP_GP"
WorkingPath = ProgramFilesPath & "\FourJs\gdcax"
ShortCutPath = WorkingPath & "\bin\gdc.exe"
set oShortCut = oWSHShell.CreateShortCut(ALLUserDeskTopPath & "\" & ShortCutName & ".lnk")
oShortCut.TargetPath = ShortCutPath
oShortcut.Arguments = "-a -p 6406 -S " & chr(34) & "TIPTOP GP" & chr(34) & " -X"
oShortCut.WorkingDirectory = WorkingPath 
oShortCut.Description="Launch the Four J's Genero Desktop Client"
oShortCut.Save
2
pqr0007
iT邦研究生 1 級 ‧ 2011-11-17 21:39:16

ask 網站管理員也許 workable ...

我要發表回答

立即登入回答