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