halt

shut down the system 

Command


SYNOPSIS

halt [-q] [-l|-r]


DESCRIPTION

The halt commands shuts down the system. The default behavior, without the -l or -r options, is to shut down the system, and not reboot.

Options

-q 

does not prompt the user to save when shutting down user programs.

-r 

reboots the system. After shutting down, the system reboots.

-l 

logs the current user off. This option does not reboot the system.

The -l and -r options are mutually exclusive.


DIAGNOSTICS

Possible exit status values are:

0 

Successful completion.

>0 

An error occurred.


PORTABILITY

Windows 10. Windows Server 2016. Windows Server 2019. Windows 11. Windows Server 2022. Windows Server 2025.


AVAILABILITY

PTC MKS Toolkit for System Administrators
PTC MKS Toolkit for Developers
PTC MKS Toolkit for Interoperability
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition


PTC MKS Toolkit 10.5 Documentation Build 40.