How to remove pendrive shortcut virus from USB and Computer

Open command prompt (Run –> cmd) and go to your USB drive. For example, if Your USB drive is “ G ” drive, You will need to type G:  in command prompt and hit the enter key. This will take you to the USB drive inside the command prompt.

Run the following command:
del *.lnk

This will delete all files with the extension of a shortcut
Now run the following command:
attrib -h -r -s /s /d G:*.*

This command will remove the following attributes from all files inside the USB drive;  hidden, read-only, system.
Following these steps should remove the virus from the USB drive completely.


Posted

in

, ,

by

Tags: