Hibernation is a feature of many computer operating systems where the contents of RAM are written to non-volatile storage such as a hard disk, as a file or on a separate partition, before powering off the computer. When the computer is restarted it reloads the content of memory and is restored to the state it was in when hibernation was invoked. _Wikipedia
Questions tagged [hibernation]
49 questions
0
votes
1 answer
To save the unsaved data in Azure Windows VM before a scheduled shutdown
How can we make sure to save the unsaved data (data that isn't saved by user yet) before the system goes through a scheduled shutdown
I have tried to enable the "hibernation" feature on the Windows VM. Hibernation allows the system state, including…
0
votes
0 answers
How to extend or cancel a timeout batch command in Windows
We are subject to scheduled power cuts. I use a batch command to hibernate my Windows 10 system in advance of this happening so I can resume work where I left off when power is back.
I use this batch command "timeout /t XX /NOBREAK> NUL && shutdown…
0
votes
0 answers
Black screen and computer unresponsive after unhibernation
For some time now I’ve been using hibernation but sometimes, if not most of them, when the computer wakes from hibernation, all I can see is a black screen (on both of my monitors). I am running Ubuntu 22.04 and my kernel version is…

Aggelowe
- 11
- 2
0
votes
1 answer
How can I change the auto-hibernate settings on a AWS Cloud9 EC2 Instance
While setting up the AWS Cloud9 EC2 instance, I selected 30 mins for auto-hibernation. I would like to change this to X time/Never. How do I do that?

Kashan
- 906
- 10
- 15
0
votes
1 answer
WCF: One-way callbacks timeouts after hibernation
My application has to components, one service (running as system) and one client (running in user space). Both are communicating by using WFC (localhost) and the communication works just fine, until I hibernate and resume the machine.
Since that…

YaKs
- 143
- 12
0
votes
0 answers
c# waitable timer - wake up event fires instantly
The following code example (from here) creates a waitable timer and set the system in hibernation mode. After resuming back I expected an event with executable code:
class WakeUpTimer
{
[DllImport("kernel32.dll")]
public static…

Tobias Alt
- 101
- 2
- 11
0
votes
0 answers
Can I prevent a Windows computer from going to sleep under certain conditions?
I have a Windows 10 computer that's typically used for rendering. It is therefore vital that the computer does not go into any kind of power-saving mode while either the CPUs or GPU is running at high capacity, regardless of user input (i.e. over…

Ef Em
- 1
0
votes
2 answers
Spring will not connect to database and create table
I am using Spring and mysql to create and connect to my database bookstoredatabase.
I have updated the dependencies in the pom.xml file but does not seem to work and I have use xampp mysql port 3306 so it does connect to localhost
I have searched…

Piton
- 81
- 1
- 7
0
votes
2 answers
File system inodes after hibernation on Linux
I am interested to know how the file system data structures are handled when suspending to disk.
I am wondering if it is possible to hibernate and then switch a disk (physically) and then resume. My guess is that all of the inodes in memory for…

JK Ringo
- 1
0
votes
1 answer
Shellscript: Pmset value as variable in else if script
I'm trying to write a shellscript that will change the hibernation mode from 3 to 25 and vice versa on a Mac. I try to set the result of the "pmset -g | grep hibernatemode" command as the OUTPUT variable (which gives either "hibernatemode 3" or…

Gabriel Gyarmati
- 11
- 2
0
votes
1 answer
Hibernation from C# vs Hibernation from close lid - wakeup issue
I have a problem with hibernation and wake up events.
When I go into hibernation using C# code
Application.SetSuspendState(PowerState.Hibernate, true, false);
everything works fine and computer wakes up on events. The problem is when I just close…

Artur S
- 1
- 1
0
votes
0 answers
How can I completely save an entire application and all of its memory, and re-load later?
Before I begin, let me say that this may be the most absurd question ever asked here, because I've never even heard of anything like this to know if it's remotely possible. That said, if it is possible, I'd like to find out how I can do it.
I am…

A.J. Ruckman
- 37
- 7
0
votes
1 answer
Hibernate Win7 via VBA [Excel]?
I'm looking for a way to put my notebook [Win7] into hibernation via VBA [Excel 2010]. I was searching for a solution but couldnt find a handy one.
I was playing with the SendKeys method but no luck. Then the Shell "C:\WINDOWS\System32\rundll32.exe…

Bernat
- 101
- 1
- 10
0
votes
1 answer
gethostbyname fails for local hostname after resuming from hibernate (Vista+7?)
Just wondering if anyone else has spotted this:
On some user's machines running our software, occasionally the call to Win32 winsock gethostbyname fails with error code 11004.
For the argument to gethostbyname, I'm passing in the result from…

John
- 1,974
- 2
- 25
- 32
0
votes
1 answer
networking and openvpn does not work with hibernate-script
after suspend-to-disk via hibernate-script I can't reach the internet. That happens since I use openvpn. Stopping network, restarting openvpn and the starting the network solves the problem. I want to configure hibernate-script to do this…

Sebastian Bechtel
- 363
- 1
- 3
- 12