Every Windows installation keeps a hidden file named hiberfil.sys in the root of the system drive. It holds a compressed image of memory that lets the machine resume after hibernation and, on most desktops, makes Fast Startup work.
The file is large, holds no user data and cannot be moved. Knowing how Windows sizes it explains both the space it takes and the ways to take some of that space back without breaking anything.
Hibernation writes the contents of RAM to disk and then removes power from the whole machine. Memory is compressed as it is written, which is why the file is smaller than the installed RAM. On resume, the boot manager loads the image back and the session continues where it stopped.
That is different from sleep, which keeps memory powered and only pauses the processor, and different from the page file, which holds memory pages under pressure while the system runs. The hibernation file is written once at shutdown and read once at startup, so it does not appear in normal I/O statistics.
Windows stores device state alongside the memory image and reinitializes drivers on resume. A driver that does not support the transition is the usual reason a machine resumes with a black screen or a device that stopped working.
The file keeps the hidden and system attributes and is recreated at the same path whenever hibernation is turned on again, so its absence is never permanent unless the feature stays disabled.
The default full hibernation file is about 40 percent of installed physical memory, which is enough for the compressed image on a typical system. With 16 GB of RAM that is roughly 6.4 GB. The reduced type writes a smaller image intended for Fast Startup, closer to half of that, and hibernation to disk is then no longer offered.
Windows enforces a minimum size, so setting a very low percentage does not produce a tiny file. The value follows the memory installed: add RAM and the next hibernation prepare recalculates the file, which can remove several gigabytes from the free space on the system drive at once.
None of this is visible in Explorer by default. The file is marked as a protected operating system file and stays hidden until that view option is turned on, which is why the space disappears without an obvious cause. If the volume has less free space than the required size, enabling hibernation fails and the file stays absent.
Fast Startup is a hybrid shutdown. It closes user sessions but saves the kernel session to the hibernation file, so the next boot restores that session instead of initializing the kernel from scratch. The result is a shorter boot, not a clean one: some driver state survives from the previous session.
That is why a restart is recommended after driver installation and why some problems persist across shutdowns but disappear after a restart. It is also why disabling hibernation silently disables Fast Startup, and why the setting is easy to confuse with the sleep option in the power menu.
Dual-boot machines deserve care. A hibernated Windows leaves its file systems in a state that other operating systems cannot safely mount, and writing to them can corrupt data. Shut down completely before booting the other system.
One command changes everything. An elevated command prompt running powercfg /hibernate off deletes the file, frees its space and removes Fast Startup and hybrid sleep. Running powercfg /hibernate on brings it back at the default size, and powercfg /hibernate /type reduced or /size 40 adjusts what is kept.
powercfg is a tool built into Windows and is mentioned here only as part of the operating system. It is not a feature of Qiling Disk Master, and the software does not need it to back up or resize a partition.
Turning hibernation off is a trade. A laptop loses the ability to survive a battery swap with its session intact, hybrid sleep stops working and the Hibernate entry leaves the power menu. On a desktop that never hibernates, the change costs nothing and returns several gigabytes.
On a dual-boot machine, disabling hibernation before repartitioning is the safer order. The file also blocks some imaging tools from taking a consistent snapshot of the volume, so a backup planned for a hibernated system should start from a clean shutdown instead.
Deleting the file returns free space inside the same partition. If the system partition is short of room, that space can go to a neighbouring partition, or an adjacent volume can be shrunk so the system partition grows into the gap. Unallocated space has to sit directly next to the partition being extended; a gap on the far side of another volume cannot be used without moving data first. Qiling Disk Master handles both directions with a slider.
When the system partition is not the one that needs the room, the freed space can be merged with a data partition, and the component store is usually the next place to look for savings on the same drive.
Step 1. Launch Qiling Disk Master and open Resize/Move partition.

Step 2. Select the system partition and drag its edge into the unallocated space, or type the new size.

Step 3. Review the layout and click Proceed to commit the change.

No. It is a protected Windows system file created by the power management stack. Its size follows the installed memory, and its absence simply means hibernation is disabled. Do not delete it by hand; the command removes it cleanly.
There is no supported way. The file must sit at the root of the system partition so the boot manager can find it before the file system is fully mounted.
No. Sleep and hibernate are separate. Disabling hibernation removes hibernation, hybrid sleep and Fast Startup, while ordinary sleep keeps working.