Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Error message when you install Windows Server 2003 Service Pack 1 (SP1): �Service Pack 1 Setup encountered an error: An error in updating your system has occurred�


View products that this article applies to.

Symptoms

When you install Windows Server 2003 Service Pack 1 (SP1), you may receive the following error message:
Service Pack 1 Setup encountered an error: An error in updating your system has occurred

↑ Back to the top


Workaround

To work around this problem, determine the return code in the Svcpack.log file, and then follow the steps that are appropriate for your situation.

The return code is 2

Assign the TEMP variable and the TMP variable to a valid directory. Make sure that you do not assign these variables to a virtual directory. For example, if Windows is installed on the local drive C in the WINDOWS directory, add the following lines in the Autoexec.bat file:
SET TEMP=C:\WINDOWS\TEMP
SET TMP=C:\WINDOWS\TEMP

The return code is 3

  1. Rebuild the Windows Management Instrumentation (WMI) Repository.
  2. Use the WMI MOF compiler (mofcomp.exe) to compile an MOF file. To do this, type the following command at the command prompt, and then press ENTER:
    SYSTEMROOT\system32\wbem\mofcomp.exe
  3. Run the Setup program for the Windows Server 2003 SP1.

The return code is 128

  1. Click OK to the error message, and then restart the computer.
  2. Copy the WinDir\System32\Oleaut32.dll file to the WinDir\System32 folder.
  3. Run the Setup program for Windows Server 2003 SP1.
  4. After the installation is complete, do the following:
    1. When you are prompted to restart the computer, delete the Oleaut32.dll file from the WinDir\System32 folder. If you cannot delete the Oleaut32.dll file, go to step 4b.
    2. Rename the Oleaut32.dll file, and then delete the file after you restart the system.

MORE INFORMATION

For more information about how to rebuild the WMI Repository, visit the following TechNet Web site:

↑ Back to the top


Keywords: KB940185, kbprb, kbtshoot, kberrmsg

↑ Back to the top

Article Info
Article ID : 940185
Revision : 3
Created on : 8/14/2007
Published on : 8/14/2007
Exists online : False
Views : 350