Disable hibernation for faster startup and to avoid sensitive data storage
- Windows onlyThis script improves your privacy on Windows
- Single actionThis page belongs to a script, containing basic changes to achieve a task.
- Impact: High
System Functionality / Data Loss Risk: High
This action improves privacy with high impact when you run the recommended script.
- Batch (batchfile)These changes use Windows system commands to update your settings.
- Administrator rights requiredThis script requires privilege access to do the system changes
- Fully reversible
You can fully restore this action (revert back to the original behavior) using this website.
The restore/revert methods provided here can help you fix issues.
Overview
This script commands your system to deactivate the hibernation feature. Hibernate is a power-saving state that saves your current work and turns off the computer 1. When your computer hibernates, it saves the contents of its RAM to your hard disk and powers off the machine 2. Upon starting again, your computer can restore all the open programs and documents from your hard disk to its RAM 1.
If hibernation mode is enabled, sensitive data stored in RAM are be written to disk 2. The memory can contain private data, passwords, keys and so on. This could be accessed by malicious software or people with physical access to the computer. By disabling hibernation, this script reduces the risk of such potential privacy breaches.
It configures hibernate by using powercfg
command line tool 3.
This script should only be used by advanced users.
This script is not recommended for daily use as it breaks important functionality.
Consider creating a system restore point before doing any changes.
Sources
- 1. (2023).
Original: https://support.microsoft.com/en-us/windows/shut-down-sleep-or-hibernate-your-pc-2941d165-7d0a-a5e8-c5ad-8c972e8e6eff
Archived: https://web.archive.org/web/20230806164910/https://support.microsoft.com/en-us/windows/shut-down-sleep-or-hibernate-your-pc-2941d165-7d0a-a5e8-c5ad-8c972e8e6eff - 2. (2023).
Original: https://learn.microsoft.com/en-us/windows-hardware/drivers/kernel/system-sleeping-states
Archived: https://web.archive.org/web/20230712211259/https://learn.microsoft.com/en-us/windows-hardware/drivers/kernel/system-sleeping-states - 3. (2023).
Original: https://learn.microsoft.com/en-us/windows-hardware/design/device-experiences/powercfg-command-line-options
Archived: https://web.archive.org/web/20230806165041/https://learn.microsoft.com/en-us/windows-hardware/design/device-experiences/powercfg-command-line-options
Apply Now
Choose one of three ways to apply: