Subscribe to Windows IT Pro
September 03, 2002 12:00 AM

Troubleshooting Service Pack Upgrades

Windows IT Pro
InstantDoc ID #26482
Rating: (0)

Troubleshooting Service Pack Upgrades
I've used three techniques to successfully upgrade servers and workstations, although I've not yet tried to update a domain controller (DC). The three techniques I tested include a local update that I started from the command line (w2ksp3.exe) on Windows 2000 Advanced Server Service Pack 2 (SP2); a network update I started with update.exe (on Win2K AS SP2 with many hotfixes), and a Group Policy (GP)-packaged update using update.msi (on Win2K AS with no service packs or hotfixes). Many of you have written to me about problems upgrading or have asked me questions about the upgrade procedure, so here’s an overview of the main steps that occur during a service pack upgrade.

  • When you start an upgrade by double-clicking or running w2ksp3.exe, the installer uncompresses the service pack files to a temporary folder and runs update.exe from the temporary folder.
  • The installer inventories system files and identifies files that must be updated.
  • During the inventory, the installer displays the End User License Agreement (EULA) and prompts you to create an uninstall directory. This is the last opportunity to safely cancel the upgrade.
  • The installer creates the $NTServicePackUninstall$ folder and copies into it all files that are marked for update.
  • The installer replaces system files with files from the service pack. If the files are locked (in use), the installer gives the replacement file a temporary name and adds it to the "file rename pending log". The system replaces these files during the reboot.
  • The installer parses applicable .inf files to update registry hives.
  • The installer executes several programs using Rundll32.exe. These programs register Java applets, apply the upgrade security template, remove performance monitor counters, and perform other cleanup tasks.
  • The installer deletes all temporary upgrade files and initiates a system restart.
  • The file rename process finishes after the computer reboots.

Win2K SP3 setup logs all of the above activities in the log file \%systemroot%\svcpack.log. When the upgrade is successful, the first portion of the log contains references to “old information in the registry,” and “new information in the registry.” Next, if you use the default option, the log file shows the installer creating the uninstall directory, followed by several lines that estimate the time it will take to create, download, and expand service pack files, and create the uninstall directory. Then the installer registers the uninstall program and copies files to various locations in the system root. During the last stages, setup renames .dll files to temporary file names and runs several housekeeping programs (lines that begin with “Starting Process:”). If setup fails for some reason, comparing the logfile contents of the successful upgrade with the contents of the log file on the system where the upgrade failed might help you identify the problem.

Readers Share SP3 Problems and Solutions
I’ve received a great deal of mail regarding unexpected behavior during or after an SP3 upgrade. Here are three users' experiences that might save you some time and trouble when you’re testing this mammoth code update.

DHCP Problem
Reader Brian Gilbert passed along his experience with SP3 and DHCP: “Service Pack 3 has a bug in the dhcpsnap.dll that breaks the Reservation portion of the DHCP. I have about 200 reservations on my DHCP server. After installing SP3, I could no longer see or modify the reservations. I could add new reservations. After leaving messages at Microsoft and getting no response, a colleague found this problem and a solution at the Microsoft.Public.WindowsUpdate newsgroup. To correct the problem, I replaced the problematic SP3 dll with dhcpsnap.dll from the service pack backup directory and everything worked just fine.”

Desktop Applicationss Don’t Stay Hidden
Reader Dan Weikert passed on this tip about a known problem when you hide desktop applications: “Win2K SP3 includes the option to hide various applications, Internet Explorer (IE) and Outlook Express, for example. We use Outlook primarily in house, so as a test of a recent installation of Win2K and SP3 I turned off the visibility of Outlook Express. It worked until I upgraded the machine to IE 6. Then that pesky Outlook Express icon reappeared in the quick launch bar. The setting was still set to hide and it wasn't on the desktop, but I had to manually delete it from the quick launch bar.”

Automatic Updates Uses Port 443
Anthony Miller encountered problems with Automatic Updates on a Win2K SP2 system. “When running Windows update from the Tools menu, and I click "Scan for Updates," I get back zero updates available. I know there are available updates. (SP3 for instance!) If I click Windows Update in the left pane under "See Als," I got a similar message as you did but with a different hexadecimal code. I get 0x800A138F. This problem occurs only on three servers that sit in the demilitarized zone (DMZ) behind a firewall. I have yet to update to SP3, so there might be a bug in the ActiveX control. Of course, I can manually download updates but that kind of defeats the purpose.” After testing, Anthony discovered that “the new ActiveX control collects patch information and sends/receives that information over port 443 instead of port 80 as in the past (Windows Update from an NT server seems to be still using port 80 for everything). Port 443 was blocked for those servers in our firewall. Once opened, Windows Update worked as expected.”

Related Content:

ARTICLE TOOLS

Comments
  • Timothy Smith
    9 years ago
    Nov 24, 2003

    I am using a Win NT4 system (two work stations and one server) with Service Pack 6a installed. I upgraded the two work stations to IE6 from IE 5.5. Since then, I can no longer download files by "left clicking". I can only use "right Click" and "Save As". With all the website protection schemes out there, many do not allow a "right click" on the page anymore. As a result, I can not download the files. Microsoft has been no help and can not find anything in the FAQ's. Also when I post the problem in various forums, no one answers.

    Any suggestions?

    Also have another person that has an Win XP Pro computer that has had IE6 installed/upgraded to and they can no longer click on an address in the Outlook 6 program and have it go to the website.

    Any help there also appreciated

  • Cheri
    9 years ago
    Jul 12, 2003

    I had the 'nimba' virus and when trying to run the patch to get rid of I had to install Service Pack 3, when i did, now I have errors left right and centre when running programs which I have never had before!
    I couldn't run MSN Messanger, my internet would just shut down on me, and as well I couldn't send attachements in email...
    Help..(I also changed a couple options in my Norton Anti Virus at the same time, could this be it?)

  • Nishith
    9 years ago
    Jan 03, 2003

    LAN port of doamin controller sttoped funtioning after upgrading to Windows 2000 server SP 1.What may be the problem? Plese help..

  • Michael Leary
    10 years ago
    Sep 13, 2002

    This was an earlier email from W2k - hope this helps.

    SP3's Unexpected Automatic Updates Behavior

    Perhaps some of you are installing Service Pack 3 for Windows 2000. If so, I want to bring the following bug to your attention. While SP3 is being seen as very solid, it does seem to break Windows Update on some systems. If after installing SP3, the Windows Update program breaks with the error code "0x800A138F", then you will need to execute the below procedure to fix the problem.
    RESOLUTION:
    go to Start, then Run Type in "regsvr32 iuctl.d l l /u" to unregister the program
    Find iuctl.d l l and iuengine.d l l and delete all instances of them
    Here is an article in WinNetMag with more on this issue:
    http://www.w2knews.com/rd/rd.cfm?id=020826RN-W2K_SP3&mid=8787071523006762

    URL may be broken if wrapped around...

  • MR
    10 years ago
    Sep 12, 2002

    Lots of people are seeing this. In my experience if you dissable Auto Update in Ctl panel and reboot then the Windows Update site works again. See instantDoc #26310. Also (untested) it's said you can run "regsvr32 iuctl.dll /u" to unregister the Auto Update then delete iuctl.dll and iuengine.dll.

You must log on before posting a comment.

Are you a new visitor? Register Here

advertisement

advertisement

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.