ℹ️ Skipped - page is already crawled
| Filter | Status | Condition | Details |
|---|---|---|---|
| HTTP status | PASS | download_http_code = 200 | HTTP 200 |
| Age cutoff | PASS | download_stamp > now() - 6 MONTH | 0.1 months ago |
| History drop | PASS | isNull(history_drop_reason) | No drop reason |
| Spam/ban | PASS | fh_dont_index != 1 AND ml_spam_score = 0 | ml_spam_score=0 |
| Canonical | PASS | meta_canonical IS NULL OR = '' OR = src_unparsed | Not set |
| Property | Value |
|---|---|
| URL | https://superuser.com/questions/1212462/restart-the-computer-from-command-prompt |
| Last Crawled | 2026-04-05 04:25:05 (2 days ago) |
| First Indexed | 2017-05-24 16:43:12 (8 years ago) |
| HTTP Status Code | 200 |
| Meta Title | windows - Restart the computer from command prompt - Super User |
| Meta Description | null |
| Meta Canonical | null |
| Boilerpipe Text | 0
I'm working with the prompt command, and I want to know of it is possibile to restart the computer with command prompt
asked
May 24, 2017 at 15:07
2
1 Answer
4
Yes.
Just type
shutdown /r
in command prompt and it should reboot after a minute.
answered
May 24, 2017 at 15:09
Start asking to get answers
Find the answer to your question by asking.
Ask question
Explore related questions
See similar questions with these tags. |
| Markdown | [Skip to main content](https://superuser.com/questions/1212462/restart-the-computer-from-command-prompt#content)
#### Stack Exchange Network
Stack Exchange network consists of 183 Q\&A communities including [Stack Overflow](https://stackoverflow.com/), the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
[Visit Stack Exchange](https://stackexchange.com/)
1. - [Tour Start here for a quick overview of the site](https://superuser.com/tour)
- [Help Center Detailed answers to any questions you might have](https://superuser.com/help)
- [Meta Discuss the workings and policies of this site](https://meta.superuser.com/)
- [About Us Learn more about Stack Overflow the company, and our products](https://stackoverflow.co/)
2. ### [current community](https://superuser.com/)
- [Super User](https://superuser.com/)
[help](https://superuser.com/help) [chat](https://chat.stackexchange.com/?tab=site&host=superuser.com)
- [Meta Super User](https://meta.superuser.com/)
### your communities
[Sign up](https://superuser.com/users/signup?ssrc=site_switcher&returnurl=https%3A%2F%2Fsuperuser.com%2Fquestions%2F1212462%2Frestart-the-computer-from-command-prompt) or [log in](https://superuser.com/users/login?ssrc=site_switcher&returnurl=https%3A%2F%2Fsuperuser.com%2Fquestions%2F1212462%2Frestart-the-computer-from-command-prompt) to customize your list.
### [more stack exchange communities](https://stackexchange.com/sites)
[company blog](https://stackoverflow.blog/)
3. [Log in](https://superuser.com/users/login?ssrc=head&returnurl=https%3A%2F%2Fsuperuser.com%2Fquestions%2F1212462%2Frestart-the-computer-from-command-prompt)
4. [Sign up](https://superuser.com/users/signup?ssrc=head&returnurl=https%3A%2F%2Fsuperuser.com%2Fquestions%2F1212462%2Frestart-the-computer-from-command-prompt)
[](https://superuser.com/)
1. 1. [Home](https://superuser.com/)
2. [Questions](https://superuser.com/questions)
3. [Unanswered](https://superuser.com/unanswered)
4. [AI Assist](https://stackoverflow.com/ai-assist)
5. [Tags](https://superuser.com/tags)
6. [Chat](https://chat.stackexchange.com/)
7. [Users](https://superuser.com/users)
8. [Companies](https://stackoverflow.com/jobs/companies?so_medium=superuser&so_source=SiteNav)
2. Stack Internal
Stack Overflow for Teams is now called **Stack Internal**. Bring the best of human thought and AI automation together at your work.
[Try for free](https://stackoverflowteams.com/teams/create/free/?utm_medium=referral&utm_source=superuser-community&utm_campaign=side-bar&utm_content=explore-teams) [Learn more](https://stackoverflow.co/internal/?utm_medium=referral&utm_source=superuser-community&utm_campaign=side-bar&utm_content=explore-teams)
3. [Stack Internal]()
4. Bring the best of human thought and AI automation together at your work. [Learn more](https://stackoverflow.co/internal/?utm_medium=referral&utm_source=superuser-community&utm_campaign=side-bar&utm_content=explore-teams-compact)
**Stack Internal**
Knowledge at work
Bring the best of human thought and AI automation together at your work.
[Explore Stack Internal](https://stackoverflow.co/internal/?utm_medium=referral&utm_source=superuser-community&utm_campaign=side-bar&utm_content=explore-teams-compact-popover)
# [Restart the computer from command prompt \[duplicate\]](https://superuser.com/questions/1212462/restart-the-computer-from-command-prompt)
[Ask Question](https://superuser.com/questions/ask)
Asked
8 years, 10 months ago
Modified [8 years, 10 months ago](https://superuser.com/questions/1212462/restart-the-computer-from-command-prompt?lastactivity "2017-05-24 15:28:52Z")
Viewed 37k times
0
**This question already has answers here**:
[How can I restart a Windows 7 computer without screen or mouse?](https://superuser.com/questions/426666/how-can-i-restart-a-windows-7-computer-without-screen-or-mouse) (4 answers)
[Show shut down dialog from command line, Windows 8](https://superuser.com/questions/488656/show-shut-down-dialog-from-command-line-windows-8) (3 answers)
[Is there a command line tool to put Windows 8 to sleep? \[duplicate\]](https://superuser.com/questions/463646/is-there-a-command-line-tool-to-put-windows-8-to-sleep) (5 answers)
Closed 8 years ago.
I'm working with the prompt command, and I want to know of it is possibile to restart the computer with command prompt
- [windows](https://superuser.com/questions/tagged/windows "show questions tagged 'windows'")
- [cmd.exe](https://superuser.com/questions/tagged/cmd.exe "show questions tagged 'cmd.exe'")
[Share](https://superuser.com/q/1212462 "Short permalink to this question")
[Improve this question](https://superuser.com/posts/1212462/edit)
Follow
asked May 24, 2017 at 15:07
[](https://superuser.com/users/728855/ersad)
[Ersad](https://superuser.com/users/728855/ersad)
6311 gold badge11 silver badge22 bronze badges
2
- 1
Answered for you, but this was something you could of easily found with a quick Google search.
Cheesus Crust
– [Cheesus Crust](https://superuser.com/users/651037/cheesus-crust "1,782 reputation")
2017-05-24 15:09:56 +00:00
Commented May 24, 2017 at 15:09
- 2
But, my google search took me here! ;-D
James Fleming
– [James Fleming](https://superuser.com/users/2539873/james-fleming "101 reputation")
2025-01-14 12:00:08 +00:00
Commented Jan 14, 2025 at 12:00
[Add a comment](https://superuser.com/questions/1212462/restart-the-computer-from-command-prompt "Use comments to ask for more information or suggest improvements. Avoid answering questions in comments.") \|
## 1 Answer 1
Sorted by:
[Reset to default](https://superuser.com/questions/1212462/restart-the-computer-from-command-prompt?answertab=scoredesc#tab-top)
4
Yes.
Just type `shutdown /r` in command prompt and it should reboot after a minute.
[Share](https://superuser.com/a/1212464 "Short permalink to this answer")
[Improve this answer](https://superuser.com/posts/1212464/edit)
Follow
answered May 24, 2017 at 15:09
[](https://superuser.com/users/651037/cheesus-crust)
[Cheesus Crust](https://superuser.com/users/651037/cheesus-crust)
1,7821818 silver badges2222 bronze badges
[Add a comment](https://superuser.com/questions/1212462/restart-the-computer-from-command-prompt "Use comments to ask for more information or suggest improvements. Avoid comments like “+1” or “thanks”.") \|
Start asking to get answers
Find the answer to your question by asking.
[Ask question](https://superuser.com/questions/ask)
Explore related questions
- [windows](https://superuser.com/questions/tagged/windows "show questions tagged 'windows'")
- [cmd.exe](https://superuser.com/questions/tagged/cmd.exe "show questions tagged 'cmd.exe'")
See similar questions with these tags.
- The Overflow Blog
- [Seizing the means of messenger production](https://stackoverflow.blog/2026/04/03/seizing-the-means-of-messenger-production/)
- [How can you test your code when you don’t know what’s in it?](https://stackoverflow.blog/2026/03/31/how-can-you-test-your-code-when-you-don-t-know-what-s-in-it/)
#### Linked
[32](https://superuser.com/questions/463646/is-there-a-command-line-tool-to-put-windows-8-to-sleep "Question score (upvotes - downvotes)")
[Is there a command line tool to put Windows 8 to sleep?](https://superuser.com/questions/463646/is-there-a-command-line-tool-to-put-windows-8-to-sleep?noredirect=1)
[14](https://superuser.com/questions/426666/how-can-i-restart-a-windows-7-computer-without-screen-or-mouse "Question score (upvotes - downvotes)")
[How can I restart a Windows 7 computer without screen or mouse?](https://superuser.com/questions/426666/how-can-i-restart-a-windows-7-computer-without-screen-or-mouse?noredirect=1)
[9](https://superuser.com/questions/488656/show-shut-down-dialog-from-command-line-windows-8 "Question score (upvotes - downvotes)")
[Show shut down dialog from command line, Windows 8](https://superuser.com/questions/488656/show-shut-down-dialog-from-command-line-windows-8?noredirect=1)
#### Related
[139](https://superuser.com/questions/301765/restart-a-windows-service-from-the-command-line "Question score (upvotes - downvotes)")
[Restart a Windows service from the command line](https://superuser.com/questions/301765/restart-a-windows-service-from-the-command-line)
[0](https://superuser.com/questions/310283/how-to-re-save-web-config-using-command-prompt "Question score (upvotes - downvotes)")
[How to re-save web.config using command prompt](https://superuser.com/questions/310283/how-to-re-save-web-config-using-command-prompt)
[5](https://superuser.com/questions/455483/fixedsys-as-command-prompt-font-fallout-theme "Question score (upvotes - downvotes)")
[Fixedsys as Command Prompt font (Fallout theme)](https://superuser.com/questions/455483/fixedsys-as-command-prompt-font-fallout-theme)
[5](https://superuser.com/questions/806932/how-can-i-parse-a-lnk-shortcut-from-the-command-prompt-in-windows "Question score (upvotes - downvotes)")
[How can I parse a .LNK shortcut from the Command Prompt in Windows?](https://superuser.com/questions/806932/how-can-i-parse-a-lnk-shortcut-from-the-command-prompt-in-windows)
[0](https://superuser.com/questions/1046599/command-line-prompt-will-not-change-directory-to-the-c-prompt "Question score (upvotes - downvotes)")
[Command line prompt will not change directory to the C:\\ prompt](https://superuser.com/questions/1046599/command-line-prompt-will-not-change-directory-to-the-c-prompt)
[1](https://superuser.com/questions/1063670/how-to-restart-command-prompt-from-command-prompt "Question score (upvotes - downvotes)")
[How to restart Command Prompt from Command Prompt](https://superuser.com/questions/1063670/how-to-restart-command-prompt-from-command-prompt)
[25](https://superuser.com/questions/1211965/send-a-file-via-bluetooth-from-the-command-prompt "Question score (upvotes - downvotes)")
[send a file via bluetooth from the command prompt](https://superuser.com/questions/1211965/send-a-file-via-bluetooth-from-the-command-prompt)
[0](https://superuser.com/questions/1214703/modify-the-time-and-date-from-the-command-prompt "Question score (upvotes - downvotes)")
[Modify the time and date from the command prompt](https://superuser.com/questions/1214703/modify-the-time-and-date-from-the-command-prompt)
#### [Hot Network Questions](https://stackexchange.com/questions?tab=hot)
- [What kind of SIN is the fake SIN?](https://rpg.stackexchange.com/questions/219048/what-kind-of-sin-is-the-fake-sin)
- [How to choose critical p-value?](https://stats.stackexchange.com/questions/675464/how-to-choose-critical-p-value)
- [Can a probability measure adequately distinguish between the impossible and improbable?](https://philosophy.stackexchange.com/questions/137469/can-a-probability-measure-adequately-distinguish-between-the-impossible-and-impr)
- [What does 3/16" mean in Shimano ball retainer (e.g. for a front hub)?](https://bicycles.stackexchange.com/questions/100148/what-does-3-16-mean-in-shimano-ball-retainer-e-g-for-a-front-hub)
- [Nicely organized graph representing Feynman](https://tex.stackexchange.com/questions/761549/nicely-organized-graph-representing-feynman)
- [How to disable CoPilot physical button?](https://superuser.com/questions/1936426/how-to-disable-copilot-physical-button)
- [Pam Bondi was fired as attorney general. Will she still have to sit for a deposition?](https://politics.stackexchange.com/questions/94484/pam-bondi-was-fired-as-attorney-general-will-she-still-have-to-sit-for-a-deposi)
- [What does 'basic movement' refer to?](https://electronics.stackexchange.com/questions/767700/what-does-basic-movement-refer-to)
- [Trying to create a custom keyboard layout on Ubuntu 24.04](https://askubuntu.com/questions/1565404/trying-to-create-a-custom-keyboard-layout-on-ubuntu-24-04)
- [Did the Artemis II moon mission achieve escape velocity?](https://space.stackexchange.com/questions/70404/did-the-artemis-ii-moon-mission-achieve-escape-velocity)
- [Who is the "KUS" ground station?](https://space.stackexchange.com/questions/70399/who-is-the-kus-ground-station)
- [What's the first sci-fi story where a pet has an important role?](https://scifi.stackexchange.com/questions/303913/whats-the-first-sci-fi-story-where-a-pet-has-an-important-role)
- [Has Artemis left earth's 'orbit'?](https://english.stackexchange.com/questions/639390/has-artemis-left-earths-orbit)
- [20+ services get installed automatically, can't find a way to disable them](https://superuser.com/questions/1936365/20-services-get-installed-automatically-cant-find-a-way-to-disable-them)
- [Picking marbles probability course](https://tex.stackexchange.com/questions/761593/picking-marbles-probability-course)
- [What is this pen-like mouse-like device that connects to a probably-computer via a connector I dunno what it is?](https://superuser.com/questions/1936355/what-is-this-pen-like-mouse-like-device-that-connects-to-a-probably-computer-via)
- [Chain skipping on the same cog, cannot find source](https://bicycles.stackexchange.com/questions/100150/chain-skipping-on-the-same-cog-cannot-find-source)
- [Trying to find a sci-fi book with a high gravity world where the human can barely move](https://scifi.stackexchange.com/questions/303930/trying-to-find-a-sci-fi-book-with-a-high-gravity-world-where-the-human-can-barel)
- [Does every finite direct category have filtered colimits?](https://mathoverflow.net/questions/509853/does-every-finite-direct-category-have-filtered-colimits)
- [How does one set swap space on macOS?](https://apple.stackexchange.com/questions/486181/how-does-one-set-swap-space-on-macos)
- [transytion - A small utility class for tweening in a Python game framework](https://codereview.stackexchange.com/questions/301741/transytion-a-small-utility-class-for-tweening-in-a-python-game-framework)
- [Counting real rooted polynomials](https://mathoverflow.net/questions/509859/counting-real-rooted-polynomials)
- [Jumping Frogs - Hit or Miss (How many will survive?)](https://puzzling.stackexchange.com/questions/137574/jumping-frogs-hit-or-miss-how-many-will-survive)
- [How do system programmers think?](https://softwareengineering.stackexchange.com/questions/461053/how-do-system-programmers-think)
[more hot questions](https://superuser.com/questions/1212462/restart-the-computer-from-command-prompt)

##### [Super User](https://superuser.com/)
- [Tour](https://superuser.com/tour)
- [Help](https://superuser.com/help)
- [Chat](https://chat.stackexchange.com/?tab=site&host=superuser.com)
- [Contact](https://superuser.com/contact)
- [Feedback](https://meta.superuser.com/)
##### [Company](https://stackoverflow.co/)
- [Stack Overflow](https://stackoverflow.com/)
- [Stack Internal](https://stackoverflow.co/internal/)
- [Stack Data Licensing](https://stackoverflow.co/data-licensing/)
- [Stack Ads](https://stackoverflow.co/advertising/)
- [About](https://stackoverflow.co/)
- [Press](https://stackoverflow.co/company/press/)
- [Legal](https://stackoverflow.com/legal)
- [Privacy Policy](https://stackoverflow.com/legal/privacy-policy)
- [Terms of Service](https://stackoverflow.com/legal/terms-of-service/public)
- Cookie Settings
- [Cookie Policy](https://policies.stackoverflow.co/stack-overflow/cookie-policy)
##### [Stack Exchange Network](https://stackexchange.com/)
- [Technology](https://stackexchange.com/sites#technology)
- [Culture & recreation](https://stackexchange.com/sites#culturerecreation)
- [Life & arts](https://stackexchange.com/sites#lifearts)
- [Science](https://stackexchange.com/sites#science)
- [Professional](https://stackexchange.com/sites#professional)
- [Business](https://stackexchange.com/sites#business)
- [API](https://api.stackexchange.com/)
- [Data](https://data.stackexchange.com/)
- [Blog](https://stackoverflow.blog/?blb=1)
- [Facebook](https://www.facebook.com/officialstackoverflow/)
- [Twitter](https://twitter.com/stackoverflow)
- [LinkedIn](https://linkedin.com/company/stack-overflow)
- [Instagram](https://www.instagram.com/thestackoverflow)
Site design / logo © 2026 Stack Exchange Inc; user contributions licensed under [CC BY-SA](https://stackoverflow.com/help/licensing) . rev 2026.4.2.41748 |
| Readable Markdown | 0
I'm working with the prompt command, and I want to know of it is possibile to restart the computer with command prompt
asked May 24, 2017 at 15:07
[](https://superuser.com/users/728855/ersad)
2
1 Answer
4
Yes.
Just type `shutdown /r` in command prompt and it should reboot after a minute.
answered May 24, 2017 at 15:09
[](https://superuser.com/users/651037/cheesus-crust)
Start asking to get answers
Find the answer to your question by asking.
[Ask question](https://superuser.com/questions/ask)
Explore related questions
See similar questions with these tags. |
| Shard | 122 (laksa) |
| Root Hash | 3131140398176769522 |
| Unparsed URL | com,superuser!/questions/1212462/restart-the-computer-from-command-prompt s443 |