How to remotely log in win7 system for troubleshooting

  
Remote login win7 system, can only log out, disconnect, can not shut down or restart. You can manually enter the command to shut down.
The method is as follows: In Windows 7, there is a file called shutdown.exe. He is mainly responsible for restarting the computer, logging off the computer, and shutting down the computer.
First step: Enter the CMD into the command line mode via Windows 7 "Start-> Run->.
Second Step: Enter shutdown /s in the command line mode. Enter
to get it, shut down! SHUTDOWN can also add other parameters to achieve restart and other functions, the parameters are as follows:
/?--Display Help Information
/l--Logout
/s--Turn off the computer
/r--Turn off and restart the computer
/a--Cancel the operation of aborting the system.
/h--Hibernate local computer.
/t xxx--Set the timeout before closing to xxx seconds, without adding xxx to 30 seconds by default.
/f--Forcing a running application to close without warning the user in advance.

Copyright © Windows knowledge All Rights Reserved