Run full scan on the USB flash drive using your antivirus software.
If the cmd prompt displays the list of files/folders, you can still recover them.
Once the cmd prompt with black background appears type the following and hit Enter: attrib -h -r -s /s /d f:\*.* (Assuming f: is the drive letter for your USB flash drive in my computer.) If the files can be recovered you can run an antivirus scan on the drive and can retrieve your files. The description indicates that it is likely to be a virus or some malicious software issue.įirst off let's check if the files/folders on the drive are recoverable.