The information in this article applies to:
SUMMARYMicrosoft Systems Management Server 1.2 now provides the ability to install packages on computers running Windows NT Workstation in the background by means of the Package Command Manager (PCM) service. This functionality was included with Systems Management Server 1.2 Service Pack 2, and also as a separate update available on the Web (Pcmupdte.exe) at http://www.microsoft.com/smsmgmt/.A requirement for using Package Command Manager as a service is that the executable file it starts must be run "silently" with no user input. Microsoft Systems Management Server Installer can create executable files that allow for silent running through the "/s" command line switch. In addition, the RESTART script variable, when set to "S" in the Installer script, causes a restart of the system. Lastly, using these two options in conjunction with selecting the advanced Installation Properties check box for Suppress Reboot Message During Silent Installations provides a completely unattended installation of an Installer package and restarts the computer at the end of the installation. See the Installer online documentation for details on this functionality. While the Installer provides this method for installing a package silently and restarting, it fails to restart if:
MORE INFORMATION
If an application installation requires a restart and must be installed
when a user is not logged on, you must use some method other than the
Installer to restart the workstation. One possible solution is to use the
Ntencap.exe utility. The latest version of this utility (provided with the
Package Command Manager Web update or Systems Management Server 1.2 Service
Pack 2) has a command line switch that blocks a restart (if it is issued by
the executable it encapsulates), begins a timer countdown, then initiates
its own shutdown process.
Where "xx" is the time in seconds to wait before restarting the computer
and "myprog.exe" is the Installer executable file.
After the Run Command On Workstation job completes, the following message will be displayed on the workstation, regardless of whether a user is logged on: After the timer expires, the system will shut down and restart. IMPORTANT: Any unsaved work on the workstation will be lost when it restarts. Be sure to use the /NTz:xx option to provide an adequate amount of time for users to save their work. A value of 300 would provide users with five minutes to save all their work. This solution should not be implemented in situations where users may leave their workstations unattended (that is, not logged off) with unsaved work. Other AlternativesAlternative methods in this situation would be:
Additional query words: prodsms sms
Keywords : kbusage smsinst |
Last Reviewed: September 1, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |