Method 1: Using Power Options (GUI Method)
Open Control Panel
Press Win + R, type control, and hit Enter.
Alternatively, search for “Control Panel” in the Start menu.
Access Power Options
Go to Hardware and Sound → Power Options.
Modify Sleep Settings
Click ”Change plan settings” next to your active power plan.
Set ”Put the computer to sleep” to Never.
Disable Hibernation
Return to Power Options → Click ”Choose what the power buttons do”.
Select ”Change settings that are currently unavailable”.
Uncheck ”Hibernate” → Click Save changes.
Method 2: Using Command Prompt (Fast & Recommended)
Run CMD as Administrator
Search for ”Command Prompt”, right-click, and select ”Run as administrator”.
Disable Hibernation
Type the following command and press Enter:
cmd
Copy Code
powercfg -h off
This removes the hiberfil.sys file (saves 5-10GB of disk space).
Verify Status
Run:
cmd
Copy Code
powercfg /a
If it shows ”Hibernation has not been enabled”, the change was successful.
Method 3: Registry Editor (Advanced Users Only)
Open Registry Editor
Press Win + R, type regedit, and hit Enter.
Navigate to the Key
Go to:
text
Copy Code
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power
Modify the Value
Double-click HibernateEnabled → Change the value to 0 → OK.
Restart your PC for changes to take effect.
Important Notes
✔ Space Saved: Disabling hibernation deletes hiberfil.sys, freeing 5-10GB (size ≈ your RAM).
⚠ Side Effects:
Fast Startup (hybrid boot) will be disabled (slower boot times).
Laptops may lose battery-saving features.
🔄 Re-enable Hibernation: Run powercfg -h on in CMD (Admin).
Best Method?
For most users: Method 2 (CMD) is the fastest and most reliable.
For temporary prevention: Use Method 1 (set sleep to “Never”).
For IT admins: Method 3 (Registry) allows deeper control.
Need further help? Ask below! 🚀