Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a PC with Windows 7 64x. I created a file (text file, for example). I write some text into the file, and after that I save it.

If a power failure occurs and the computer restarts, the file exists, but it is empty. It has lost all information that I've written to it.

I have tried to disable Windows 7's hard disk write cache, checked the BIOS and I couldn't find anything.

I have done this test in several machines with Windows 7 with the same results. You can try it for yourself: As I said, just create a .txt file on the Desktop, include some text and remove the power from the computer.

share|improve this question
1  
Are you seriously asking why the computer doesn't save your data when you remove power from it? –  Oliver Salzburg Feb 7 '12 at 10:43
2  
@OliverSalzburg > write in the file some text and after that i save it. Although I have to re-ask: Are you sure, user117177, that you really saved the file? When you reopen it without rebooting – is the content still there? –  slhck Feb 7 '12 at 10:46
    
Your hard drive probably cached it but never wrote it to disk. Note that disabling write caching in Windows doesn't mean anything if the disk chooses to ignore Windows' instructions to flush the buffer... in the name of performance. –  ta.speot.is Feb 7 '12 at 10:53
    
I don't suggest you messing with caches. If you have power outages problems, get a SAI or switch to more robust journaling filesystems and OS. @todda.speot.is: correct, but it's the OS that caches it and later flushes it to the disk. –  m0skit0 Feb 7 '12 at 11:32
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.