Microsoft KB Archive/818642

= Advertisements that are configured with &quot;Only When No User Is Logged On&quot; still run on locked computers =

Article ID: 818642

Article Last Modified on 10/25/2006

-

APPLIES TO


 * Microsoft Systems Management Server 2.0 Standard Edition

-





SYMPTOMS
An advertisement with a program that uses the Only when no user is logged on program property may still run when the client computer is locked.



CAUSE
During the Advertised Program Manager (APM) update cycle, the interprocess communication (IPC) between APM and the SMSMon32 process is dropped and re-created. This behavior simulates a client logging off and causes APM to evaluate the list of advertisements that require a logged-off state. Before the SMSMon32 process reconnects to APM, it detects that no client is currently logged on. As a result, advertisements marked as Only when no user is logged on are incorrectly executed. By default, the APM update cycle occurs every 1380 minutes.



Hotfix Information
A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Only apply it to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next Systems Management Server (SMS) 2.0 service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:

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

Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

Prerequisites
You must install SMS Service Pack 4 to apply this fix.

Restart Requirement
You must restart the computer after you apply this hotfix.

Hotfix Replacement Information
This hotfix does not replace any other hotfixes.

SMS 2.0 Service Pack 4
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 -  30-Apr-2003  15:40  2.0.4.1  253,857  Sms2.0-kb818642-sp4-x86-enu.exe After the fix is installed, the following files will have the listed attributes or later:   Date         Time   Version        Size       File name            Platform ---  01-May-2002  12:55  2.0.92.9         639,211  Apasetup.exe         Alpha 01-May-2002 09:55  2.0.1493.4163    295,184  Ccim32.dll           Alpha 01-May-2002 11:55  2.0.92.9       1,926,769  Ccmcore.exe          Alpha 01-May-2002 11:55  2.0.1493.4187  4,453,326  Clicore.exe          Alpha 01-May-2002 04:05  2.0.1493.4105    125,712  Clisvcl.exe          Alpha 01-May-2002 12:55                        67  Compverbase.ini 01-May-2002 12:55                        67  Compversmsapm32.ini 01-May-2002 12:55                        67  Compverswdist.ini 01-May-2002 07:45  2.0.1493.4149     55,056  Cqmgr32.dll          Alpha 01-May-2002 08:30  2.0.1493.4146     75,536  Odpsys32.exe         Alpha 01-May-2002 08:30  2.0.1493.4146     83,216  Odpusr32.exe         Alpha 01-May-2002 12:55  2.0.1493.4198    333,072  Smsapm32.exe         Alpha 01-May-2002 11:55  2.0.92.9         694,789  Swdist32.exe         Alpha 01-May-2002 12:55  2.0.92.9         392,082  Apasetup.exe         x86 01-May-2002 09:55  2.0.1493.4163    182,096  Ccim32.dll           x86 01-May-2002 11:55  2.0.92.9       1,324,791  Ccmcore.exe          x86 01-May-2002 11:55  2.0.1493.4187  3,409,631  Clicore.exe          x86 01-May-2002 04:05  2.0.1493.4105     88,432  Clisvcl.exe          x86 01-May-2002 12:55                        67  Compverbase.ini 01-May-2002 12:55                        67  Compversmsapm32.ini 01-May-2002 12:55                        67  Compverswdist.ini 01-May-2002 07:45  2.0.1493.4149     34,656  Cqmgr32.dll          x86 01-May-2002 08:30  2.0.1493.4146     54,128  Odpsys32.exe         x86 01-May-2002 08:30  2.0.1493.4146     60,784  Odpusr32.exe         x86 01-May-2002 12:55  2.0.1493.4198    254,320  Smsapm32.exe         x86 01-May-2002 11:55  2.0.92.9         640,740  Swdist32.exe         x86

