特定の時間にコンピュータを自動的にシャットダウンする方法

特定の時間にコンピュータを自動的にシャットダウンする方法

寝る前にコンピューターの電源を切るのをよく忘れますか?仕事が忙しくて時間を忘れてしまうことがよくありますか?このwikiHowでは、特定の時間にコンピューターを自動的にシャットダウンする方法を説明します。

方法1方法1/2:

タスクスケジューラの使用

  1. {"smallUrl":"https:\/\/www.wikihow.com\/images_en\/thumb\/d\/d7\/Automatically-Shut-Down-Your-Computer-at-a-Specified-Time-Step-1-Version-5.jpg\/v4-460px-Automatically-Shut-Down-Your-Computer-at-a-Specified-Time-Step-1-Version-5.jpg","bigUrl":"https:\/\/www.wikihow.com\/i mages\/thumb\/d\/d7\/Automatically-Shut-Down-Your-Computer-at-a-Specified-Time-Step-1-Version-5.jpg\/v4-728px-Automatically-Shut-Down-Your-Computer-at-a-Specified-Time-Step-1-Version-5.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":" class=\"mw-parser-output\"><\/div>"} 1タスク スケジューラを開きます。 Windows 7 および Windows 8 ではタスク スケジューラを使用できます。 Windows 7 では、[スタート] メニュー → [コントロール パネル] → [システムとセキュリティ] → [管理ツール] → [タスク スケジューラ] をクリックします。 Windows 8 では、 Winキーを押して「タスクのスケジュール」と入力し、検索結果から「タスク スケジューラ」プログラムを選択します。
  2. {"smallUrl":"https:\/\/www.wikihow.com\/images_en\/thumb\/4\/4d\/Automatically-Shut-Down-Your-Computer-at-a-Specified-Time-Step-2-Version-5.jpg\/v4-460px-Automatically-Shut-Down-Your-Computer-at-a-Specified-Time-Step-2-Version-5.jpg","bigUrl":"https:\/\/www.wikihow.com\/i mages\/thumb\/4\/4d\/Automatically-Shut-Down-Your-Computer-at-a-Specified-Time-Step-2-Version-5.jpg\/v4-728px-Automatically-Shut-Down-Your-Computer-at-a-Specified-Time-Step-2-Version-5.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"<div class=\"mw-parser-output\"><\/div>"} 2「基本タスクの作成...」をクリックします。このオプションは、ウィンドウの右側の [アクション] メニューにあります。タスクの名前と説明を入力する必要があります。タスクには、「スケジュールされたシャットダウン」などの簡単な名前を付けるようにしてください。 「次へ >」をクリックします。
  3. {"smallUrl":"https:\/\/www.wikihow.com\/images_en\/thumb\/2\/21\/Automatically-Shut-Down-Your-Computer-at-a-Specified-Time-Step-3-Version-5.jpg\/v4-460px-Automatically-Shut-Down-Your-Computer-at-a-Specified-Time-Step-3-Version-5.jpg","bigUrl":"https:\/\/www.wikihow.com\/i mages\/thumb\/2\/21\/Automatically-Shut-Down-Your-Computer-at-a-Specified-Time-Step-3-Version-5.jpg\/v4-728px-Automatically-Shut-Down-Your-Computer-at-a-Specified-Time-Step-3-Version-5.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"<div class=\"mw-parser-output\"><\/div>"} 3タスクの頻度を選択します。 [タスク トリガー] ページで、[毎日] オプションを選択し、 [次へ]をクリックします。次に、特定のシャットダウン時間を選択し、毎晩コンピューターを自動的にシャットダウンする時間を選択します。 「発生間隔: X 日」を「1」に設定したままにします。 「次へ >」をクリックします。
  4. {"smallUrl":"https:\/\/www.wikihow.com\/images_en\/thumb\/a\/a9\/Automatically-Shut-Down-Your-Computer-at-a-Specified-Time-Step-4-Version-4.jpg\/v4-460px-Automatically-Shut-Down-Your-Computer-at-a-Specified-Time-Step-4-Version-4.jpg","bigUrl":"https:\/\/www.wikihow.com\/i mages\/thumb\/a\/a9\/Automatically-Shut-Down-Your-Computer-at-a-Specified-Time-Step-4-Version-4.jpg\/v4-728px-Automatically-Shut-Down-Your-Computer-at-a-Specified-Time-Step-4-Version-4.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"<div class=\"mw-parser-output\"><\/div>"} 4「プログラムの開始」を選択します。このオプションは「操作」インターフェイスにあり、コンピューターが自動的に選択するデフォルト オプションになります。 [次へ >]ボタンをクリックします。
  5. {"smallUrl":"https:\/\/www.wikihow.com\/images_en\/thumb\/8\/88\/Automatically-Shut-Down-Your-Computer-at-a-Specified-Time-Step-5-Version-5.jpg\/v4-460px-Automatically-Shut-Down-Your-Computer-at-a-Specified-Time-Step-5-Version-5.jpg","bigUrl":"https:\/\/www.wikihow.com\/i mages\/thumb\/8\/88\/Automatically-Shut-Down-Your-Computer-at-a-Specified-Time-Step-5-Version-5.jpg\/v4-728px-Automatically-Shut-Down-Your-Computer-at-a-Specified-Time-Step-5-Version-5.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"<div class=\"mw-parser-output\"><\/div>"} 5シャットダウン プログラムへのパスを入力します。 Windows がシャットダウンすると、実際にはシャットダウン プログラムが実行されます。プログラムまたはスクリプトに、 C:\Windows\System32\shutdown.exeと入力します。
    • パラメータの追加フィールドに「/s」と入力します。 「次へ >」をクリックします。
  6. {"smallUrl":"https:\/\/www.wikihow.com\/images_en\/thumb\/3\/31\/Automatically-Shut-Down-Your-Computer-at-a-Specified-Time-Step-6-Version-4.jpg\/v4-460px-Automatically-Shut-Down-Your-Computer-at-a-Specified-Time-Step-6-Version-4.jpg","bigUrl":"https:\/\/www.wikihow.com\/i mages\/thumb\/3\/31\/Automatically-Shut-Down-Your-Computer-at-a-Specified-Time-Step-6-Version-4.jpg\/v4-728px-Automatically-Shut-Down-Your-Computer-at-a-Specified-Time-Step-6-Version-4.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"<div class=\"mw-parser-output\"><\/div>"} 6設定を参照します。概要画面で設定を確認し、正しい時刻が選択されていることを確認します。タスクを保存するには、 [完了]ボタンをクリックします。この時点で、コンピューターは毎日特定の時間に自動的にシャットダウンするようになります。 [1] 広告する
方法2方法2/2:

BATファイルを作成する

  1. {"smallUrl":"https:\/\/www.wikihow.com\/images_en\/thumb\/b\/b1\/Automatically-Shut-Down-Your-Computer-at-a-Specified-Time-Step-7-Version-4.jpg\/v4-460px-Automatically-Shut-Down-Your-Computer-at-a-Specified-Time-Step-7-Version-4.jpg","bigUrl":"https:\/\/www.wikihow.com\/i mages\/thumb\/b\/b1\/Automatically-Shut-Down-Your-Computer-at-a-Specified-Time-Step-7-Version-4.jpg\/v4-728px-Automatically-Shut-Down-Your-Computer-at-a-Specified-Time-Step-7-Version-4.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"<div class=\"mw-parser-output\"><\/div>"} 1メモ帳を開きます。これを行うには、[スタート] メニュー > [すべてのプログラム] > [アクセサリ] > [メモ帳] に移動します。または、[スタート] メニューで「Notepad」(引用符なし) と入力して Enter キーを押します。
  2. {"smallUrl":"https:\/\/www.wikihow.com\/images_en\/thumb\/4\/41\/Automatically-Shut-Down-Your-Computer-at-a-Specified-Time-Step-8-Version-5.jpg\/v4-460px-Automatically-Shut-Down-Your-Computer-at-a-Specified-Time-Step-8-Version-5.jpg","bigUrl":"https:\/\/www.wikihow.com\/i mages\/thumb\/4\/41\/Automatically-Shut-Down-Your-Computer-at-a-Specified-Time-Step-8-Version-5.jpg\/v4-728px-Automatically-Shut-Down-Your-Computer-at-a-Specified-Time-Step-8-Version-5.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"<div class=\"mw-parser-output\"><\/div>"} 2次のコードをコピーします。
    • @エコーオフ
    • :W
    • %time%==00:00:00.00 の場合、:X に移動します
    • 行く:W
    • :X
    • Shutdown.exe /s /f /t 60 /c 「寝るぞ!!!!!!」
      • このコマンドは、時刻を常にチェックして、真夜中かどうかを確認します。真夜中の場合は、「寝てください!!!」というメッセージが送信され、コンピューターが自動的にシャットダウンされます。
  3. {"smallUrl":"https:\/\/www.wikihow.com\/images_en\/thumb\/4\/40\/Automatically-Shut-Down-Your-Computer-at-a-Specified-Time-Step-9-Version-5.jpg\/v4-460px-Automatically-Shut-Down-Your-Computer-at-a-Specified-Time-Step-9-Version-5.jpg","bigUrl":"https:\/\/www.wikihow.com\/i mages\/thumb\/4\/40\/Automatically-Shut-Down-Your-Computer-at-a-Specified-Time-Step-9-Version-5.jpg\/v4-728px-Automatically-Shut-Down-Your-Computer-at-a-Specified-Time-Step-9-Version-5.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"<div class=\"mw-parser-output\"><\/div>"} 3 「if %time%==" 部分の時間を任意の時間に変更します。入力する時間は、HH:MM:SS.MS の 24 時間形式でなければなりません。そうでない場合は、正しく機能しません。
  4. {"smallUrl":"https:\/\/www.wikihow.com\/images_en\/thumb\/a\/a7\/Automatically-Shut-Down-Your-Computer-at-a-Specified-Time-Step-10-Version-3.jpg\/v4-460px-Automatically-Shut-Down-Your-Computer-at-a-Specified-Time-Step-10-Version-3.jpg","bigUrl":"https:\/\/www.wikihow.com\/i mages\/thumb\/a\/a7\/Automatically-Shut-Down-Your-Computer-at-a-Specified-Time-Step-10-Version-3.jpg\/v4-728px-Automatically-Shut-Down-Your-Computer-at-a-Specified-Time-Step-10-Version-3.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"<div class=\"mw-parser-output\"><\/div>"} 4 「ファイル」>「名前を付けて保存」に移動します。
    • 「ファイルの種類」を「すべてのファイル」に変更します。
    • ファイル名フィールドに「timer.bat」と入力し、「保存」をクリックします。
  5. {"smallUrl":"https:\/\/www.wikihow.com\/images_en\/thumb\/e\/e0\/Automatically-Shut-Down-Your-Computer-at-a-Specified-Time-Step-11-Version-3.jpg\/v4-460px-Automatically-Shut-Down-Your-Computer-at-a-Specified-Time-Step-11-Version-3.jpg","bigUrl":"https:\/\/www.wikihow.com\/i mages\/thumb\/e\/e0\/Automatically-Shut-Down-Your-Computer-at-a-Specified-Time-Step-11-Version-3.jpg\/v4-728px-Automatically-Shut-Down-Your-Computer-at-a-Specified-Time-Step-11-Version-3.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"<div class=\"mw-parser-output\"><\/div>"} 5ファイルをダブルクリックします。画面に空白のコマンド プロンプト画面が表示されます。
  6. {"smallUrl":"https:\/\/www.wikihow.com\/images_en\/thumb\/b\/b8\/Automatically-Shut-Down-Your-Computer-at-a-Specified-Time-Step-12-Version-3.jpg\/v4-460px-Automatically-Shut-Down-Your-Computer-at-a-Specified-Time-Step-12-Version-3.jpg","bigUrl":"https:\/\/www.wikihow.com\/i mages\/thumb\/b\/b8\/Automatically-Shut-Down-Your-Computer-at-a-Specified-Time-Step-12-Version-3.jpg\/v4-728px-Automatically-Shut-Down-Your-Computer-at-a-Specified-Time-Step-12-Version-3.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"<div class=\"mw-parser-output\"><\/div>"} 6作業中はこのウィンドウを閉じないでください。
  7. {"smallUrl":"https:\/\/www.wikihow.com\/images_en\/thumb\/3\/35\/Automatically-Shut-Down-Your-Computer-at-a-Specified-Time-Step-13-Version-3.jpg\/v4-460px-Automatically-Shut-Down-Your-Computer-at-a-Specified-Time-Step-13-Version-3.jpg","bigUrl":"https:\/\/www.wikihow.com\/i mages\/thumb\/3\/35\/Automatically-Shut-Down-Your-Computer-at-a-Specified-Time-Step-13-Version-3.jpg\/v4-728px-Automatically-Shut-Down-Your-Computer-at-a-Specified-Time-Step-13-Version-3.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"<div class=\"mw-parser-output\"><\/div>"} 7手順 3 で設定した時間に達すると、コンピューターにメッセージが表示され、1 分後にシャットダウンします。
  8. {"smallUrl":"https:\/\/www.wikihow.com\/images_en\/thumb\/f\/f0\/Automatically-Shut-Down-Your-Computer-at-a-Specified-Time-Step-14-Version-3.jpg\/v4-460px-Automatically-Shut-Down-Your-Computer-at-a-Specified-Time-Step-14-Version-3.jpg","bigUrl":"https:\/\/www.wikihow.com\/i mages\/thumb\/f\/f0\/Automatically-Shut-Down-Your-Computer-at-a-Specified-Time-Step-14-Version-3.jpg\/v4-728px-Automatically-Shut-Down-Your-Computer-at-a-Specified-Time-Step-14-Version-3.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"<div class=\"mw-parser-output\"><\/div>"} 8シャットダウンを終了する場合は、Windowsキー(Microsoftのロゴがあるキー)+Rキーを押します。
  9. {"smallUrl":"https:\/\/www.wikihow.com\/images_en\/thumb\/3\/35\/Automatically-Shut-Down-Your-Computer-at-a-Specified-Time-Step-15-Version-3.jpg\/v4-460px-Automatically-Shut-Down-Your-Computer-at-a-Specified-Time-Step-15-Version-3.jpg","bigUrl":"https:\/\/www.wikihow.com\/i mages\/thumb\/3\/35\/Automatically-Shut-Down-Your-Computer-at-a-Specified-Time-Step-15-Version-3.jpg\/v4-728px-Automatically-Shut-Down-Your-Computer-at-a-Specified-Time-Step-15-Version-3.jpg","smallWidth":460,"smallHeight":345,"bigWidth":728,"bigHeight":546,"licensing":"<div class=\"mw-parser-output\"><\/div>"} 9表示されるウィンドウで、「shutdown -a」(引用符なし)と入力し、Enter キーを押します。コマンド プロンプト ウィンドウが表示され、その後消えます。すると、次のようなバルーン型のウィンドウが表示されます。 広告する

