Microsoft KB Archive/841381

= Software inventory component performs a full delta software inventory on a SMS 2003 client computer after a daylight-saving time change occurs =

Article ID: 841381

Article Last Modified on 7/24/2007

-

APPLIES TO


 * Microsoft Systems Management Server 2003

-





SYMPTOMS
On Microsoft Systems Management Server 2003 Legacy Client and Advanced Client computers, the software inventory component may generate a full delta software inventory after a one-hour daylight-saving time change.

Additionally, if you change the time zone settings on a SMS 2003 client computer, the software inventory component may perform a full delta software inventory during the next inventory cycle. This behavior may cause software inventory backlogs in large SMS 2003 hierarchies.



CAUSE
This problem occurs because the software inventory component sees the files that it has previously inventoried as new files on the system.

This problem does not actually cause an inventory resynchronization, where the SMS server requests that the client submit a full inventory. Instead, the software inventory component thinks that every file that it has inventoried previously has been changed. Therefore, the software inventory component performs a full delta software inventory on the SMS client computer.

The hotfix that is described in this article stops the full delta software inventory only when the time change is exactly one hour. For time zone changes that are more than one hour, a full delta inventory will still be generated the next time software inventory is performed.

For example, if a client changes from Central Standard Time (US & Canada) to Pacific Standard Time (US & Canada); Tijuana on the Time Zone tab in the Date and Time Properties dialog box, the two-hour time difference forces the software inventory component to regard every file as changed. Therefore, a full delta inventory is generated.



Download information
The following file is available for download from the Microsoft Download Center:

Download the 841381 package now.

Service pack information
To resolve this problem, obtain the latest service pack for Systems Management Server 2003. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

885643 How to obtain the latest SMS service pack

Hotfix information
A supported hotfix is now available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next service pack that contains this hotfix.

To resolve this problem, submit a request to Microsoft Online Customer Services to obtain the hotfix. To submit an online request to obtain the hotfix, visit the following Microsoft Web site:

http://go.microsoft.com/?linkid=6294451

Note If additional issues occur or any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. To create a separate service request, visit the following Microsoft Web site:

http://support.microsoft.com/contactus/?ws=support

Prerequisites
No prerequisites are required.

Restart requirement
You do not have to restart your computer after you apply this hotfix.

Hotfix replacement information
This hotfix does not replace any other hotfixes.

File information
The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel. Date        Time   Version            Size    File name -- 25-Dec-2003 11:10  2.50.2726.150      54,272  Historystore.dll 25-Dec-2003 11:10  2.50.2726.150     307,057  Insinv32.exe 25-Dec-2003 11:10  2.50.2726.150     147,456  Sinv32.exe 25-Dec-2003 11:10                    289,792  Sms2003ac-kb841381-x86.msp



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section. This problem was first corrected in SMS 2003 Service Pack 1.



Installation instructions
This hotfix updates both the SMS 2003 Legacy Client and Advanced Client computers. The SMS 2003 Legacy Client computers will automatically be updated after the hotfix is applied to the site server to which the client is assigned. The SMS 2003 Legacy Client computers are updated during the SMS 2003 Legacy Client configuration cycle.

The SMS 2003 Advanced Client computers also must be updated with this hotfix. If this hotfix is manually installed on a client computer, you may receive the following error message:

This hotfix does not apply to this Systems Management role.

Also, the KB841381.log file may contain the following information:

Update.exe extended error code = 0xf0e5 Update.exe return code was masked to 0x643 for MSI custom action compliance.

Because of new architecture in SMS 2003, you must create a new package and a new program to advertise this hotfix to the Advanced Client computers.

We recommend that you let the software installation wizard do this automatically. You only have to create the package, the program, the collection, and the advertisement on the site at the top of the hierarchy. (This site is the Central Site). You must install this hotfix on both primary sites and secondary sites.

To install this hotfix, follow these steps:  Download the hotfix file, and then run the self-extracting executable file to create the SMS2003-RTM-KB841381-X86-ENU.exe file. Copy the SMS2003-RTM-KB841381-X86-ENU.exe file to a folder on your SMS primary site server. On the SMS primary site server, click Start, point to All Programs, point to Systems Management Server, and then click SMS Administrator Console. Double-click Site Database. Right-click Collections, point to New, and then click Collection.</li> In the Collection Properties dialog box, type Advanced Clients for 841381 in the Name box.</li> Click the Membership Rules tab, and then click the yellow button to open Query Rule Properties.</li> Type a name for the query, and then click Edit Query Statement.</li> On the General tab, click Show Query Language.</li>  Paste or type the following query in the Query statement section: select * from SMS_R_System inner join SMS_G_System_SMS_ADVANCED_CLIENT_STATE on

SMS_G_System_SMS_ADVANCED_CLIENT_STATE.ResourceID = SMS_R_System.ResourceId where

