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???
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)
Please log in to answer
Posted by:
fuz_kitten
16 years ago
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 (?)
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.
so that the conversation will remain readable.