Thursday, 7 August 2014

Removing the Shortcut Virus

I came across an intersting virus today.

Everything in pendrive becomes a shortcut. Although the file is not visible on the pen drive, it opens correctly when you click the shortcut.


These commands can be run on command prompt and are helpful to remove such virus from pendrive:

attrib F:\*.* /d /s -h -r -s

or

attrib -h -r -s /s /d f:\*.*

F being the drive letter.

The command simply restores your original files as they were. You are then free to delete the malicious shortcuts or let a anti-virus do the job.
For more info, see this.