SMS 2.0 International Client Pack (ICP) 1 Service Pack 4
The English version of this hotfix has the file attributes (or later) 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 --  30-Apr-2003  15:40  2.0.4.1  253,858  Sms2.0-kb818642-sp4-x86-icp1.exe After the fix is installed, the following files will have the listed attributes or later:   Date         Time   Version        Size       File name            Platform ---  12-May-2002  12:55  2.0.92.9         638,700  Apasetup.exe         Alpha 01-May-2002 09:55  2.0.1493.4163    295,184  Ccim32.dll           Alpha 12-May-2002 11:55  2.0.92.9       1,926,258  Ccmcore.exe          Alpha 12-May-2002 11:55  2.0.1493.4387  5,856,247  Clicore.exe          Alpha 01-May-2002 04:05  2.0.1493.4105    125,712  Clisvcl.exe          Alpha 12-May-2002 12:55                        67  Compverbase.ini 12-May-2002 12:55                        67  Compversmsapm32.ini 12-May-2002 12:55                        67  Compverswdist.ini 01-May-2002 07:45  2.0.1493.4149     55,056  Cqmgr32.dll          Alpha 01-May-2002 08:30  2.0.1493.4146     75,536  Odpsys32.exe         Alpha 01-May-2002 08:30  2.0.1493.4146     83,216  Odpusr32.exe         Alpha 01-May-2002 12:55  2.0.1493.4198    333,072  Smsapm32.exe         Alpha 12-May-2002 11:55  2.0.92.9         893,767  Swdist32.exe         Alpha 12-May-2002 12:55  2.0.92.9         392,084  Apasetup.exe         x86 01-May-2002 09:55  2.0.1493.4163    182,096  Ccim32.dll           x86 12-May-2002 11:55  2.0.92.9       1,324,791  Ccmcore.exe          x86 12-May-2002 11:55  2.0.1493.4387  4,423,852  Clicore.exe          x86 01-May-2002 04:05  2.0.1493.4105     88,432  Clisvcl.exe          x86 12-May-2002 12:55                        67  Compverbase.ini 12-May-2002 12:55                        67  Compversmsapm32.ini 12-May-2002 12:55                        67  Compverswdist.ini 01-May-2002 07:45  2.0.1493.4149     34,656  Cqmgr32.dll          x86 01-May-2002 08:30  2.0.1493.4146     54,128  Odpsys32.exe         x86 01-May-2002 08:30  2.0.1493.4146     60,784  Odpusr32.exe         x86 01-May-2002 12:55  2.0.1493.4198    254,320  Smsapm32.exe         x86 12-May-2002 11:55  2.0.92.9         839,839  Swdist32.exe         x86

SMS 2.0 ICP 4 Service Pack 4
The English version of this hotfix has the file attributes (or later) 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 --  30-Apr-2003  15:40  2.0.4.1  253,858  Sms2.0-kb818642-sp4-x86-icp4.exe After the fix is installed, the following files will have the listed attributes or later:   Date         Time   Version        Size        File name            Platform 14-May-2002 12:55  2.0.92.9          638,696  Apasetup.exe         Alpha 01-May-2002 09:55  2.0.1493.4163     295,184  Ccim32.dll           Alpha 14-May-2002 11:55  2.0.92.9        1,926,257  Ccmcore.exe          Alpha 14-May-2002 11:55  2.0.1493.4587  11,795,653  Clicore.exe          Alpha 01-May-2002 04:05  2.0.1493.4105     125,712  Clisvcl.exe          Alpha 14-May-2002 12:55                         67  Compverbase.ini 14-May-2002 12:55                         67  Compversmsapm32.ini 14-May-2002 12:55                         67  Compverswdist.ini 01-May-2002 07:45  2.0.1493.4149      55,056  Cqmgr32.dll          Alpha 01-May-2002 08:30  2.0.1493.4146      75,536  Odpsys32.exe         Alpha 01-May-2002 08:30  2.0.1493.4146      83,216  Odpusr32.exe         Alpha 01-May-2002 12:55  2.0.1493.4198     333,072  Smsapm32.exe         Alpha 14-May-2002 11:55  2.0.92.9        1,715,871  Swdist32.exe         Alpha 14-May-2002 12:55  2.0.92.9          392,080  Apasetup.exe         x86 01-May-2002 09:55  2.0.1493.4163     182,096  Ccim32.dll           x86 14-May-2002 11:55  2.0.92.9        1,324,791  Ccmcore.exe          x86 14-May-2002 11:55  2.0.1493.4587   8,709,082  Clicore.exe          x86 01-May-2002 04:05  2.0.1493.4105      88,432  Clisvcl.exe          x86 14-May-2002 12:55                         67  Compverbase.ini 14-May-2002 12:55                         67  Compversmsapm32.ini 14-May-2002 12:55                         67  Compverswdist.ini 01-May-2002 07:45  2.0.1493.4149      34,656  Cqmgr32.dll          x86 01-May-2002 08:30  2.0.1493.4146      54,128  Odpsys32.exe         x86 01-May-2002 08:30  2.0.1493.4146      60,784  Odpusr32.exe         x86 01-May-2002 12:55  2.0.1493.4198     254,320  Smsapm32.exe         x86 14-May-2002 11:55  2.0.92.9        1,660,273  Swdist32.exe         x86

SMS 2.0 ICP 5 Service Pack 5
The English version of this hotfix has the file attributes (or later) 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 --  30-Apr-2003  15:40  2.0.4.1  253,856  Sms2.0-kb818642-sp4-x86-icp5.exe After the fix is installed, the following files will have the listed attributes or later:   Date         Time   Version        Size        File name            Platform 16-May-2002 12:55  2.0.92.9          638,703  Apasetup.exe         Alpha 01-May-2002 09:55  2.0.1493.4163     295,184  Ccim32.dll           Alpha 16-May-2002 11:55  2.0.92.9        1,926,257  Ccmcore.exe          Alpha 16-May-2002 11:55  2.0.1493.4787  12,496,901  Clicore.exe          Alpha 01-May-2002 04:05  2.0.1493.4105     125,712  Clisvcl.exe          Alpha 16-May-2002 12:55                         67  Compverbase.ini 16-May-2002 12:55                         67  Compversmsapm32.ini 16-May-2002 12:55                         67  Compverswdist.ini 01-May-2002 07:45  2.0.1493.4149      55,056  Cqmgr32.dll          Alpha 01-May-2002 08:30  2.0.1493.4146      75,536  Odpsys32.exe         Alpha 01-May-2002 08:30  2.0.1493.4146      83,216  Odpusr32.exe         Alpha 01-May-2002 12:55  2.0.1493.4198     333,072  Smsapm32.exe         Alpha 16-May-2002 11:55  2.0.92.9        1,816,632  Swdist32.exe         Alpha 16-May-2002 12:55  2.0.92.9          392,074  Apasetup.exe         x86 01-May-2002 09:55  2.0.1493.4163     182,096  Ccim32.dll           x86 16-May-2002 11:55  2.0.92.9        1,324,792  Ccmcore.exe          x86 16-May-2002 11:55  2.0.1493.4787   9,215,610  Clicore.exe          x86 01-May-2002 04:05  2.0.1493.4105      88,432  Clisvcl.exe          x86 16-May-2002 12:55                         67  Compverbase.ini 16-May-2002 12:55                         67  Compversmsapm32.ini 16-May-2002 12:55                         67  Compverswdist.ini 01-May-2002 07:45  2.0.1493.4149      34,656  Cqmgr32.dll          x86 01-May-2002 08:30  2.0.1493.4146      54,128  Odpsys32.exe         x86 01-May-2002 08:30  2.0.1493.4146      60,784  Odpusr32.exe         x86 01-May-2002 12:55  2.0.1493.4198     254,320  Smsapm32.exe         x86 16-May-2002 11:55  2.0.92.9        1,760,825  Swdist32.exe         x86

SMS 2.0 Service Pack 5
The English version of this hotfix has the file attributes (or later) 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 -  22-May-2003  21:50  2.0.4.1  253,210  Sms2.0-kb818642-sp5-x86-enu.exe After the fix is installed, the following files will have the listed attributes or later:   Date         Time   Version        Size       File name            Platform ---  25-Feb-2003  15:40  2.0.92.10        649,572  Apasetup.exe         Alpha 25-Feb-2003 14:40  2.0.92.10      1,996,792  Ccmcore.exe          Alpha 25-Feb-2003 14:40  2.0.1493.5116  4,600,153  Clicore.exe          Alpha 25-Feb-2003 15:40                        67  Compverbase.ini 25-Feb-2003 15:40                        67  Compversmsapm32.ini 25-Feb-2003 15:40  2.0.1493.5128    336,656  Smsapm32.exe         Alpha 25-Feb-2003 15:40  2.0.92.10        383,113  Apasetup.exe         x86 25-Feb-2003 14:40  2.0.92.10      1,376,576  Ccmcore.exe          x86 25-Feb-2003 14:40  2.0.1493.5116  3,495,758  Clicore.exe          x86 25-Feb-2003 15:40                        67  Compverbase.ini 25-Feb-2003 15:40                        67  Compversmsapm32.ini 25-Feb-2003 15:40  2.0.1493.5128    256,368  Smsapm32.exe         x86

The German version of this hotfix has the file attributes (or later) 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 -- 22-May-2003 13:50  2.0.4.1         253,212   Sms2.0-kb818642-sp5-x86-deu.exe After the fix is installed, the following files will have the listed attributes or later: Date         Time  Version            Size   File name        Platform 26-Feb-2003 07:40  2.0.92.9        649,598   Apasetup.exe        Alpha 26-Feb-2003 06:40  2.0.92.9      1,996,524   Ccmcore.exe         Alpha 26-Feb-2003 06:40  2.0.1493.5116 4,965,362   Clicore.exe         Alpha 25-Feb-2003 07:40                       67   Compverbase.ini 25-Feb-2003 07:40                       67   Compversmsapm32.ini 25-Feb-2003 07:40  2.0.1493.5128   336,656   Smsapm32.exe        Alpha 26-Feb-2003 07:40  2.0.92.9      1,376,841   Ccmcore.exe           x86 26-Feb-2003 06:40  2.0.1493.5116 3,764,008   Clicore.exe           x86 25-Feb-2003 07:40                       67   Compverbase.ini 25-Feb-2003 07:40                       67   Compversmsapm32.ini 23-Feb-2003 02:05  2.0.1493.5011   855,312   Preinst.exe           x86 25-Feb-2003 07:40  2.0.1493.5128   256,368   Smsapm32.exe          x86

SMS 2.0 ICP 1 Service Pack 5
The English version of this hotfix has the file attributes (or later) 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. <pre class="fixed_text">  Date         Time   Version  Size     File name --  22-May-2003  21:51  2.0.4.1  253,211  Sms2.0-kb818642-sp5-x86-icp1.exe After the fix is installed, the following files will have the listed attributes or later: <pre class="fixed_text">  Date         Time   Version        Size       File name            Platform ---  26-Feb-2003  15:40  2.0.92.9         649,073  Apasetup.exe         Alpha 26-Feb-2003 14:40  2.0.92.9       1,996,286  Ccmcore.exe          Alpha 26-Feb-2003 14:40  2.0.1493.5316  6,013,090  Clicore.exe          Alpha 26-Feb-2003 15:40                        67  Compverbase.ini 26-Feb-2003 15:40                        67  Compversmsapm32.ini 25-Feb-2003 15:40  2.0.1493.5128    336,656  Smsapm32.exe         Alpha 26-Feb-2003 15:40  2.0.92.9         383,099  Apasetup.exe         x86 26-Feb-2003 14:40  2.0.92.9       1,376,572  Ccmcore.exe          x86 26-Feb-2003 14:40  2.0.1493.5316  4,514,737  Clicore.exe          x86 26-Feb-2003 15:40                        67  Compverbase.ini 26-Feb-2003 15:40                        67  Compversmsapm32.ini 25-Feb-2003 15:40  2.0.1493.5128    256,368  Smsapm32.exe         x86

SMS 2.0 ICP 4 Service Pack 5
The English version of this hotfix has the file attributes (or later) 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. <pre class="fixed_text">  Date         Time   Version  Size     File name --  22-May-2003  21:51  2.0.4.1  253,211  Sms2.0-kb818642-sp5-x86-icp4.exe After the fix is installed, the following files will have the listed attributes or later: <pre class="fixed_text">  Date         Time   Version        Size        File name            Platform 27-Feb-2003 15:40  2.0.92.9          649,075  Apasetup.exe         Alpha 27-Feb-2003 14:40  2.0.92.9        1,996,284  Ccmcore.exe          Alpha 27-Feb-2003 14:40  2.0.1493.5516  11,995,047  Clicore.exe          Alpha 27-Feb-2003 15:40                         67  Compverbase.ini 27-Feb-2003 15:40                         67  Compversmsapm32.ini 25-Feb-2003 15:40  2.0.1493.5128     336,656  Smsapm32.exe         Alpha 27-Feb-2003 15:40  2.0.92.9          383,100  Apasetup.exe         x86 27-Feb-2003 14:40  2.0.92.9        1,376,572  Ccmcore.exe          x86 27-Feb-2003 14:40  2.0.1493.5516   8,820,455  Clicore.exe          x86 27-Feb-2003 15:40                         67  Compverbase.ini 27-Feb-2003 15:40                         67  Compversmsapm32.ini 25-Feb-2003 15:40  2.0.1493.5128     256,368  Smsapm32.exe         x86

SMS 2.0 ICP 5 Service Pack 5
The English version of this hotfix has the file attributes (or later) 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. <pre class="fixed_text">  Date         Time   Version  Size     File name --  22-May-2003  21:51  2.0.4.1  253,211  Sms2.0-kb818642-sp5-x86-icp5.exe After the fix is installed, the following files will have the listed attributes or later: <pre class="fixed_text">  Date         Time   Version       Size         File name            Platform 28-Feb-2003 15:40  2.0.92.9          649,073  Apasetup.exe         Alpha 28-Feb-2003 14:40  2.0.92.9        1,996,284  Ccmcore.exe          Alpha 28-Feb-2003 14:40  2.0.1493.5716  12,701,323  Clicore.exe          Alpha 28-Feb-2003 15:40                         67  Compverbase.ini 28-Feb-2003 15:40                         67  Compversmsapm32.ini 25-Feb-2003 15:40  2.0.1493.5128     336,656  Smsapm32.exe         Alpha 28-Feb-2003 15:40  2.0.92.9          383,104  Apasetup.exe         x86 28-Feb-2003 14:40  2.0.92.9        1,376,572  Ccmcore.exe          x86 28-Feb-2003 14:40  2.0.1493.5716   9,329,478  Clicore.exe          x86 28-Feb-2003 15:40                         67  Compverbase.ini 28-Feb-2003 15:40                         67  Compversmsapm32.ini 25-Feb-2003 15:40  2.0.1493.5128     256,368  Smsapm32.exe         x86

Using the Hotfix Installer
Note This method is only for Intel-based computers.
 * 1) Create a folder in a location that is network accessible to your SMS site servers.
 * 2) Copy the Sms2.0-kb818642-sp -x86- exe update file (where   is your installed service pack version and   is the language derivative, for example &quot;enu&quot;) and platform folders to the new folder. The folder structure must be such that the update file is located one folder above the platform folders.
 * 3) From each of the primary and secondary SMS site servers in your environment, log on to your site server using an account with administrative credentials.
 * 4) Quit the SMS Administrator console if it is running.
 * 5) Run Sms2.0-kb81895-sp -x86- .exe, (where   is your installed service pack version and   is the language derivative, for example &quot;enu&quot;), and then follow the instructions in the wizard.

Manual Installation

 * 1) Create a folder in a location where your SMS site servers have access.
 * 2) Copy the platform folders that contain the hotfix files to the folder you just created.
 * 3) From each of the primary and secondary SMS site servers in your environment, log on to your site server using an account with administrative credentials.
 * 4) Quit the SMS Administrator console if it is running.
 * 5) Stop all SMS services.
 * 6) Replace the following files in the  \Bin\  folder with the versions from the hotfix, where   is the folder where SMS is installed and   is your computer architecture:
 * 7) * Ccim32.dll (only if you have SMS SP4 installed)
 * 8) * Cqmgr32.dll (only if you have SMS SP4 installed)
 * 9) * Clisvcl.exe (only if you have SMS SP4 installed)
 * 10) * Cqmgr32.dll (only if you have SMS SP4 installed)
 * 11) * Odpsys32.exe (only if you have SMS SP4 installed)
 * 12) * Odpusr32.exe (only if you have SMS SP4 installed)
 * 13) * Smsapm32.exe
 * 14) If you have SMS SP4 installed, replace the Swdist32.exe file in the  \Inboxes\Clicomp.src\SWDist\  folder with the version from the hotfix, where   is the folder where SMS is installed and   is your computer architecture.
 * 15) Replace the Apasetup.exe file in the  \Inboxes\Clicomp.src\Smsapm32\  folder with the version from the hotfix, where   is the folder where SMS is installed and   is your computer architecture.
 * 16) Replace the files Ccmcore.exe and Clicore.exe in the  \Inboxes\Clicomp.src\Base\  folder with the versions from the hotfix, where   is the folder where SMS is installed and   is your computer architecture.
 * 17) If you have SMS SP4 installed, replace the Compver.ini file in the  \Inboxes\Clicomp.src\SWDist folder with the Compverswdist.ini file from the hotfix, where   is the folder where SMS is installed. You must rename the Compverswdist.ini file to Compver.ini.
 * 18) Replace the Compver.ini file in the  \Inboxes\Clicomp.src\Smsapm32 folder with the Compversmsapm32.ini file from the hotfix, where   is the folder where SMS is installed. Rename the Compversmsapm32.ini file to Compver.ini.
 * 19) Replace the Compver.ini file in the  \Inboxes\Clicomp.src\Base folder with the Compverbase.ini file from the hotfix, where   is the folder where SMS is installed. Rename the Compverbase.ini file to Compver.ini.
 * 20) Restart the SMS Services.

<div class="status_section">

STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.

Keywords: kbqfe kbhotfixserver kbclient kbfix kbsoftwaredist kbsms200presp6fix kbprb KB818642

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.