What happens when USB drive is taken out without ejecting?

Obviously, yanking out a drive while it’s being written to could corrupt the data. However, even if the drive isn’t actively being written to, you could still corrupt the data. By default, most operating systems use what’s called write caching to get better performance out of your computer.

Whenyou write a file  to another drive—like a flash drive—the OS waits to actually perform  those actions until it has a number of requests to fulfill, and then it  fulfills them all at once (this is more common when writing small  files). When you hit that eject button, it tells your OS to flush the  cache—that is, make sure all pending actions have been performed—so you  can safely unplug the drive without any data corruption.

To enable write caching to have better performace for a storage device, or disable write caching for quick removal of a storage device without having to use Safely Remove Hardware, you can select the appropriate option in your device manager

Step 1:
Locate your USB mass storage device under the Disk drives section of Device Manager and double click on it. Select policies tab under newly opened window

q1

Step 2:
Now you can select one of the following options

1st option disables write caching, even though performance is quite low, you will not lose your data

If your consideration is more for performance, select second option

q

 

Happy ejecting 🙂

Advertisements