PDF download Download Article PDF download Download Article

This wikiHow teaches you how to use a Windows computer's Command Prompt app to shut down the computer.

  1. You can do this either by clicking the Windows logo in the bottom-right corner of the screen, or by pressing the Win key on your keyboard. The Start menu will open with your mouse cursor in the "Search" field.
  2. Doing so will search your computer for the Command Prompt app, which will pop up at the top of the search menu.
    • You can also bring up the "Search" bar on Windows 8 by hovering your mouse in the top-right corner of the screen and clicking the magnifying glass when it appears.
    • If you're using Windows XP, you'll instead click the Run app on the right side of the Start menu.
    Advertisement
  3. It resembles a black box. Doing this will invoke a drop-down menu.
    • If you're using Windows XP, you'll instead type cmd into the Run window.
  4. It's near the top of the drop-down menu. Doing so will open Command Prompt with administrator privileges.
    • You'll need to confirm this choice by clicking Yes when prompted.
    • If you're using Windows XP, you'll click OK to open Command Prompt.
    • You won't be able to run Command Prompt in administrator mode if you're on a restricted, public, or networked computer (e.g., a library or school computer).
  5. This command will shut down your computer within a minute of the command being issued.
    • If you want to shut down your computer immediately, instead type shutdown -s -t 00 into Command Prompt.
    • To shut down your computer a set number of seconds or minutes from the current time, type shutdown -s -t ## where "##" is the number of seconds (e.g., "06" for six seconds, "60" for a minute, "120" for two minutes, etc.).
  6. Doing so will run your command and prompt your computer to begin shutting down. It will typically do so within less than a minute.
    • If you have several programs open, Windows will first close these programs for you. Make sure your work is saved before shutting down.
  7. Advertisement

Community Q&A

Search
Add New Question
  • Question
    What command can I use to shut down 15 seconds from now?
    Community Answer
    Community Answer
    You would type (without quotations): "shutdown -s -t 15".
  • Question
    How do I hack a WiFi network with command prompt?
    Community Answer
    Community Answer
    Your best bet is to use an OS designed for such, like Kali Linux.
  • Question
    How do I run USSD codes on Lumia 710?
    Ali Zain
    Ali Zain
    Community Answer
    USSD Codes aren't supported in 710, maybe a future software update will cover it.
See more answers
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
Advertisement

Tips

  • This method of shutting down your computer is useful for bypassing any loading programs that slow down the shutdown process.
Submit a Tip
All tip submissions are carefully reviewed before being published
Name
Please provide your name and last initial
Thanks for submitting a tip for review!
Advertisement

Warnings

Advertisement

You Might Also Like

Close Command PromptClose Command Prompt
Change Directories in Command Prompt Navigate to a Different Folder in the Command Prompt
Format a USB Using Cmd Format a USB Using CMD (Command Prompt)
Change a Computer Password Using Command Prompt Change a Windows Password Using Command Prompt
Reboot from Command Prompt on WindowsReboot from Command Prompt on Windows
Use Windows Command Prompt to Run a Python FileUse Windows Command Prompt to Run a Python File
Run a Batch File from the Command Line on Windows Run a Windows Batch File from the Command Line (CMD)
Open a Folder in Cmd Open a Folder in Command Prompt (CMD)
Add Users from CMDAdd Users from CMD
Open Command Prompt with a Keyboard Shortcut (Windows 8, 8.1, and 10)3 Ways to Open Command Prompt with Keyboard on Windows
Open the Command Prompt in Windows5 Simple Ways to Open the Command Prompt in Windows
Watch Star Wars on Command Prompt Watch Star Wars via Telnet: Windows CMD & Mac Terminal
Copy Files in Command PromptCopy Files in Command Prompt
Use Net SendUse Net Send
Advertisement

About This Article

Jack Lloyd
Written by:
wikiHow Technology Writer
This article was co-authored by wikiHow staff writer, Jack Lloyd. Jack Lloyd is a Technology Writer and Editor for wikiHow. He has over two years of experience writing and editing technology-related articles. He is technology enthusiast and an English teacher. This article has been viewed 172,281 times.
How helpful is this?
Co-authors: 10
Updated: May 15, 2018
Views: 172,281
Categories: Command Prompt
Thanks to all authors for creating a page that has been read 172,281 times.

Is this article up to date?

Advertisement