Hi,
This morning I woke up to a computer that was turned on - "oh great, Windows Update resumed from standby again, and even did it in spite of me turning off wake timers". That would have been a minor annoyance to start the day with, unfortunately it also turned out the image file backing my persistent ramdisk had been corrupted, and I had forgotten to add the folders on it I cared about to my backup set.
Iirc I had a 3GB image size, but the file was 2.756.941.312 bytes, so we're probably seeing a case of of Windows forcefully shutting down before RAM Disk has a chance to flush the image fully to disk...
Is there anything you can do to prevent Windows from doing the forceful reboot before the image file has been properly written to disk? I'd hate for this to happen another time
Win10 x64, now running 1709/16299.547 after the update. SoftPerfect RamDisk 4.0.4 before, now updated to 4.0.7.
SoftPerfect RAM Disk
How to prevent Windows 10 update from corrupting RamDisk image
Started by snemarch
How to prevent Windows 10 update from corrupting RamDisk image 26 July 2018, 03:36 |
Registered: 11 years ago Posts: 6 |
Re: How to prevent Windows 10 update from corrupting RamDisk image 27 July 2018, 13:40 |
Admin Registered: 18 years ago Posts: 3 556 |
Unfortunately Windows 10 is somewhat "cruel" with applications, services and even drivers that run on it. I guess Microsoft designed it this way to make such slow and heavy system appear to work faster by killing running tasks after a rather short timeout.
There is a relevant registry setting that applies to services, though I am not sure if it works for drivers too:
Other than that, a frequent backup is a must. My experience suggests things can go wrong anytime for various reasons, from a software bug to a physically dead hard drive.
There is a relevant registry setting that applies to services, though I am not sure if it works for drivers too:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\WaitToKillServiceTimeoutIt is the time in milliseconds before the system starts killing services. Again, this may or may not work for drivers, but it could since drivers are started and stopped by the service control manager (SCM).
Other than that, a frequent backup is a must. My experience suggests things can go wrong anytime for various reasons, from a software bug to a physically dead hard drive.
Renato
Re: How to prevent Windows 10 update from corrupting RamDisk image 13 October 2023, 10:42 |
Re: How to prevent Windows 10 update from corrupting RamDisk image 13 October 2023, 14:01 |
Admin Registered: 18 years ago Posts: 3 556 |