Shutdown v1.02 - Windows Shutdown Utility
Shut down, restart, log off, or power off Windows from the command line or login scripts
Automate Windows Shutdown from the Command Line
Shutdown is a command-line utility for shutting down, logging off, turning off, or restarting a Windows computer. There is no user interface -- when you run Shutdown, it immediately executes the command you pass on the command line. This makes it an ideal companion for login scripts, batch files, and any automated workflow where you need to control the power state of a machine without user interaction.
The program is extremely easy to use and distribute. No installation is required -- just copy the single executable to wherever you need it and call it from your scripts. By default, running Shutdown with no arguments will simply shut down Windows. With command-line options, you can log off the current user, power off the machine (if supported by the hardware), or restart the computer. Shutdown pairs nicely with Message Manager Deluxe for login script automation, letting you display a message to the user before performing the shutdown action.
Shutdown also supports a FORCE option that terminates unresponsive applications immediately instead of waiting for the user to respond to "application not responding" dialog boxes. This is especially useful in unattended scenarios where no one is present to click through confirmation prompts.
Who Is This For?
Key Features
Command Line Options
Usage:
SHUTDOWN.EXE {command} {FORCE}
Pass the option you wish to perform on the command line:
1-- Shut down Windows safely. Flushes all file buffers to disk and stops all running processes.2-- Log off the current user. Shuts down all processes and ends the user session.3-- Shut down and power off. Requires hardware support for power-off capability.4-- Shut down and restart the computer.
FORCE -- Forces applications to close without prompting the user. Instead of displaying the "application not responding" dialog box, this option terminates all applications immediately.
Examples:
shutdown.exe 4
Restart the computer.
shutdown.exe 4 FORCE
Restart the computer, forcing all applications to close immediately.
shutdown.exe 2
Log off the current user.
Windows Compatibility
Win 11
Win 10
Win 8
Win 7
Vista
XP
Win 2k
NT
ME
98
95
Version History
- Added the FORCE command to forcefully shut down the computer
- Increased error handling
- Corrected logoff problem (option 2) on Windows NT/2000
- Changed termination method
- Modified the invisible property of main program driver
- Reduced the EXE size
Initial version.
Download Shutdown
You Might Also Like
Add or remove programs executed at Windows startup via the registry. Manage Run and RunOnce entries hidden from the Start Menu.
Learn MoreCommand-line utility that delays program launches by a specified number of seconds. Set wait time, file path, and window state.
Learn MoreSupport RJL Software Development
If our tools have saved you time over the years, consider making a donation to help fund continued development and new features.
Support and Information
Find answers to common questions about Shutdown.
View FAQFound a bug or have a question? We are here to help.
Contact UsTo uninstall, simply delete the program folder. No registry entries or system files are left behind.
Download the latest version and extract over your existing folder, or to a new location. Settings are preserved.
