How to Shutdown Windows from Command Line

Ankur Gupta
Ankur Gupta
Web developer by profession, Over 10 years experience of building websites and web applications. Currently working on Epaper CMS Cloud (Software As Service based product). Special interest in computer and technology. After writing on the blogger platform for years, started his own tech portal Antarjaal.In.

There are many options available for shutting down Windows from the command line that are not available by clicking on GUI. Today in this article we will learn how to shutdown Windows from the command line. So let’s start.

First click in start and type cmd. You will see the option of command prompt. Click into it. This will open the command prompt. You can also open the run command dialog box by pressing Windows + R key and then write cmd in it and press Enter. This will also open the command prompt.

Now give this command to shutdown shutdown /s this will shut down your computer in few minutes.

If you want to restart the computer, then enter this command: shutdown /r

shutdown /i This command opens the dialog for remote shutdown. This allows you to shutdown any other computer in the network

How to Shutdown Windows from Command Line 1

shutdown /l You can log off with this command.

shutdown /s /t 60 If you use the /t flag, you can set a shutdown or restart timer. For example, this command will shutdown your computer after 60 seconds. If you don’t set the time, it will take default value of 30 seconds.

shutdown /? This will display all the options related to shutdown command.

How to Shutdown Windows from Command Line 3

For more information, see: administration/windows-commands/shutdown

Reality of Unlimited Web Hosting

You must have often noticed that many web hosting companies offer unlimited shared hosting. Does Unlimited really mean Unlimited?...

More Articles Like This