Eteindre proprement w10/11
shutdown /s /f /t 0
/s Shuts down the computer.
/fw Combining this option with a shutdown option causes the next restart to go to the firmware user interface.
/o
Goes to the Advanced boot options menu and restarts the device. This option must be used with the /r option.
/h Puts the local computer into hibernation, if hibernation is enabled. The /f switch can be used with the /h switch.
/f
Forces running applications to close without warning users.
Caution: Using the /f option might result in loss of unsaved data.
/t <xxx>
Sets the time-out period before shutdown to xxx seconds. The valid range is 0-315360000 (10 years), with a default of 30. If the timeout period is greater than 0, the /f parameter is implied.
/hybrid Shuts down the device and prepares it for fast startup. This option must be used with the /s option.
/soft
Allows running processes and applications to gracefully close instead of forcibly terminating.
Aucun commentaire:
Enregistrer un commentaire