Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學
您现在的位置: Windows教程網 >> Windows教程 >  >> Windows 綜合教學 >> 關於 Windows

Win7 設定睡眠喚醒需輸入密碼教學:電源選項→喚醒時密碼保護啟用步驟

編輯:關於 Windows

為保護資料安全,建議設定 Windows 7 從睡眠/待機喚醒時必須輸入密碼。本文圖文說明透過電源選項啟用「喚醒時需要密碼」的完整步驟。

操作步驟

  1. 「開始」→「控制台」。
  2. 「系統及安全性」→「電源選項」。
  3. 左側點擊「喚醒電腦時需要密碼」。
  4. 點擊「變更目前無法使用的設定」(需管理員權限,UAC 提示點「是」)。
  5. 在「喚醒時的密碼保護」區塊,選擇 「需要密碼 (建議)」。
  6. 點擊「儲存變更」。

驗證

  1. Win+L 鎖定電腦 / 合上筆電螢幕 / 選單「睡眠」。
  2. 喚醒 (按鍵/滑鼠/開蓋) → 應出現登入畫面要求輸入密碼。

相關設定補充

設定項目路徑說明
螢幕保護程式啟動需密碼個人化 → 螢幕保護程式 → 勾選「繼續時顯示登入畫面」螢保啟動後同樣需密碼
關閉筆電合蓋動作電源選項 → 選擇合蓋時的動作 → 「合上蓋子」設為「睡眠」/「休眠」/「不做任何事」配合喚醒需密碼實現合蓋即鎖定
閒置自動睡眠時間電源選項 → 變更計畫設定 → 「使電腦進入睡眠」設定分鐘數離位自動鎖定
動態鎖定 (Win10)設定 → 帳戶 → 登入選項 → 動態鎖定 → 配對手機藍牙離開藍牙範圍自動鎖定 (Win7 無此功能)

命令列快速切換 (腳本適用)

# 啟用喚醒需密碼
powercfg -setacvalueindex scheme_current sub_none consolock 1
powercfg -setdcvalueindex scheme_current sub_none consolock 1
powercfg -setactive scheme_current

# 停用喚醒需密碼
powercfg -setacvalueindex scheme_current sub_none consolock 0
powercfg -setdcvalueindex scheme_current sub_none consolock 0
powercfg -setactive scheme_current

注意事項

  • 若帳戶**未設定密碼**,喚醒時將直接進入桌面 (無密碼可輸入)、**請務必為帳戶設定密碼**。
  • 企業環境可能由群組原則強制 `Interactive logon: Machine inactivity limit` / `Require a password when a computer wakes (on battery/plugged in)`,本地設定可能被覆蓋。
  • 休眠 喚醒同樣受此設定控制。
Copyright © Windows教程網 All Rights Reserved