How to Shutdown Windows OS Interactively via Shutdown Command

November 3, 2016 | Views: 12750

Begin Learning Cyber Security for FREE Now!

FREE REGISTRATIONAlready a Member Login Here

Microsoft Windows 7 operating system, as well as previous versions of Windows OS, comes with a  built-in shutdown command which among other things enables the user to initiate a shutdown procedure. By entering the  shutdown /? command inside CMD (Command Prompt) you can see the complete help and usage information.


Figure 1. Help and usage for shutdown command

If we take a look at the list of possible switches we can see that  the /i switch is responsible for displaying the graphical user interface (GUI). So let’s enter the shutdown /i command and see what will happen.


Figure 2. Graphical User Interface for shutdown command

As you can see, we are presented with a GUI interface inside which we can easily tell shutdown command what we want it to do. To tell the command which computer/computers we want to include, we simply click on „Add…“ button and then we can enter the computer name or its IP address.


Figure 3. Adding computers to be used with shutdown command

Once we’re done with adding computers to our list, we can tell shutdown command what exactly do we want it to do with those computers.


Figure 4. Selecting required action

We can see on Figure 4. that we can either choose to shutdown selected computers, restart them, or annotate unexpected shutdown.


Figure 5. Deciding whether we want to alert users that shutdown is in progress or not.

If Warn users of the action” checkbox is checked, then users logged on selected computers will receive a message that shutdown is in progress and that their computer will shutdown when “Display warning for value reaches zero. The maximum value that can be set is 999 seconds.

Under “Shutdown Event Tracker” section we can set one of pre-defined planned or unplanned options.


Figure 6. Setting planned reason for a shutdown.


Figure 7. Setting unplanned reason for a shutdown.

Once we set the adequate option, all that is left for us to do is to fill the “Comment:” field. In this field, we can explain the reason for the shutdown in more depth.


Figure 8. Entering user comment.

Once we reach this stage, all we have to do is to press the “OK” button and the shutdown command will be executed. It is important to say that shutdown command requires administrator privileges to run. So if you plan to execute the shutdown command on a remote computer, you’ll need to have administrator privileges on that specific computer.

Share with Friends
Use Cybytes and
Tip the Author!
Share with Friends
Ready to share your knowledge and expertise?
  1. not able to shutdown other computer on the network with the ip

  2. Thank you for this educative skills

  3. *sounds educative…*

  4. Awesome to start on a Monday morning!

  5. Thanks a lot. Learning something new everyday.

Page 3 of 3«123
Comment on This

You must be logged in to post a comment.

Our Revolution

We believe Cyber Security training should be free, for everyone, FOREVER. Everyone, everywhere, deserves the OPPORTUNITY to learn, begin and grow a career in this fascinating field. Therefore, Cybrary is a free community where people, companies and training come together to give everyone the ability to collaborate in an open source way that is revolutionizing the cyber security educational experience.

Support Cybrary

Donate Here to Get This Month's Donor Badge


We recommend always using caution when following any link

Are you sure you want to continue?