I have a portable USB flash drive that I use with my netbook. When I'm on the go, it is convenient to be able to simply close the lid and remove my flash drive without first having to use Windows's Safely Remove Hardware routine. The netbook changes to sleep mode (ACPI S3 mode) when I close the lid. Is it possible to do this safely with Windows 7 Home Premium? What about for hibernate (S4) and off modes?


The "Safely Remove Hardware" routine finishes cached/delayed writes to the drive, so data isn't left in an inconsistent state when the drive is removed. As far as I know, when your netbook changes to sleep mode it also finishes any writing to the flash drive. You can unplug the drive as soon as the netbook is actually in sleep mode (which can take several seconds after you close the lid).

If the netbook is hibernated, it should be safe to unplug the drive. A poorly-written program may throw errors when you resume if it expects the drive to be available.

If the netbook is off, it's always safe to just unplug the drive.

  • 2
    For the hibernation remember this is basically saving the current state of the computer. So if a program was using that drive you could error it out. – Unfundednut Aug 22 '10 at 4:04
  • 1
    Good point. A well-written program will handle that situation gracefully, but that isn't always the case. – Velociraptors Aug 22 '10 at 4:13
  • 1
    Furthermore, it should be fine if you plug it back in when you return, before turning the computer on. – nhinkle Aug 22 '10 at 7:07
  • 1
    Using your method, I have also found that plugging the drive back in before waking from sleep or resuming from hibernation will appear as if the drive had not been touched, and ReadyBoost doesn't invalidate the cache file, which is a big win. Now, I just have to stop the netbook from waking itself up from sleep before I get the chance to plug the drive back in. Thanks! – Timothy003 Aug 23 '10 at 4:13
  • 1
    Hibernate is worse if you're using NTFS. It will cause data loss. see superuser.com/questions/39532/… – BCoates Jul 24 '12 at 1:56

It might not generate any problem disconnecting drive while in sleep state.
But you have to make sure that none of the program is being reading any file from that drive(Like playing multimedia file on VLC and putting computer on sleep.)otherwise it may throw a problem on reading the file.

In hibernating the computer will force application to save changes to the file on which they are working so it`s safe.

While turning off computer is the safest way, because

  1. OS will close all running application. (If application is running then it forces to close the app, force close dialog will open.)
  2. If application have modified any file and file is unsaved then force close dialog will be shown. Here you get the scope to save the file, if you don`t then the application will be force closed. The file it was modifying will be on its previous state and will not carry any modification.
  3. Finally it releases all the resources used by the application, and clears the memory buffer.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.