警告する

  • これらの手順は Windows 7 ユーザーのみ対象です。このプログラムは他のオペレーティング システムでは使用できない可能性があります。
  • コマンド プロンプト ウィンドウを閉じないでください。必要に応じてウィンドウを最小化できます。
広告する

<<:  密造酒の作り方

>>:  MAC OSでPingコマンドを使用する方法

推薦する

永続的で幸せな関係を築く方法

これまでの関係が長続きせず、長期的な関係を築ける理想的なパートナーを見つけるのが依然として難しい場合...

FirefoxでCookieを有効にする方法

クッキーは、インターネット クッキー、ブラウザ クッキー、HTTP クッキーとも呼ばれ、ユーザーが使...

考えすぎを避ける方法

何かをする前によく考えるべきだということは誰もが知っていますが、時には、何らかの問題に直面したときに...

マルチメディアパソコンの作り方

今日、娯楽生活におけるインターネットの中心的な役割はますます顕著になってきています。テレビ、インター...

AndroidでSweatcoinから現金を引き出す方法

Sweatcoin は、歩数や運動量を追跡し、報酬を与えるフィットネス アプリです。 Sweatco...

衣服から糸くずを取り除く方法

美しい衣服も髪の毛がくっつくことで台無しになることがあります。濃い色の衣服であればさらにひどいことに...

