Windows IT Pro is the leading independent community for IT professionals deploying Microsoft Windows server and client applications and technologies.
  
  
  Advanced Search 


September 03, 2002

Troubleshooting Service Pack Upgrades


RSS
Subscribe to Windows IT Pro | See More Windows NT 4.0 Service Pack 2 (SP2) Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

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.”

End of Article



Reader Comments
I experienced another problem with SP3. Once installed, windows update would allow the list of updates to displayed, but when 'review and download' was clicked responded with hex code 0x800A138F 'unable to display this page'. A trawl of the microsoft.public.windowsupdate news group found that this problem is caused by an incorrect update to uictl.dll and iuengine.dll. A fix is available (download http://v4.windowsupdate.microsoft.com/cab/x86/unicode/iuctl.cab) but is not mentioned on the knowledgebase yet. The SP3 dll version is 5.4.3628.1 and the (correct) version is 5.4.360.11.

Roll on SP3a!

Richard Adams

Richard Adams September 04, 2002


More problems for your information... My web-based, database driven contacts database
is really slow to perform the first search on loading IE (e.g. new asp session) but once the
first search has completed subsequent ones are much faster, e.g. normal speed.

I have tried it off the test webserver, also running sp3 and it seems the same. The DBMS (PG
7.21) is running on RedHat 7.2 and responding nigh-on instantly to queries.

This issue has only raised it's head since the install of SP3.

I have also had issues with Wingate 4.52 on an sp3 box, reinstalled box + sp2 and it seems ok.

Gavin Evans September 07, 2002


When upgrading with sp3 on a W2k Adv. server, I experienced that that the msgina.dll was corrupted and hence it was not possible to login on the server. All servicese worked ok, but still. An expand of the msgina.dll from the W2k CD did not solve the case. There were no keys in registry indicating ginaDLL on winlogon. I had to reinstall all systemfiles to get reed of this error.

Atle Opstvedt September 07, 2002


I experienced another problem with SP3. On one server, UPDATE.EXE kept crashing with the generic "update.exe has generated an error and will be closed" message. The service pack log and system event logs didn't show anything wrong. Neither shutting down everything on the system nor installing in safe mode worked. It turned out that I had corrupt files (I thought Windows File Protection was supposed to take care of that!), so all I had to do was run the System File Checker (SFC /SCANNOW), and then the update worked like a charm.

Joshua Heslinga September 07, 2002


I have had some problems with my Brother DCP1200 printer/scanner/copier, even with the new driver given by Brother for W2K. After everything was peachy, I installed service pack 3. My printer stopped working. I uninstalled it, to be sure that this is the case, and printer started working again. I installed one more time SP3 with the same results...

Nicholas Adams September 07, 2002


After updating to SP3 on Windows 2000 Advanced Server, we experienced a problem with ZoneAlarm and IIS. We received Error 7022 in the event log.

See this article for details and correct workaround:
http://www.iisfaq.com/default.asp?View=A335&Print=1

RLS September 07, 2002


I don't know for sure whether the problem I experienced is with SP3 or the latest security patch for IE6, because I installed both at the same time. I lost the ability to run Terminal Services in IE 6 over a VPN. When attempting to connect, I get a page error. It reports that an object method does not exist.

Chip Burkitt September 07, 2002


SP3 installs the Automatic Update feature/service that sends information to MS. In our environment this is not allowed. Does anyone know how to edit the service pack to prevent this portion of the installation or how to completely remove all associated files and disable this function?

Wayne Oliver September 09, 2002


I've installed SP3 on my machine that is rather old, in today's terms, but quite usefull and stable. I've used it with NT4 with SP3-SP6 and now with W2KPRO with all service packs, and never had any problems during upgrade, until now, with SP3.
SP3 installs itself fine, but on the next restart goes to BSOD with a complaint about NTOSKRNL.EXE, and of course, too small amount of any usefull info, except those darn hex codes.
So, after a few hours of fiddling with it, I figured out that my machine works fine if I put NTOSKRNL.EXE from SP2 instead the one in SP3 (which is smaller than one in SP2-?).
Now, what can be the problem, I can't tell, because I'm not a W2K guru, but as the mas said:"Roll the SP3a out!"

Andrea Prunic September 11, 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.

MR September 12, 2002


 See More Comments  1   2 

You must be a registered user or online subscriber to comment on this article. Please log on before posting a comment. Are you a new visitor? Register now




Top Viewed ArticlesView all articles
Battery Life Issues Almost Certainly Not Windows 7's Fault

While Microsoft is still investigating a notebook battery life issue that was supposedly caused by Windows 7, some interesting trends have emerged. ...

Confirmed: Battery Life Issues Not Windows 7's Fault

Microsoft on Monday issued a lengthy statement about the recent Windows 7 battery controversy, echoing my assessment from earlier in the day, but backing it up with hard, cold evidence. ...

Getting your iPhone to Sync with Exchange 2003

Follow these steps to use an iPhone with Exchange. ...


Windows OSs Whitepapers Protecting Microsoft SharePoint

Related Events How to Achieve Flexible Desktop Lockdown

Deep Dive into Windows Server 2008 R2 presented by John Savill

Managing IT Across Multiple Locations

Check out our list of Free Email Newsletters!

Windows OSs eBooks Understanding and Leveraging Code Signing Technologies

A Guide to Windows Certification and Public Keys

SQL Server Administration for Oracle DBAs

Related Windows OSs Resources Introducing Left-Brain.com, the online IT bookstore
Looking for books, CDs, toolkits, eBooks? Prime your mind at Left-Brain.com

Discover Windows IT Pro eLearning Series!
Clear & detailed technical information and helpful how-to's, all in our trademark no-nonsense format


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro DevProConnections IT Job Hound
Left-Brain.com Technology Resource Directory asp.netPRO ITTV Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 © 2010 Penton Media, Inc. Terms of Use | Privacy Statement