Shrink Hibernation File in Windows 10 and Reduce its Size

If you have hibernation enabled in your Windows 10, then a file hiberfil.sys exists in the root of your C: drive. Windows 10 stores there the memory contents when you hibernate your PC. You can shrink theĀ  hibernation file in Windows 10 with a single command.