InitiateSystemShutdown

Initiate System Shutdown

Related Topics Link IconRelated Topics

Definition

Use this command to shut down a Windows workstation and optionally reboot it.
This command corresponds to the SHUTDOWN.EXE executable file contained in the Windows NT Resource Kit.

A system shutdown message is issued to the user (see the example) and the user is prompted to save all changes and log off.
The workstation will shut down after 30 seconds and then rebooted. By this, the user can prevent the system shutdown.

Please note that the Installer executes all packages that have been specified for installation before restarting the computer.
If you want the Installer to restart the computer immediately after finishing a specific package, you need to use the EndInstallerSession command additionally.

This command only controls the Installer, a classification (e.g. execute via service) has no significance for this command.

Settings

Input

  • Message
    Enter an additional message that will be displayed when a Windows workstation shuts down.
  • Timeout
    Enter the time in seconds before the Windows NT workstation will shut down.

Options

Force logoff
Currently running applications will be shut down and all unsaved data will be lost.
The system will shut down without the user being prompted once more; the user cannot prevent the shutdown.

Reboot workstation
The workstation will be rebooted after shutdown.

Ask user before shutting down Windows