This article describes why you may be prompted to restart your Microsoft Windows-based computer after you install a security update.
Why you may be prompted to restart your computerAfter you install a security update, you may be prompted to restart your computer if one of the following conditions is true:
- The security update updates a DLL that is loaded in one or more processes that are required by Windows. The security update cannot be completed while the DLL is loaded. Therefore, the security update must stop the process that causes the DLL to be loaded. Stopping the process will unload the DLL that is required to complete the update. However, the process in which the DLL is loaded cannot be stopped while Windows is running. For example, the security update that is described in security bulletin MS04-011 updates many DLLs that are loaded in core operating system processes that cannot be stopped without shutting down Windows.
- The security update updates an .exe file that is currently running as a process that is required by Windows. The update cannot be completed while this process is running. However, you cannot force this process to stop unless you shut down Windows. For example, Csrss.exe is a required process in Windows.
- The security update updates a device driver that is currently being used and that is required by Windows. The update cannot be completed while this device driver is being used. However, you cannot unload this device driver unless you shut down Windows. For example, Disk.sys is a device driver that is required by Windows.
- The security update makes changes to the registry. These changes require that you restart your computer.
- The security update makes changes to registry entries that are read only when you start your computer.
How to reduce your chances of being prompted to restart your computerTo reduce your chances of being prompted to restart your computer after you install a security update, you can try to end the processes use the files that are being updated by the security update.
To determine whether files that are being updated by a security update are being used by your computer, you can use Process Explorer from Sysinternals to examine how the files are being used and by what processes they are being used. You may be able to stop the services or to end the processes that are using the files. For more information about Process Explorer, visit the following Sysinternals Web site:Microsoft provides third-party contact information to help you find technical support. This contact information may change without notice. Microsoft does not guarantee the accuracy of this third-party contact information.
For more information about Process Explorer, click the following article number to view the article in the Microsoft Knowledge Base:
242131 How to display a list of processes that have files openExcept for our own products, Microsoft does not endorse or recommend this product over others in the same area. We provide this information only as a convenience for our customers and, excepting our own products, do not provide warranties of any kind, either express or implied. The warranties that we do not provide include but are not limited to the implied warranties of merchantability or fitness for a particular purpose.
How to suppress the message to restart your computerTo suppress the message to restart your computer, use a command-line switch. The command-line switch that you use depends on the installer that is used by the security update.For more information about command-line switches for Windows and IExpress software update packages, click the following article numbers to view the articles in the Microsoft Knowledge Base:
262841 Command-line switches for Windows software update packages
197147 Command-line switches for IExpress software update packagesWhen you use Windows Installer, a security update that uses the .msi or the .msp file name extension is installed on your computer. For additional information about command-line options that are used by Windows Installer, visit the following Microsoft Web site:Important In certain cases, you must restart your computer to fully apply the security update. Your computer may remain vulnerable if the security update is not fully applied.
Technical support for x64-based versions of Microsoft WindowsYour hardware manufacturer provides technical support and assistance for x64-based versions of Windows. Your hardware manufacturer provides support because an x64-based version of Windows was included with your hardware. Your hardware manufacturer might have customized the installation of Windows with unique components. Unique components might include specific device drivers or might include optional settings to maximize the performance of the hardware. Microsoft will provide reasonable-effort assistance if you need technical help with your x64-based version of Windows. However, you might have to contact your manufacturer directly. Your manufacturer is best qualified to support the software that your manufacturer installed on the hardware.
For product information about Microsoft Windows XP Professional x64 Edition, visit the following Microsoft Web site: The third-party products that this article discusses are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, regarding the performance or reliability of these products.
Applies ToThis article applies to all currently supported Microsoft operating systems.
Article ID: 887012 - Last Review: Mar 29, 2017 - Revision: 3
Microsoft Windows Server 2003, Datacenter Edition (32-bit x86), Microsoft Windows Server 2003, Datacenter x64 Edition, Microsoft Windows Server 2003, Enterprise Edition (32-bit x86), Microsoft Windows Server 2003, Enterprise x64 Edition, Microsoft Windows Server 2003, Standard Edition (32-bit x86), Microsoft Windows Server 2003, Standard x64 Edition, Microsoft Windows XP Home Edition, Microsoft Windows XP Professional