Description |
Closes Windows and shuts down the computer. On Windows NT/2000/XP any computer on the network may be specified. Windows 95/98/ME supports shutting down the current machine only. Example 1: Administrators could create and deploy a Workflow with this action to force system shutdown at a certain time at night. Example 2: A Workflow could be built very easily that would shut down the system quickly with just the press of a hot-key combination. |
Declaration |
<AMSHUTDOWN FORCE="yes/no" DELAY="number" MESSAGE="text" COMPUTER="text"> |
Example |
<AMSHUTDOWN> <AMSHUTDOWN FORCE="YES" DELAY=5 MESSAGE="Asta la vista, baby!" COMPUTER="MACHINE9"> |
General Tab Parameters |
Specify to Shut down local machine or Shut down a remote computer. Computer to shut down: Specifies the machine to shut down. This can be any valid machine name on the Windows network. In visual mode, a menu is provided for convenience in selecting a computer name. If not specified, the computer on which the Workflow is running is assumed. Automated Workflow must also be running under a user account that has privileges/rights to shut down other computers (such as an administrator account). Due to operating system limitations this parameter is not supported on Windows 95/98/ME systems, on these systems the current machine is assumed. Text, Optional - default "localmachinename" Prompt user to log off: Specifies that Windows should display a dialog to the user with a countdown notifying the user that the system is about to be shut down to give the user time to save his/her work. Due to operating system limitations this parameter is not supported on Windows 95/98/ME systems. Yes\No, Optional - NO Shut down after: Specifies the amount of time (in milliseconds, seconds, minutes, hours) that Windows should display the shut down notification dialog box. This parameter is only valid if the "Prompt user to log off" parameter is YES. Due to operating system limitations this parameter is not supported on Windows 95/98/ME systems. Number, Optional - default - 5 Message to display in the shut down dialog box: Specifies a user-definable message that windows should display the shut down notification dialog. This parameter is only valid if the "Prompt user to log off" parameter is YES. The message will be displayed for the number of seconds specified in the "Seconds" parameter. Due to operating system limitations this parameter is not supported on Windows 95/98/ME systems. Text, Optional - default (none) Force the system to shut-down without notifying applications: Specifies that the system should shut down immediately without notifying and waiting for applications to return that they are ready to close. Yes/No, Optional - default NO |
See Also |