1. 以管理员身份运行powershell命令窗口
2. 输入 powercfg -h off,即可关闭休眠功能,同时 Hiberfil.sys 文件也会自动删除。
2. 输入 powercfg -h on,即可打开休眠功能