/bundles/itninjaweb/img/Breadcrumb_cap_w.png
Hi,
Does anyone know how I can force Office Communicator to close before I install the patch. In SMS I have used the following switches;
Msiexec /P Communicator.msp REBOOT=FORCE REBOOTPROMPT=S /qb
This works except if Communicator is open. How can I force it to close???
0 Comments   [ - ] Hide Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
Answer this question or Comment on this question for clarity

Answers

0
Hi,
I always use this script when i want to kill a process...

-----------------------------------------------
' ProcessKillLocal.vbs
' Sample VBScript to kill a program
' Author Guy Thomas http://computerperformance.co.uk/
' Version 2.7 - December 2005
' ------------------------ -------------------------------'
Option Explicit
Dim objWMIService, objProcess, colProcess
Dim strComputer, strProcessKill
strComputer = "."
strProcessKill = "'calc.exe'"

Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" _
& strComputer & "\root\cimv2")

Set colProcess = objWMIService.ExecQuery _
("Select * from Win32_Process Where Name = " & strProcessKill )
For Each objProcess in colProcess
objProcess.Terminate()
Next
WSCript.Echo "Just killed process " & strProcessKill _
& " on " & strComputer
WScript.Quit
----------------------------------------------------

I didnt write this script, so thanks to Guy Thomas - who ever he may be.

C

Edit: maybe this wount work, depending on who owes the process (?)
Answered 06/11/2007 by: fuz_kitten
Second Degree Blue Belt

Please log in to comment