On some servers you might see the following file appearing on you system drive: hiberfil.sys
This file is a system generated file. The system uses this file when it goes into hibernation. For a server, this might not be necessary
.
You can delete this file by using the command: powercfg –h off.
You can also create a Group Policy (rather a Group Policy Preference) for it.
Open a Group Policy that is applied to all of your servers (or create one). Navigate to:
<Computer Configuration>
<Preferences>
<Registry>
Create a new “ Registry Item” with the following values / parameters:
Action: Update
Hive: HKEY_LOCAL_MACHINE
Key Path: SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce
Value name: Disable Hibernation on Servers
Value Type: REG_SZ
Value data: %systemroot%\system32\powercfg.exe -h off
Run gpupdate /force on your server and logoff. When you log back on on to a server it will run this command once and thus will remove the hibernation file.
oh, btw. If you can’t see the hiberfil.sys on your system drive, it might be because it is hidden. Open Folder Options and select “show hidden files and folders” and deselect “ Hide Protected operating systems files”