社会意識を高める方法

社会意識を育むには、人々とグループ、コミュニティ間の社会的関係について学ぶことが含まれます。社会意識...

YouTube中毒から抜け出す方法

YouTube 中毒になるのは冗談ではありません。最初はランダムにいくつかのビデオを視聴するだけです...

自宅で血腫を治療する方法

血腫とは、局所的な皮下出血のことで、皮膚に赤紫色のあざがはっきりと浮き出るものです。通常、体への鈍的...

手を繋ぐ方法

あなたが夢中になっている人に手を握ってもらいたいですか?それとも、お互いに手をつなぐ良い方法を探して...

レンズ豆のスープの作り方

レンズ豆のスープは、簡単に作れる、おいしくて健康的な料理です。すべての材料を加えたら、時々かき混ぜる...

軍用時刻の読み方

24 時間制は軍隊で使用されるだけでなく、北米以外の多くの国でも標準的な慣習となっています。しかし、...

自分に忠実であり続ける方法

特に他人の望みを叶えたり、他人を喜ばせたりすることに慣れている場合、自分を主張するのは難しいことです...

ジムでのトレーニング方法

ジムで運動する人のほとんどが、実際にはあまり成果を上げていないことに気づいたことがありますか?トレッ...

オタクっぽい服装をする方法

テーマのあるパーティーに参加する場合でも、単に見た目を変えたい場合でも、この記事を読めば、自分の中の...