How To Recover Files Lost On A Usb Due To A Virus?

It is easy for a USB flash to drive to be attacked by a virus. Continue reading to know how to recover files lost on a USB due to a virus.

how to recover files lost on a USB due to a virus

However, don't stress, we will show you the ideal approach to help you recover files from virus-infected USB flash drives.

  • Connect your USB device to your system and wait till the system identifies it.
  • Press Win + R together to launch the Run window.
  • In the Run field, type in cmd and tap the Enter key on your keyboard.
  • On the command line, enter chkdsk D:/f and tap the Enter key on your keyboard.

*Note: D is the hard drive letter of the drive you need to recover, and you can replace it with the comparing drive letter of the USB drive that needs to be recover.

  • Type Y on the following line and hit the Enter key.
  • Type D or the right drive letter for the USB drive and tap Enter once more.
  • Key in this command: D:\>attrib - h - r - s/s/d*.* and then press the Enter key. Once more, replace D with the correct drive letter of the device.
  • Wait until the system finishes executing the command. Continue to File Explorer and check if a new folder containing the recovered files is made in the USB drive.

This method might seem tough, but this is the easiest way to recover your deleted documents or files from your USB. If the command prompt method doesn't work, then you need to go for recovery software. Choose genuine software to recover your data. Finally know how to recover files lost on a USB due to a virus.