

Now run the following command: attrib -h -r -s /s /d E:\*.* (This command will remove the following attributes from all files inside the USB drive hidden, read-only, system).įollowing these steps should remove the virus from the USB drive completely.Run the following command: del *.lnk (This will delete all files with the extension of a shortcut.This will take me to the USB drive inside the command prompt.

For example, if my USB drive is E drive, I’ll need to type E: and hit the enter key. Open command prompt (Run –> cmd) and go to your USB drive.Now let’s clean our USB drives and restore our data. Hopefully the above steps will cleanup our system from the pendrive shortcut virus.
