"Program Restarts Computer" Program Option Does Not Prevent the Next Program from Running (821004)



The information in this article applies to:

  • Microsoft Systems Management Server 2.0

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.

RESOLUTION

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 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: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

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 "Applies to" section of this article.

Modification Type:MinorLast Reviewed:4/14/2006
Keywords:kbQFE kbHotfixServer kbSMSAppMan kbSMS200preSP6fix kbusage kbSoftwareDist kbfix kbBug KB821004 kbAudITPRO