ConfigMgr 2007: SP1 install fails resulting in an unexpected restart and post-upgrade SMS Executive service crashes
We're seeing a new issue that seems to be biting a couple people here recently so here's a heads up on avoiding the problem. Jeff Gilbert originally wrote most of this up on his blog so credit should go to him. You can see his original post here.
========
Issue: The upgrade to ConfigMgr 2007 Service Pack 1 may fail and result in an unexpected restart and post-upgrade SMS Executive service crashes. For example, SMSEXEC may crash with the following in the crash.log:
Exception = (EXCEPTION_ACCESS_VIOLATION)
Description = "The thread tried tc0000005 o read from the virtual address 00000080 for which it does not have the appropriate access."
The HMAN.LOG file may also contain the following:
Processing site control file: Site NAM File I:\SMS\inboxes\hman.box\RD7O7OF1.CT2
SMS_HIERARCHY_MANAGER 7/3/2008 5:44:54 PM 6096 (0x17D0)
Cause: Because Configuration Manager 2007 SP1 sites require Windows AIK version 1.1 to be installed on the SMS Provider computer, the Windows AIK must be upgraded to version 1.1 from version 1.0 during primary site upgrades to Configuration Manager 2007 SP1. If a PXE service point has been installed for the site to be upgraded, the result may be that the Windows Deployment Services (WDS) Server service locks the wimgapi.dll file in use causing the installation to fail part way through the process.
Note that if a PXE service point site system has not been installed for the site to be upgraded, SCCM 2007 SP1 Setup will automatically upgrade the Windows AIK 1.0 installation on the SMS Provider computer to version 1.1 during the upgrade process.
Resolution: Before beginning the upgrade process to SCCM2007 SP1, the Windows AIK 1.0 should be uninstalled from the SMS Provider computer for the site to allow SP1 Setup to install Windows AIK 1.1 to support SP1 OSD WIM images.
========
How to Upgrade the Windows Automated Installation Kit During Site Upgrades to Configuration Manager 2007 SP1
If a PXE service point site system is installed on a computer other than the SMS Provider computer for a site, the wimgapi.dll file used by the PXE service point components is not updated to the newest version. Because the updated wimgapi.dll file version is required for Configuration Manager 2007 SP1 PXE service points, operating system deployments using the remote PXE service point will fail until the file is replaced with the new version. The following procedures can be used to upgrade the Windows AIK during site upgrades to Configuration Manager 2007 SP1 when a PXE service point site system has been installed for the site.
To Upgrade Windows AIK When a PXE Service Point Site System Role is Installed on the SMS Provider Computer for a Site
1. On the computer hosting both the PXE service point and SMS Provider site system roles for the site to be upgraded, manually uninstall Windows AIK 1.0 from Add or Remove programs and restart the operating system to complete the uninstallation.
2. Stop the Windows Deployment Services (WDS) Server service. At a command prompt, enter the following command to stop the service:
net stop WDSServer
Next run the Configuration Manager 2007 SP1 Setup to upgrade the site and allow Windows AIK 1.1 to be installed.
3. After the site has been successfully upgraded, restart the Windows Deployment Services (WDS) Server service. At a command prompt, enter the following command to start the service:
net start WDSServer.
To Upgrade Windows AIK Files on Remote PXE Service Point Site Systems After Configuration Manager 2007 Service Pack 1 Installation
1. On the computer hosting the PXE service point site system role, stop the Windows Deployment Services (WDS) Server service. At a command prompt, enter the following command to stop the service:
net stop WDSServer
2. On the PXE service point computer, navigate to the \sms\wim directory and run the wimgapi.msi file to install the new version of wimgapi.dll.
Note: A new version of this file is distributed to the site system as part of the Configuration Manager 2007 SP1 upgrade process.
3. After the successfully upgrading wimgapi.dll to the correct version, restart the Windows Deployment Services (WDS) Server service. At a command prompt, enter the following command to start the service:
net start WDSServer
Already tried to upgrade to Configuration Manager 2007 SP1 without following the above procedures? You might have encountered some unexpected restarts and had some SMS Exec service crashes. Here’s how to fix them:
1. Manually uninstall the failed Windows AIK 1.1 installation from Add or Remove programs and restart the computer.
2. Stop the Windows Deployment Services (WDS) Server service. At a command prompt, enter the following command to stop the service:
net stop WDSServer
3. Determine if the SMS Executive service is failing by reviewing the contents of the .\<Configuration Manager Installation Directory> \Logs directory for the presence of a CrashDumps folder. If this folder exists, check for sub-folders created after the unexpected restart.
4. If subfolders were created in the CrashDumps directory after the unexpected system restart, navigate to the .\ <Configuration Manager Installation Folder> \inboxes\hman.box directory and delete any files present with a .ct2 file extension.
5. Run Configuration Manager 2007 SP1 Setup to upgrade the site and allow Windows AIK 1.1 to be installed.
6. After the site has been successfully upgraded, restart the Windows Deployment Services (WDS) Server service on the SMS Provider computer. At a command prompt, enter the following command to start the service:
net start WDSServer
I hope this one doesn't get you but if it does this should get you back up and running again.
J.C. Hornbeck | Manageability Knowledge Engineer
Comments
Anonymous
January 01, 2003
Un bug a été recensé lors de la mise à jour d'un serveur SCCM 2007 RTM vers SCCM 2007 SP1. Ce bugAnonymous
January 01, 2003
thank you