最佳解答者
group policy VBS 一問

問題
解答
-
- 已提議為解答 Vincent Lin 2009年3月27日 上午 08:46
- 已標示為解答 Vincent Lin 2009年3月31日 上午 09:57
所有回覆
-
你要的是這頁裡面的範例嗎?
http://www.microsoft.com/technet/scriptcenter/scripts/apps/user/default.mspxUser
Sample scripts for managing software on user computers, including scripts for installing, updating, and deleting software installed using Windows Installer.
• Delete Software • Install Software on a Remote Computer • Install Software on the Local Computer • List All Installed Software • List Information About the Binary Files Used by an Application • List Installed or Advertised Components and Applications • List Installed Software • List Installed Software Features • List Microsoft Product IDs • List the Codec Files on a Computer • Upgrade Software
論壇是網友平等互助 保證解答請至 微軟技術支援服務 -
Thanks for reply
不過我係想 check 如果那部電腦已經安裝了 , 就自動不執行 server 上的 setup.exe
如果沒有裝 , 才執行 setup.exe
因為現在我把 vbs 放上 group policy
Set WshShell = CreateObject("WScript.Shell")
WshShell.run \\server\setup.exe
所有電腦登入後 , 也會執行 \\server\setup.exe
但問題是 , 安裝了的電腦也會再執行 \\server\setup.exe
如何令已安裝了的電腦 , 就不執行 server 上的 setup.exe
曾看過可以用 vbs check , check 完裝了就不執行 setup.exe , 但不懂怎麼做 -
- 已提議為解答 Vincent Lin 2009年3月27日 上午 08:46
- 已標示為解答 Vincent Lin 2009年3月31日 上午 09:57