/build/static/layout/Breadcrumb_cap_w.png

Microsoft Office Communicator 2005 Patch 1

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   [ + ] Show comments

Answers (1)

Posted by: fuz_kitten 16 years ago
Second Degree Blue Belt
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 (?)
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