定時關(guān)機方法千萬條,選用合適的定時關(guān)機方法尤為重要。雖然說可以借助第三方的工具輔助進行定時關(guān)機,但其實可以不用那么麻煩,直接使用系統(tǒng)自帶的 shutdown 命令就可以輕松解決。
方法/步驟:
1、按 Win + X 組合鍵,或右鍵點擊左下角的開始菜單,在打開的隱藏菜單項中,選擇 Windiws PowerShell (管理員)(A);

2、管理員:Windiws PowerShell 窗口中,輸入并回車執(zhí)行:shutdown 命令,即可查看到 shutdown 命令的用法及參數(shù)說明;

3、根據(jù) shutdown 命令的用法及參數(shù)說明,我們可以知道,要實現(xiàn)自動關(guān)機可以輸入以下命令:
shutdown -s -t 300
300 為自動關(guān)機距現(xiàn)在的時間,單位為秒,意思就是 300 秒后執(zhí)行自動關(guān)機,也就是 5 分鐘(具體時間設(shè)置,大家自己填上就好,注意時間單位)

4、執(zhí)行剛才的命令后,會出現(xiàn)這樣的提示,即將注銷你的登錄,Windows 將在多少分鐘后關(guān)閉;

注意:如果想讓 Win10 系統(tǒng)不顯示提示或警告信息,那么可以在命令中添加 -p 參數(shù) |