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

Windows 7 徹底關閉休眠功能並釋放 C 槽空間

編輯:關於 Windows

Windows 7 預設啟用休眠,會在 C 槽建立 hiberfil.sys 檔案,佔用等同實體記憶體大小的空間。單靠電源選項設定「休眠:無」無法刪除該檔案,需用命令提示字元徹底關閉:

  1. 點選 開始 → 所有程式 → 附屬應用程式 → 命令提示字元,右鍵選 「以系統管理員身分執行」。
  2. 在視窗中輸入:powercfg -h off 並按 Enter。
  3. 重新開機後,hiberfil.sys 會自動刪除,C 槽空間隨之釋放。

若未來需重新啟用休眠,同樣以系統管理員身分執行命令提示字元,輸入 powercfg -h on 即可。

注意: 直接手動刪除 hiberfil.sys 會失敗(系統鎖定),請務必用指令正確關閉。

Copyright © Windows教程網 All Rights Reserved