SMS_R_System.ClientType = 1 and SMS_G_System_SMS_ADVANCED_CLIENT_STATE.Name =

&quot;SMSInventory&quot; and (SMS_G_System_SMS_ADVANCED_CLIENT_STATE.Version < &quot;2.50.2726.0150&quot; or

SMS_G_System_SMS_ADVANCED_CLIENT_STATE.Version in

( &quot;2.50.2726.4&quot;, &quot;2.50.2726.5&quot;, &quot;2.50.2726.18&quot;, &quot;2.50.2726.1&quot;, &quot;2.50.2726.16&quot; ))

Note To use this query, you must have at least one Advanced Client computer in your inventory to create the database classes. This query identifies Advanced Client computers that do not have this hotfix installed. Additionally, the query identifies management points that have the Advanced Client installed. </li> Click OK three times.</li> On the SMS site server computer, double-click the SMS2003-RTM-KB841381-X86-ENU.exe file to start the installation wizard.</li> Follow the steps in the installation wizard. After the installation files are copied, click Yes, I want to create a package and program now, and then click Next.</li> Click Next to accept the default package name and the default program name.</li> Click Next to accept the default package source location.</li> Click Next on the details page, and then click Finish.</li> In the SMS Administrator Console, double-click Packages.</li> Right-click the KB841381 - Advanced Client Hotfix package, point to All Tasks, and then click Distribute Software.</li> On the Welcome to the Distribute Software Wizard page, click Next.</li> Click the check box next to the distribution points that you want to use, and then click Next three times.</li> <li>On the Advertisement Target page, click Advertise this program to an existing collection, and then click Browse.</li> <li>On the Browse Collection page, click Advanced Clients for 841381, and then click OK.</li> <li>Click Next two times.</li> <li>On the Advertise to Subcollections page, click Advertise the program only to members of the specified collection, and then click Next.</li> <li>Complete the Software Distribution Wizard.</li> <li>To update other SMS 2003 Legacy Client computers in the hierarchy, you must install the hotfix on the remaining primary and secondary site servers in your hierarchy.</li></ol>

To perform a silent installation of this hotfix, follow these steps:
 * 1) Click Start, click Run, type cmd, and then click OK.
 * 2) At the command prompt, switch to the folder that contains the SMS2003-RTM-KB841381-X86-ENU.exe file.
 * 3) At the command prompt, type SMS2003-RTM-KB841381-X86-ENU.exe /s, and then press ENTER.

How to remove this hotfix
You can remove this hotfix if all the following conditions are true: <ul> <li>The computer has Windows Installer version 3.0 or later versions installed.</li> <li>The computer has the SMS Advanced Client software update installed (KB 885266).

For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

885266 A registry entry remains on a Systems Management Server 2003 Advanced Client after you remove a software update that was built by using the Windows Installer version 3.0 SDK

</li></ul>

To remove the hotfix, follow these steps on each SMS Advanced Client computer that has the hotfix applied: <ol> <li>Click Start, click Run, type cmd, and then click OK.</li> <li>At the command prompt, type the following:

msiexec /package  /uninstall  /REINSTALL=All /REINSTALLMODE=maus

Note is the GUID of the SMS Advanced Client software that is installed on the client. is the GUID for this specific SMS Advanced Client update. The  for this update is {4E1EFE25-D3DA-46EA-8634-B0CCA4A7C984}.</li></ol>

To verify the product code for the version of the SMS Advanced Client that you have installed, follow these steps: <ol> <li> Copy the following text into Notepad:

On Error Resume Next Dim installer : Set installer = Nothing Set installer = Wscript.CreateObject(&quot;WindowsInstaller.Installer&quot;) : CheckError Dim productName:productName = &quot;SMS Advanced Client&quot; Dim productCode, property, value, message For Each productCode In installer.Products : CheckError If LCase(installer.ProductInfo(productCode, &quot;ProductName&quot;)) = LCase(productName)

Then Exit For Next If IsEmpty(productCode) Then Wscript.Echo &quot;Product is not registered: &quot; & productName : Wscript.Quit 2 WScript.Echo &quot;ProductCode = &quot; & productCode </li> <li>In Notepad, click File, click Save As, and then in the Save As dialog box, type GetACProdCode.vbs next to File name.</li> <li>At the command prompt of the SMS Advanced Client client computer, type the following:

Cscript GetACProdCode.vbs

</li></ol>

Note You can also incorporate the /quiet or /passive Windows Installer command-line options for use in automated deployments, such as SMS software distribution or SMS logon scripts.

For more information about the available standard Windows Installer command-line options, visit the following Microsoft Web site:

http://msdn2.microsoft.com/en-us/library/aa372024.aspx

For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates

<div class="references_section">