Microsoft KB Archive/297522

From BetaArchive Wiki
Knowledge Base


SMS: Unpredictable Behavior of "Only When No User Logged On" Advertisements

Article ID: 297522

Article Last Modified on 10/25/2006



APPLIES TO

  • Microsoft Systems Management Server 2.0 Standard Edition



This article was previously published under Q297522

SYMPTOMS

Advertisements for packages that specify that programs can run "only when no user is logged on" may run at unpredictable times on Systems Management Server (SMS) client computers. The programs can run when a user is logging on or when the computer is shutting down:

  • When logging on:


After an advertisement for a "only when no user is logged on" program can be run, no subsequent checks are made to determine whether a user is still logged off. Consequently, if multiple advertisements for "logged off" programs are made available to a client and the first of these advertisements runs correctly while in a "logged off" state, each of the subsequent advertisements are incorrectly run if a user logs back on when the first program is running.

  • When shutting down:


Advertisements for "logged off" programs may also be inadvertently run while a client is in the process of shutting down. Advertised Programs Manager (APM) checks to see if the Launch32.exe process is running to verify whether a user is logged off. If Launch32.exe process is not running (as a result of being stopped during shutdown), one of the prerequisites to start a "logged off" program advertisement is met.

Under most circumstances the client shutdown procedure proceeds and is finished before an advertisement starts. However, if other processes and programs stop responding (hang), the advertisement may start before the client shuts down.

RESOLUTION

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

288239 SMS: How to Obtain the Latest Systems Management Server 2.0 Service Pack





STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Systems Management Server 2.0 Service Pack 4.

Keywords: kbhotfixserver kbqfe kbbug kbfix kbsms200presp4fix KB297522