As you learn more about how operating systems work, you may find yourself curious about what is happening just before your system fully drops into sleep mode. With that in mind, today’s SuperUser Q&A post has the answer to a curious reader’s question.
Today’s Question & Answer session comes to us courtesy of SuperUser—a subdivision of Stack Exchange, a community-driven grouping of Q&A web sites.
The Question
SuperUser reader Ydob Emos wants to know what Windows 10 writes to a drive before going to sleep:
What does Windows 10 write to a drive before going to sleep?
I remember my Linux systems going to sleep instantly when I pressed the sleep button, which makes me wonder if I can do the same with Windows 10.
Given that Hybrid Sleep is disabled, what does Windows 10 do with my drive before going to sleep and is it necessary?
The Answer
SuperUser contributor DavidPostill has the answer for us:
Have something to add to the explanation? Sound off in the comments. Want to read more answers from other tech-savvy Stack Exchange users? Check out the full discussion thread here.
That is correct. If there is any data waiting in the disk’s write cache, it must be written to the disk before the disk is powered off. Note that disk caching can be disabled so that everything is written to the disk immediately. This ensures that data is not lost as a result of a power failure, but it does reduce performance.
Turn Disk Write Caching On or Off:
Right-click My Computer, then click Properties. Click the Hardware tab, then click Device Manager. Expand Disk Drives. Right-click the drive on which you want to turn disk write caching on or off, then click Properties. Click the Policies tab. Click to select or clear the Enable write caching on the disk check box as appropriate. Click OK.
Source: How To: Manually Turn Disk Write Caching On or Off [Microsoft]
Image Credit: Device Manager Screenshot – DavidPostill (SuperUser)