Microsoft KB Archive/821004

= &quot;Program Restarts Computer&quot; Program Option Does Not Prevent the Next Program from Running =

Article ID: 821004

Article Last Modified on 7/24/2007

-

APPLIES TO


 * Microsoft Systems Management Server 2.0 Standard Edition

-





SYMPTOMS
An advertised program that depends on another program may run, even though the required program is configured to restart the Microsoft Systems Management Server (SMS) 2.0 client computer. For example:
 * 1) You advertise Program 1 and select the After Running value to Program restarts computer in the program properties of the package.
 * 2) You advertise Program 2 and configure the program properties to depend on the installation of Program 1.
 * 3) An SMS client user opens Control Panel, and then starts the Advertised Programs Manager.
 * 4) The SMS client user starts the installation of Program 2.

Program 2 depends on Program 1 and automatically starts Program 1. Program 1 runs, but does not restart the computer, and immediately Program 2 runs.



CAUSE
This problem occurs because the dependant program does not receive the correct wait status.



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 Information
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) 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 -  27-Aug-2003  22:20  2.0.4.1  254,143  Sms2.0-sp4-kb821004-x86-enu.exe After the fix is installed, the following files will have the listed attributes or later:   Date         Time   Version        Size       File name -  27-Aug-2003  22:20  2.0.92.9         392,254  Apasetup.exe 27-Aug-2003 22:20  2.0.1493.4163    182,096  Ccim32.dll 27-Aug-2003 22:20  2.0.92.9       1,324,796  Ccmcore.exe 27-Aug-2003 22:21  2.0.1493.4214  3,409,749  Clicore.exe 27-Aug-2003 22:21  2.0.1493.4214     88,944  Clisvcl.exe 27-Aug-2003 22:21                        67  Compverbase.ini 27-Aug-2003 22:21                        67  Compversmsapm32.ini 27-Aug-2003 22:21                        67  Compverswdist.ini 27-Aug-2003 22:21  2.0.1493.4149     34,656  Cqmgr32.dll 27-Aug-2003 22:21  2.0.1493.4213     55,152  Odpsys32.exe 27-Aug-2003 22:21  2.0.1493.4213     61,296  Odpusr32.exe 27-Aug-2003 22:21  2.0.1493.4154    830,224  Preinst.exe 27-Aug-2003 22:21  2.0.1493.4215    255,344  Smsapm32.exe 27-Aug-2003 22:21  2.0.92.9         641,606  Swdist32.exe



WORKAROUND
To work around this problem, select SMS restarts computer in the program properties. To do this, follow these steps:
 * 1) Click Start, point to Programs, point to Systems Management Server, and then click SMS Administrator Console.
 * 2) Expand Site Database, and then expand Packages.
 * 3) Right-click Packages, point to New, and then click Package.
 * 4) Add the required information about your package, and then click OK.
 * 5) Assign a Distribution Point.
 * 6) Right-click Programs, point to New, and then click Program.
 * 7) Add the required information about your program.
 * 8) On the General tab, in the After running drop-down list, click SMS restarts computer, and then click OK.
 * 9) Right-click Advertisements, point to New, and then click Advertisement.
 * 10) Add the required information for your advertisement, and then click OK.



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

Keywords: kbqfe kbhotfixserver kbsmsappman kbsms200presp6fix kbusage kbsoftwaredist kbfix kbbug KB821004

-

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

© Microsoft Corporation. All rights reserved.