TR Dojo Challenge: What does Windows use hiberfil.sys for and how can I remove it?

Tell me why hiberfil.sys eats up so much disk space on Windows machines and how to remove it, and you could earn a TechRepublic coffee mug.

Windows users, who want to squeeze every bit of space from a hard drive, often go looking for large system files that they can remove. If you go on such a hunt, you're likely to turn up a file named hiberfil.sys. Depending on your version of Windows and computer hardware, this file can take up several gigabytes.

Unfortunately, you can't just delete the file and reclaim the space. If you delete the file and do nothing else, the file will reappear when you restart your machine.

So, here's the question: What does hiberfil.sys do and how can you remove it?

About the TR Dojo Challenge Series

Each week, I publish a new question designed to test the technical skills and IT prowess of our TechRepublic members. You can submit an answer to the question by posting it within this post's discussion thread.

I'll accept answer submissions for one week after I post the question. At the end of the week, I'll consider the question closed and review the answers. The member, who submits the first best answer, will be featured in a follow-up TR Dojo Challenge article, posted the following week. For being featured on the site, they will also earn themselves a bit of TechRepublic swag-a coffee mug and laptop sticker.

The rules:

Only answers submitted within one week of the initial question's publication date will be considered for the follow-up article and swag.

All answers must be original and must consist of more than a link or links to third-party resources.

I will choose the correct response from the answers submitted and my decision is final.

Good Luck!