Friday, August 17Care to be aware

Is it necessary to Safely Eject USB Drives From PC?

Safely Eject USB Media From PC – Explained


If I ask you to eject a pen drive while some data is being written on it, you’d refuse to do so. It might corrupt the data that’s being written on the drive, I know that.

However, even when your USB drive isn’t in active use, abruptly ejecting the drive could still corrupt the data. This happens due to the write caching process that’s used by most operating systems. So, information isn’t written immediately to the USB drive. Instead, it’s possible that some information is stored in your computer’s RAM.

When you give a copy command, the operating system waits for a number of requests to fulfill and then satisfies those requests all at once. So, it’s possible to corrupt some data if you abruptly remove a USB drive.

Why Linux, MacOS and Windows behave differently?


This behavior is more common in MacOS and Linux-based operating systems. Why not Windows? Because Microsoft’s OS disables write cache feature for the drives that it considers removable. Windows gives you an option for improved performance and quick removal. This option is accessible via Device Manager > Disk Drives > Name of drive > Properties > Policies.  It’s possible that your Windows PC has quick removal settings activated by default.usb-eject-device-3

On the other hand, Mac and Linux use write caching on almost all drives. The same behavior is shown by Windows if you choose the Better Performance option. Now, Windows will cache the data before writing it to the removal drive immediately. Also, now, you’ll be seeing the Safely Remove Hardware warning after ejecting the USB drive abruptly.

Manually Eject Your USB Drives. Always.


If you’re using a Windows PC, you might not be seeing the Safely Remove Hardware error. But, Windows doesn’t make everything clear and there are different processes going on in the background. So, it’s possible to lose data even with quick removal setting.

So, as a precaution, always manually eject all your USB drives. No matter what OS you’re using, make it a habit.

Leave a Reply

Your email address will not be published. Required fields are marked *