To determine whether an update to the registry has failed, go to the "More Information" section.
Note You must be logged on to Windows with a user account that is a computer administrator to complete these methods. If this is your personal computer, you are likely already logged on with an administrator account. If this is a computer that is part of a network at work, you might have to ask the system administrator for help. To verify that you are logged on to Windows with a user account that is a computer administrator, visit the following Microsoft Web site:
Method 1: Restart the computer, and then try to download and install Windows XP SP3 from the Microsoft Download CenterIf a program is running with a locked file, restarting the computer may unlock the file. To try to unlock the file, exit all programs and restart the computer. Then try again to download and install the service pack.
If you originally tried to install Windows XP SP3 through Windows Update and it failed, download the full Windows XP SP3 download package from the Microsoft Download Center. After you download the service pack, try to install it.For more information about how to download Windows XP Service Pack 3, click the following article number to view the article in the Microsoft Knowledge Base:
For more information about restoring the default security settings for Windows XP, , click the following article number to view the article in the Microsoft Knowledge Base:
If this method did not resolve the issue, go to method 2.
Method 2: Restart the computer, and then close or disable any antivirus or antispyware program that may be runningWarning This workaround may make a computer or a network more vulnerable to attack by malicious users or by malicious software such as viruses. We do not recommend this workaround but are providing this information so that you can implement this workaround at your own discretion. Use this workaround at your own risk.
You can reduce the risk of attack by malicious users or malicious software by not visiting other Web sites or downloading files while your antivirus and antispyware program is closed or disabled.
One of the most common causes of installation failure is when a third-party program, such as an antivirus program, holds a file open or locks a file that the service-pack installer needs. To prevent this issue, follow these steps before you install Windows XP SP3:
- Exit all programs, and then restart the computer.
- After you restart the computer, close or disable any antivirus or antispyware programs that may be running.
Note You can disable the programs from the notification area. To do this, right-click the third-party program icon, and then click an option to close or to disable the application. If this option is not available, see the program documentation, or contact the program's manufacturer for instructions.
- After you close the antivirus program or the antispyware program, install Windows XP SP3 from the full download package that you downloaded in method 1.
- After Windows XP SP3 installation is complete, restart the antivirus program or the antispyware program that you disabled in step 2.
If this method did not resolve the issue, and if you are comfortable trying advanced troubleshooting steps, go to the "Advanced troubleshooting” section. If you are not comfortable with advanced troubleshooting steps, go to the "Next Steps” section.
Reset the registry and the file permissionsTo have us reset the registry and file permissions for you, go to the "Fix it for me" section. If you would rather turn on Automatic Updates yourself, go to the "Let me fix it myself" section.
Fix it for meTo fix this problem automatically, click the Fix this problem link. Then click Run in the File Download dialog box, and follow the steps in this wizard.
Microsoft Fix it 50389
Note This wizard may be in English only; however, the automatic fix also works for other language versions of Windows.
Note If you are not on the computer that has the problem, you can save the automatic fix to a flash drive or to a CD, and then you can run it on the computer that has the problem.
Let me fix it myselfImportant This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
- Download and then install the Subinacl.exe file. To do this, visit the following Microsoft Web site:
- Start Notepad.
- Copy and then paste the following text into Notepad. cd /d "%ProgramFiles%\Windows Resource Kits\Tools"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. However, they will not modify these examples to provide added functionality or construct procedures to meet your specific requirements.
subinacl /subkeyreg HKEY_LOCAL_MACHINE /grant=administrators=f /grant=system=f
subinacl /subkeyreg HKEY_CURRENT_USER /grant=administrators=f /grant=system=f
subinacl /subkeyreg HKEY_CLASSES_ROOT /grant=administrators=f /grant=system=f
subinacl /subdirectories %SystemDrive% /grant=administrators=f /grant=system=f
subinacl /subdirectories %windir%\*.* /grant=administrators=f /grant=system=f
secedit /configure /cfg %windir%\repair\secsetup.inf /db secsetup.sdb /verbose
- Save this Notepad file as Reset.cmd.
- Double-click the Reset.cmd file to run the script.
Note This script file may take a long time to run. You must run this script as an administrator.
- Install Windows XP SP3.
If this method did not resolve the issue, go to the "Next Steps” section.
How to determine whether the registry update has failed
- Click Start, click Run, type %windir%\svcpack.log, and then click OK. The Svcpack.log file opens.
- On the Edit menu, click Find.
- In the Find what box, type DoRegistryUpdates failed, and then click Find Next.
If there was a registry update failure, a "DoRegistryUpdates failed" error message is displayed in the file. This indicates that an issue is preventing the registry update. This error message resembles the following:xxxx.xxx: DoInstallation:DoRegistryUpdates failed.Note In this message, xxxx.xxx represents the time stamp of each entry.
xxxx.xxx: Access is denied.
xxxx.xxx: Message displayed to the user: Access is denied.
Antivirus softwareAn antivirus program is designed to help protect your computer from viruses. You must not download or open files from sources that you do not trust, visit Web sites that you do not trust, or open e-mail attachments when your antivirus program is disabled. For more information about computer viruses, click the following article number to view the article in the Microsoft Knowledge Base:
- Searchable Knowledge Base: Search technical support information and self-help tools for Microsoft products.
- Solution Centers: View product-specific frequently asked questions and support highlights.
- Other Support Options: Use the Web to ask a question, contact Microsoft Customer Support Services, or provide feedback.
Article ID: 949377 - Last Review: Dec 27, 2016 - Revision: 1