Site Map - skip to main content

Hacker Public Radio

Your ideas, projects, opinions - podcasted.

New episodes every weekday Monday through Friday.
This page was generated by The HPR Robot at


hpr2783 :: The Windows "Shutdown.exe" Command Explained

A rundown of the Windows "shutdown.exe" command.

<< First, < Previous, , Latest >>

Thumbnail of Claudio Miranda
Hosted by Claudio Miranda on 2019-04-03 is flagged as Clean and is released under a CC-BY-SA license.
shutdown, windows, commandprompt, cmd. 2.
The show is available on the Internet Archive at: https://archive.org/details/hpr2783

Listen in ogg, spx, or mp3 format. Play now:

Duration: 00:15:23

general.

Shutdown.exe

  • Introduced in Windows 2000 as a way to shutdown the PC via the command prompt.
  • Included in all versions since Windows 2000 all the way to Windows 10 and Windows Server 2019.
  • ReactOS, the open source binary-compatible clone of Windows, also includes the shutdown.exe command and the commands are the same.
  • Located in %windir%\System32. The variable %windir% is usually c:\windows. In ReactOS, the variable is usually c:\reactos (failed to mention this in the recording).

Links:


Comments

Subscribe to the comments RSS feed.

Comment #1 posted on 2019-04-04 10:08:59 by Bubba

Shutdown.exe command

Thanks for the insight. There's a scheduled power outage at work next month, and with this I can make sure everybody's workstation is shut down properly without running around and looking at power lights.

Comment #2 posted on 2019-04-06 14:12:22 by ClaudioM

Also Useful with PsExec from Sysinternals Suite

Glad you found it useful. While you can use it alone, it's also useful with tools like PsExec from the Sysinternals suite. I might do an episode about that particular command as well. That suite has so many tools but PsExec is the one I use the most.

https://docs.microsoft.com/en-us/sysinternals/

You could probably create a batch file or Powershell script to go through a list of hostnames and have them reboot/shutdown remotely.

Leave Comment

Note to Verbose Commenters
If you can't fit everything you want to say in the comment below then you really should record a response show instead.

Note to Spammers
All comments are moderated. All links are checked by humans. We strip out all html. Feel free to record a show about yourself, or your industry, or any other topic we may find interesting. We also check shows for spam :).

Provide feedback
Your Name/Handle:
Title:
Comment:
Anti Spam Question: What does the letter P in HPR stand for?
Are you a spammer?
What is the HOST_ID for the host of this show?
What does HPR mean to you?