ユーティリティ schtasks を使用して Windows 10 で Windows スケジュール タスクを無効にする方法は?

ユーティリティ schtasks を使用して Windows 10 で Windows スケジュール タスクを無効にする方法は?

Windows 10 でスケジュール タスクを無効にするにはどうすればよいですか? 使用することを勧められました/disableが、どうやらそのオプションは Windows 10 ではすでになくなり、以前のバージョンの Windows では使用できたようです。

>schtasks  /?

SCHTASKS /parameter [arguments]

Description:
    Enables an administrator to create, delete, query, change, run and
    end scheduled tasks on a local or remote system.

Parameter List:
    /Create         Creates a new scheduled task.

    /Delete         Deletes the scheduled task(s).

    /Query          Displays all scheduled tasks.

    /Change         Changes the properties of scheduled task.

    /Run            Runs the scheduled task on demand.

    /End            Stops the currently running scheduled task.

    /ShowSid        Shows the security identifier corresponding to a scheduled task name.

    /?              Displays this help message.

Examples:
    SCHTASKS
    SCHTASKS /?
    SCHTASKS /Run /?
    SCHTASKS /End /?
    SCHTASKS /Create /?
    SCHTASKS /Delete /?
    SCHTASKS /Query  /?
    SCHTASKS /Change /?
    SCHTASKS /ShowSid /?

実際に無効にするかどうかは疑問ですdelete

それでどうすればいいのでしょうか?

アップデート:

これをやらなきゃのみユーティリティによってschtasks

答え1

Powershell を使用してください。

Disable-ScheduledTask -TaskName "Adobe Flash Player Update"



TaskPath                                       TaskName                          State
--------                                       --------                          -----
\                                              Adobe Flash Player Updater        Disabled

編集:

schtasks.exe を使用する場合:

schtasks.exe /change /tn "Adobe Flash Player Updater" /disable

SUCCESS: The parameters of scheduled task "Adobe Flash Player Updater" have been changed.

答え2

GUI:

  1. 「タスクスケジューラ」を開く
  2. 「タスク スケジューラ ライブラリ」 -> 「Microsoft」 -> 「Windows」、「アプリケーション エクスペリエンス」を開きます。
  3. 右クリックで「Microsoft Compatibility Appraiser」を無効にします。

CM:

schtasks /Change /Disable /TN "Microsoft\Windows\Application Experience\Microsoft Compatibility Appraiser"

答え3

最も簡単な方法は、タスク スケジューラ MMC スナップインを使用することです。Cortana の検索ボックスに「タスク スケジューラ」と入力するか、mmc.exe を実行してスナップインを手動で追加できます。GUI が表示されたら、タスクを右クリックして「無効にする」を選択します。タスクは非表示になっているだけで、まだそこにあります :) コマンド ラインが変わった理由はわかりません。奇妙ですね...

関連情報