Site Map - skip to main content

Hacker Public Radio

Your ideas, projects, opinions - podcasted.

New episodes Monday through Friday.


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

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

<< First, < Previous, Latest >>

Host Image
Hosted by Claudio Miranda on Wednesday 2019-04-03 is flagged as Clean and is released under a CC-BY-SA license.
Tags: shutdown, windows, commandprompt, cmd.

Listen in ogg, spx, or mp3 format. | Comments (2)

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:

Show Transcript

Automatically generated using whisper

whisper --model tiny --language en hpr2783.wav

<< First, < Previous, Latest >>


Comments

Subscribe to the comments RSS feed.

Comment #1 posted on 2019-04-04T10:08:59Z 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-06T14:12:22Z 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.

<< First, < Previous, Latest >>

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 P in HPR stand for ?
Are you a spammer →
Who hosted this show →
What does HPR mean to you ?