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 關閉休眠釋放硬碟空間:powercfg -h off 一指令搞定

編輯:關於 Windows

Win7 休眠功能會在系統碟建立 hiberfil.sys(大小約等於實體記憶體),佔用大量空間。若不使用休眠,以系統管理員身分執行 powercfg -h off 即可關閉休眠並自動刪除 hiberfil.sys,瞬間釋放數 GB 空間。

操作步驟

  1. Win+R → cmd → Ctrl+Shift+Enter(系統管理員身分執行)。
  2. 輸入 powercfg -h off → Enter。
  3. 完成,C:\hiberfil.sys 自動刪除,休眠選單項目消失。

補充

  • 重新啟用:powercfg -h on。
  • 睡眠功能不受影響(資料留在記憶體)。
  • SSD 系統碟建議關閉休眠減少寫入磨損。
Copyright © Windows教程網 All Rights Reserved