Win7 Remote Desktop shutdown

Source: Internet
Author: User

In Task Manager, open the Run window, execute the shutdown-s command, and close the Win7 after 30 seconds, if needed faster, plus the-t 10 parameter

Command-line description about shutdown:

C:\users\root>shutdown/?Usage:shutdown [/I | /L | /s | /r | /g | /A | /p | /h | /e] [/F] [/M \\computer][/t xxx][/d [P|U:]XX:YY [/C"Comment"]] No args Display help. this is the same as typing/?. /?Display Help.    The same as not typing any options. /I Display the graphical user interface (GUI).    This must is the first option. /L Log off. This cannot is used with/m or/d options. /s Shutdown the computer. /r Shutdown and restart the computer. /g Shutdown and restart the computer.    After the system was rebooted, restart any registered applications. /a Abort a system shutdown. This can is only used during the Time-Out period. /p Turn off the local computer with no Time-Out or warning. Can is used with/d and/f Options. /h Hibernate the local computer. Can is used with the/f option. /e Document The reason forAn unexpected shutdown of a computer. /m \\computer Specify the target computer. /t XXX Set the Time-Out period before shutdown to xxx seconds. The valid range is0-315360000(Tenyears), with a default of -. If The timeout period is greater than0, The/f parameter is implied. /C"Comment"Comment on the reason forThe restart or shutdown. Maximum of +characters allowed. /f Force running applications to close without forewarning users. the/f parameter is implied when a value greater than0is specified forThe/t parameter. /d [P|u:]xx:yy provide the reason forThe restart or shutdown.               P indicates that the restart or shutdown is planned.               U indicates the reason is user defined.               If neither P nor u are specified the restart or shutdown is unplanned. XX is the major reason number (positive integer Lessthan the). YY is the minor reason number (positive integer Lessthan65536).

Win7 Remote Desktop shutdown

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.