LoginSignup
0
0

More than 3 years have passed since last update.

Windows10のシャットダウン・再起動・スリープのコマンド

Posted at

Windowsコマンドの中でよく使うものなので、メモする。

シャットダウン

%WINDIR%\system32\shutdown.exe -s -f -t 0
REM -f:強制的に実施, -t:指定した秒数後に実施

再起動

%WINDIR%\system32\shutdown.exe -r -f -t 0

スリープ(休止状態)

%WINDIR%\system32\rundll32.exe PowrProf.dll,SetSuspendState
REM 注意:ハイブリッドスリープ(バッテリ切れの時にもスリープ前の状況が復旧する)ではない。

※備考

本記事はブログ「雑用エンジニアの技術ノート」からの移行記事です。先のブログは削除予定です。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0