The hiberfil.sys is created and used when hibernating in Windows. Sometimes can be needed to help shrink the space on a drive.
Launch a command prompt with administrator privileges.
You can hit Windows Key + R, type in cmd, and hit Ctrl + Shift + Enter together. It’ll ask you to verify that you want to launch it. Hit Yes. Alternatively you can search for the Command Prompt, Right click on it and Run as Administrator
Turn Hibernate off
powercfg -h off
A reboot should remove the file. If not you should be able to delete it. It is on the root of the drive, but you’ll need to enable hidden files and disable the “Hide protected operating system files” to see it.
Error code: 0x000000f
The Boot Configuration data for your PC is missing or contains errors.
The following notes may be of some help when trying to resolve the above error. Think the primary issue had to do with cloning a GPT drive to a RAID array that was using MBR. So think everything worked after converting it to GPT
All the commands are/were run from a recovery Command Prompt
Convert MBR disk to GPT
After running the following command the EFI directory was automatically created. The command is supposed to be non destructive. Change the disk to whichever disk your trying to change to gpt.
gpt2efi /validate /disk:0
If running the above command did not work then you may give the following command a try. Change the drive names where appropriate.
bcdboot c:\windows /s s: /f UEFI /v
You may be able to get away with just using
You can check if the above worked by seeing if it created any files in the directory, if new efi partition is S:, then from a command prompt run
Commands for recreating the EFI partition (WARNING! MAY DESTROY DATA!)
select disk # Note: Select the disk where you deleted the EFI System partition.
create partition efi
format quick fs=fat32