Menu

Cannot safely remove my USB KEy

2018-06-11
2018-06-12
  • Damien Vandame

    Damien Vandame - 2018-06-11

    Hi everybody, I'm a newbie here and maybe the issue has already been discussed, sorry I didn't find it.
    After I have dismounted the crypted disk, I want to remove my USB key, but I get a message telling me that it cannot be removed safely due to open files or process or something like that. I know I have closed every open file, and I have dismounted the crypted drive, so what can I do? Any hidden process? I looked in the task manager, but I could find any process or service containing the word Vera
    Thanks for anybody who can help.

     
    • Mounir IDRASSI

      Mounir IDRASSI - 2018-06-12

      Hi,

      If you have written data to the VeraCrypt volume, then this data is not
      immediately flushed to disk because Windows keeps it in an internal
      buffer and it is written to disk after a while. That's why the menu to
      eject the USB key will return this message even if there is no
      application using the volume. In general, Windows flushes the internal
      buffers after few minutes but the time depends on the size of the
      written data and the type of the disk. We can not control this buffer
      flush delay from VeraCrypt because it is a system behavior but there are
      some ideas to help in this:

      - One tip to speed up the flush is to mount the disk as a removable
      media in VeraCrypt (click the Option button and then check the box
      "Mount volume as removable media."). In this case, Windows tends to
      flush data more quickly to the disk. Does it work for you?
        - There is a Microsoft tool that allows to flush the buffer of disk
      manually. It's called Sync and it's available on
      https://docs.microsoft.com/en-gb/sysinternals/downloads/sync. This
      article explains how it works:
      https://www.trishtech.com/2013/12/flush-data-to-disks-with-sysinternals-sync/.

      I hope this will help.

       

Log in to post a comment.

MongoDB Logo MongoDB