How to schedule windows 10 shutdown

Is it possible khổng lồ avoid the message that displays that the system will shut down in ten minutes if using the following command?

shutdown -s -t 3600

*

You can easily do that by changing the comment to space:

shutdown -s -t 3600 -c " "The warning message will be skipped because there is no message.

You watching: How to schedule windows 10 shutdown


*

As an alternative sầu, you could use an external timer và a force shutdown at the correct time. For example:

timeout -t 3600 -nobreak &và shutdown -s -t 00cảnh báo that a caveat of this approach is that the shutdown comm& is not actually sover (e.g. to networked computers) until the timeout is finished, therefore you will need the sending computer to lớn be on with a working connection at the over of the timeout. A workaround is lớn run the entire command directly on the target computer, e.g. with PsExec.

If you want to hide the commvà window as well, there are many ways to bởi vì so.

I personally favour a PowerShell-based comm& that hides itself (run from a cmd window in this case):

start powershell.exe -WindowStyle Hidden -Command "sleep 3600; shutdown -s -t 00"PowerShell can be configured for remoting, too. And it might be preferable to lớn use the native sầu Stop-Computer comm& rather than shutdown.


Share
Improve sầu this answer
Follow
edited Mar đôi mươi "17 at 10:17
*

Community♦
1
answered Mar 2 "13 at 10:đôi mươi
*

BobBob
56.8k2323 gold badges179179 silver badges207207 bronze badges
4
Add a phản hồi |
1
You will have to turn off the automatic logoff comm& task..

Windows -> Start -> Run -> shutdown -a
Share
Improve this answer
Follow
answered Oct 11 "13 at 5:35

*

LuckyLucky
44088 silver badges20đôi mươi bronze badges
Add a bình luận |
1
Add the -p flag khổng lồ avoid the "System will shutdown in 10 minutes" message.

shutdown -p -s -t 3600
Share
Improve sầu this answer
Follow
edited Jan 25 "18 at 6:37
Kamil Maciorowski
54.2k2222 gold badges9898 silver badges147147 bronze badges
answered Jan 25 "18 at 2:41
RaenRaen
1911 bronze badge
1
Add a comment |
0
If you want lớn cancel the shutdown, use this comm&, use shutdown -a. If you just want to lớn hide the notification:

Make it appear by running shutdown -s -t 3600.Right-cliông xã on the clochồng và select Customize notification icons.Find Windows logon reminder và choose Hide inhỏ và notifications.

See more: Tim Kiem Tai Năng The Gioi 2013, Vietnam'S Got Talent, Vietnam'S Got Talent

Shutdown tooltips won"t appear on that computer anymore và the inhỏ will be hidden.


Share
Improve this answer
Follow
answered Mar 2 "13 at 10:13
gronostajgronostaj
49k1616 gold badges107107 silver badges150150 bronze badges
3
Add a phản hồi |
0

You can also use the Task Scheduler utility.

Start Menu -> Search "Task Scheduler"

kích hoạt -> Create Basic Task

Choose the time and frequency for which you want the event to occur.

Once you get to lớn the kích hoạt section, select "Start a Program" and choose:

"C:WindowsSystem32shutdown.exe"

and give the appropriate parameters for the arguments:

/s /f /t 0

These argmuments break down as follows:/s shutdown/f force the shutdown/t 0 t for time, 0 seconds

Click finish and you"re good khổng lồ go.


Share
Improve this answer
Follow
answered Nov 8 "14 at 22:35
KhobaltKhobalt
111 bronze badge
Add a phản hồi |

Your Answer


Thanks for contributing an answer to lớn Super User!

Please be sure lớn answer the question. Provide details & share your research!

But avoid

Asking for help, clarification, or responding khổng lồ other answers.Making statements based on opinion; bachồng them up with references or personal experience.

To learn more, see our tips on writing great answers.

See more: Tên Tiếng Anh Của Trường Đại Học Bách Khoa Tiếng Anh Là Gì, 1710, Ngọc Diệp, 09/10/2020 11:37:59


Draft saved
Draft discarded

Sign up or log in


Sign up using Google
Sign up using Facebook
Sign up using E-Mail and Password
Submit

Post as a guest


Name
Thư điện tử Required, but never shown


Post as a guest


Name
Thư điện tử

Required, but never shown


Post Your Answer Discard

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy và cookie policy


Not the answer you're looking for? Browse other questions tagged windows shutdown or ask your own question.


The Overflow Blog
Linked
167
Run a batch file in a completely hidden way
Related
4
How khổng lồ shutdown OSX and avoid programs inturrupting the shutdown?
5
Shut Down Windows 7 Using Voice Control?
2
Windows 7 Shutdown Delay
4
How can I install updates và shut down from the commvà line?
8
Shut down Windows 8 from commvà line WITHOUT BANNER?
0
Windows 8 takes too long to lớn shut down
6
Shut down computer using ssh
0
Detect synology shutdown lớn shut down other VPS
23
Shutdown Windows 10 truly for a dual booting system
0
Window 10 slow shutdown (Windows Performance Analyzer)
Hot Network Questions more hot questions

Question feed
Subscribe lớn RSS
Question feed To subscribe to lớn this RSS feed, copy và paste this URL inlớn your RSS reader.


Super User
Company
Staông xã Exchange Network
site kiến thiết / hình ảnh sản phẩm © 2021 Staông xã Exchange Inc; user contributions licensed under cc by-sa. rev2021.8.18.40012


Super User works best with JavaScript enabled
*

Your privacy

By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device và discthảm bại information in accordance with our Cookie Policy.


Chuyên mục: Blog