RESOLUTION
Before you install the service pack or the update, quit any program or service that is running that may interfere with the installation of the service pack or the update.
The following methods provide information about how to quit some of the most common programs and services that may cause this issue to occur. Use the following methods depending on your situation.
How to quit ActiveSync
To quit ActiveSync, end the
Wcescomm.exe process. To end the
Wcescomm.exe process, see the "How to end a process for a program that is running in the background" section.
Note A user or device that is connected to the service will be disconnected when you end the process.
How to quit an Office program
To quit an Office program, click
Exit on the
File menu. If the Office program is not visible on the screen, press ALT+TAB to switch to the Office program. Alternatively, click the taskbar button of the Office program.
Note A process of an Office program may continue to run in the background if a problem causes the program to close abnormally. If you suspect that a process of an Office program is running in the background, end the process. To do this, see the "How to end a process for a program that is running in the background" section.
How to quit Communicator 2005
To quit Communicator 2005, sign out of Communicator, close the program, and then exit the program. To do this, follow these steps:
- On the Connect menu, click Sign Out.
- On the Connect menu, click Close.
Note When you close Communicator 2005, the program minimizes to the notification area. - Right-click the Communicator 2005 icon in the notification area, and then click Exit.
How to end a process for a program that is running in the background
Important Ending a process can cause unwanted
results. This includes system instability and a loss of data. When you end a process, it is not given the chance to save its state or
other data before the process is ended.
To end a process of a program that is running in the background, use one of the following methods.
Method 1: Use Task Manager
To use Task Manager to end a process, follow these steps:
- Press CTRL+ALT+DEL.
- On the Processes tab, click process_filename, and then click End Process.
Note In this method, process_filename represents the file name of the process that you want to end.
Method 2: Use the Taskkill command
To use the
Taskkill command to end a process, follow these steps:
- Click Start, click Run, type cmd, and then click OK.
- At the command prompt, type taskkill /im process_filename and then press ENTER.
Notes- In this method, process_filename represents the file name of the process that you want to end.
- For more information about the Taskkill command, type taskkill /? at the command prompt, and then press ENTER.
- At the command prompt, type exit to close the Command Prompt window.
How to prevent the computer from unexpectedly restarting when you deploy an Office service pack or an Office update
If you are an administrator who is deploying an Office service pack or an Office update, you can use a script to quit programs or services that may interfere with the installation of the service pack or the update.
Microsoft provides programming examples for illustration only, without warranty either expressed or implied. This includes, but is not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and with the tools that are used to create and to debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific requirements.
To use a script to quit programs or services, create a script that is similar to the following script.
; TechNet Sample 2005
; http://www.microsoft.com/technet/scriptcenter/resources/qanda/sept04/hey0927.mspx
; For more information about how to use scripts to manage processes, visit the following Microsoft Web site:
; http://www.microsoft.com/technet/scriptcenter/guide/sas_prc_overview.mspx
strComputer = "."
Set objWMIService = GetObject _
("winmgmts:\\" & strComputer & "\root\cimv2")
Set colProcessList = objWMIService.ExecQuery _
("Select * from Win32_Process Where Name = 'Communicator.exe'")
For Each objProcess in colProcessList
objProcess.Terminate()
Next