Windows Tweaks Logo Microsoft PC-Hilfe - 02 blue red
Windows Tweaks Logo Microsoft PC Help - 09 white 120

hiberfil.sys: Lösche die große Datei oder optimiere damit den Ruhezustand in Windows (2026)

Updated: April 15, 2025
Published: December 6, 2023
  • Hibernation file: Learn how the large hiberfil.sys controls the sleep mode ("hibernation mode") of Windows 11 / 10 / 7.
  • Deleting and reducing: Use all methods with which you can safely delete, reduce, deactivate or reactivate hiberfil.sys, for example with the commands powercfg -h on and off or /h /type reduced.
  • Hibernate to boot faster or free up space: Save disk space or increase your boot speed by making simple adjustments to the hibernation file.

Quick overview:

What is Hiberfil.sys - and why is the file so large?

Die hiberfil.sys ist eine dieser sehr großen Windows-Systemdateien. Oft einige Gigybyte groß machen sie sich irgendwann meist so bemerkbar:

Der Windows-PC läuft langsamer als sonst oder der Festplatten-Speicherplatz geht plötzlich zur Neige.

Oder beides.

Und dann entdeckt man diese versteckte Datei im Hauptverzeichnis von Windows (meist Laufwerk "C", siehe Bild).

What does hiberfil.sys do and why do we need it?

The hiberfil.sys is the so-called hibernation file, which is often huge in Windows 10/11/7 and plays a central role in the hibernation mode of your PC.

Ihr Name hiberfil leitet sich von "hibernate" ab, auf Deutsch: Winterschlaf.

In Windows-Versionen wie Windows 11, 10, 8 und 7 speichert sie den aktuellen Zustand deines PCs, inklusive aller offenen Programme und Dokumente.

It enables your Windows computer to boot up again faster from the "sleep mode" and pick up right where you left off in no time at all.

Ohne diese Datei könnte der Ruhezustand nicht funktionieren.

But why is the size of the hiberfil.sys file sometimes gigantic?

Ganz einfach: Sie muss den gesamten Inhalt deines Arbeitsspeichers aufnehmen können.

Das bedeutet: Je mehr Arbeitsspeicher dein PC nutzt, desto größer wird die Datei.

However, unlike the Windows swap file, it only saves the memory contents for waking up quickly from standby "sleep mode".

Delete Hiberfil.sys and deactivate hibernation - is that risky? (Incl. instructions)

Du fragst dich, ob das Löschen der hiberfil.sys eine gute Idee ist? Denn die Datei ist sehr groß und du möchtest dein Microsoft-Betriebssystem schneller machen oder Speicherplatz freiräumen?

Wir zeigen, wann es Sinn macht, die Ruhezustanddatei zu entfernen, und wie du das durchführst.

Can I delete the hiberfil.sys in Windows 10 / 11?

Ja, du kannst die hiberfil.sys löschen, aber es gibt ein paar Dinge zu beachten.

In den verschiedenen Windows-Versionen, wie Windows 10, 8 und 7, ist sie für den Ruhezustand verantwortlich.

First open the command prompt with administrator rights. This is easy to do via the start menu: Enter cmd in the search field, right-click on the result and select "Run as administrator" (or in Windows 11/10 click directly on the entry that appears on the right, see image below).

Aber Achtung: Ohne sie funktioniert der Standby-Hibernation-Mode nicht mehr.

Der Mittelweg: Willst du sie lieber verkleinern anstatt sie zu löschen? Dann springe zum Abschnitt weiter unten...

Instructions for deleting hiberfil.sys - how to deactivate hibernation mode

Diese 3 Schritte zeigen dir, wie du die hiberfil.sys in Windows 11 / 10 / 7 / XP sicher löschst:

  1. First open the command prompt with administrator rights. This is easy to do via the start menu: Enter cmd in the search field, right-click on the result and select "Run as administrator" (or in Windows 11/10 click directly on the entry that appears on the right, see image below).
  2. Confirm the opening briefly by clicking on "Yes".
  3. Then enter the command powercfg -h off and press Enter (alternatively, the command powercfg.exe /hibernate off also works).

Voilà, die hiberfil.sys ist gelöscht, dein Ruhezustand deaktiviert und dein Festplattenspeicher freut sich.

You will no longer find the deleted file in Explorer, see the screenshot below (only pagefile.sys and swapfile.sys are still there).

Here are the picture instructions with the individual steps:

Video guide for deleting and deactivating hibernation mode

Advantages and disadvantages of deactivation

Der Vorteil: Wenn du die hiberfil.sys deaktivierst, gewinnst du Speicherplatz zurück, da diese Datei oft mehrere Gigabyte groß sein kann.

Der Nachteil? Der Standby-Modus deines Windows-PCs wird nicht mehr verfügbar sein.

Das bedeutet, dass du deinen Computer komplett herunterfahren musst, anstatt ihn schnell in den Sleep-Mode zu versetzen und später nahtlos weiterzuarbeiten.

Der Start deines PCs ohne die Hibernation-Datei wird also höchstwahrscheinlich länger dauern.

Restore deleted hiberfil.sys (activate hibernation mode)

Falls du den Ruhezustand auf deinem PC wieder nutzen möchtest, kein Problem!

Wir zeigen dir, wie du ihn wieder aktivieren kannst, sodass du die Vorteile eines schnellen Starts und nahtlosen Weiterarbeitens genießen kannst.

Das Aktivieren bzw. Reaktivieren des Ruhezustands ist genauso einfach wie das Deaktivieren:

  • Open the command prompt again as an administrator. You can do this by entering cmd in the start menu, followed by a right-click on the search result and selecting "Run as administrator".
  • Then enter the command powercfg -h on and confirm with Enter (works identically: powercfg.exe /hibernate on)

Damit aktivierst du den Ruhezustand und die hiberfil.sys wird wieder benötigt und automatisch erstellt.

How can I reduce the size of Hiberfil.sys? (2 methods)

Das Verkleinern der hiberfil.sys ist ein häufiges Anliegen der Nutzer - um Speicherplatz zu sparen, ohne dabei auf wichtige Funktionen wie den Ruhezustand verzichten zu müssen.

The good news: Microsoft has expanded the functions and from Windows 10 you can reduce the hiberfil.sys automatically or user-defined.

We show you how to effectively save hard disk space in Windows 11 and Windows 10 and reduce the size of the hibernation file without completely giving up your standby mode.

1. Automatically reduce the size of hiberfil.sys (Windows determines the size)

In Windows 10 kannst du die Größe der hiberfil.sys automatisch per powercfg-Befehl reduzieren.

Dies geschieht über einen speziellen Befehl in der Eingabeaufforderung:

  • Open the command prompt as administrator and enter the command powercfg /h /type reduced.

Nach der Eingabe erscheint ein Text mit Bestätigung der jeweiligen Größe - in meinem Fall:

Die Größe der Ruhezustanddatei wurde auf 1717874688 Bytes festgelegt.

Dadurch wird die hiberfil.sys automatisch verkleinert, nach Systemvorgaben, wobei die Funktionalität des Ruhezustands größtenteils erhalten bleibt.

Aber eingeschränkt:

Durch das Verkleinern der Datei wird der Ruhezustand möglicherweise etwas langsamer, da weniger Daten im Voraus gespeichert werden können.

Es ist ein Kompromiss zwischen Speicherplatz und Schnelligkeit.

2. customize the size of hiberfil.sys (you specify the size)

Du möchtest die hiberfil.sys benutzerdefiniert verkleinern und auf eine Größe deiner Wahl festlegen?

Dafür öffnest du die Eingabeaufforderng wieder mit Adminitratorrechten und tippst folgenden Befehl ein:

Powercfg /h /size nn

Replace the variable nn with a value between the minimum value 40 and maximum value 100.

Use this command to activate the hibernation mode and specify the size of the hibernation file as a percentage of the installed memory.

Beispiel: Hier habe ich meine Hibernation-Datei auf 80 Prozent festgelegt:

Tipp: Wähle keine zu kleine Zahl, da sonst der aktuelle Speicherinhalt nicht mehr in die verkleinerte hiberfil.sys eingefügt werden kann.

Can I move the Hiberfil.sys?

EIn Verschieben der hiberfil.sys auf ein anderes Laufwerk ist leider nicht so einfach möglich.

Windows legt diese Datei bewusst auf dem Systemlaufwerk ab, da sie für den Ruhezustand von zentraler Bedeutung ist.

Ein Versuch, sie zu verschieben, könnte zu Systeminstabilitäten oder sogar zum Verlust der Ruhezustandsfunktion führen.

Daher raten wir davon ab, diese Datei zu verschieben.

If you still want to try to free up space on your system drive, we recommend other methods: deleting unnecessary files or minimizing hiberfil.sys as described in the previous sections.

Differences of the hibernation file in Windows 11 / 10 / 7 / XP and before

In Windows 10 und 11 hat Microsoft die Handhabung der Hibernation-Datei optimiert.

Diese neueren Versionen bieten verbesserte Einstellungsmöglichkeiten, wie das schnelle Reduzieren der Dateigröße für den Ruhezustand über die Eingabeaufforderung.

Windows 11 und 10 sind auch effizienter im Umgang mit Speicherplatz, was bedeutet, dass die hiberfil.sys weniger Platz auf deiner Festplatte beansprucht.

In älteren Windows-Versionen war ihre Verwaltung weniger flexibel.

Windows 8, Windows 7, Windows XP und Vista beispielsweise hatten nicht dieselben Befehlszeilenoptionen zur Optimierung der hiberfil.sys wie Windows 10 und 11 - das Verkleinern war noch nicht möglich.

Und ganz früher in Windows 2000 und ME war der Ruhezustand eine neuere Funktion und wurde daher nicht so effizient verwaltet wie in späteren Versionen.

Summary

  • Function: The hiberfil.sys is a central system file that is responsible for the hibernation of your Windows PC. It stores the contents of your working memory to enable you to wake up quickly.
  • Delete & deactivate sleep mode: You can deactivate or delete the hibernation file to save storage space, especially if you are not using sleep mode. But keep in mind that sleep mode will no longer be available as a result.
  • Reduce size for memory optimization: If you want to save memory without giving up hibernation completely, you can reduce the size of hiberfil.sys in Windows 11 and 10.

FAQ

Source reference

Founded Windows Tweaks as a teenager in 2001, his helpful PC tricks made it Germany's most visited Windows site (at the time Sandro looked like this). He then went on to write for international publications such as PC-Praxis, Computerbild, PCWorld in the USA, IMTEST.de and Hifi.de. Sandro's main job is as Global Product Marketing Lead and Consultant for various global tech companies, including Microsoft, AVG, Avast, Nero, TeamViewer, Swiss IT Security Group and now currently in the fintech sector for Gendigital. But he can't get rid of his passion and shares his tweaks here again. Privately, he enjoys traveling the world and loves Asia, especially Japan, Singapore and Korea, but also natural places like Iceland and the Nordics. You can reach Sandro via e-mail.

2 Kommentare zu: hiberfil.sys: Lösche die große Datei oder optimiere damit den Ruhezustand in Windows (2026)

Leave a Reply

Your email address will not be published. Required fields are marked *

Windows Tweaks Logo Microsoft PC Help - 09 white 120
by Real Tech Experts
Save time and stress with expert knowledge about software, hardware, AI & Microsoft. 
Windows Tweaks Microsoft PC Help - SINCE 1998 - retina 2

Time-saving tips for PCs, laptops, Windows & software?

Subscribe to our newsletter and receive only our best guides & tweaks as well as exclusive tips for our subscribers. 
Newsletter-Form
Unsubscribe at any time. Approximately 1 - 2 emails per month. This consent includes information on revocation, shipping service provider, and statistics according to our Privacy Policy.
© 1998 - 2026 Windows-Tweaks.info
Made in Germany with ❤️ 
For all technology users around the globe.
This website runs on 🌳 GREEN energy
crossmenu