In Windows 10, how does one shut down or restart the computer in CMD ?, Win10cmd
Some netizens asked me what if the computer is stuck and cannot be shut down normally? Can I shutdown or restart it in other ways? The following section describes how to shut down or restart a computer in the cmd of the win10 system:
On the win10 system desktop, right-click the Start menu and choose control panel.
Open drive C.
Enter CMD in the search box and press Enter.
Find the CMD Tool and double-click it.
Enter shutdown-r-t 5 in CMD (restart the computer after 5 seconds) and press Enter.
Operation commands (the following commands can be used)
Shutdown.exe-a cancel Shutdown
Shutdown.exe-s Shutdown
Shutdown.exe-f force close the application
Shutdown.exe-m \ computer name Control Remote Computer
Shutdown.exe-I displays the "remote Shutdown" graphic user interface, but it must be the first parameter of Shutdown.
Shutdown.exe-l log out of the current user
Shutdown.exe-r shutdown and restart
Shutdown.exe-s-t time setting shutdown countdown
Shutdown.exe-h sleep