Thanks to the hacking workshop that I attended 4 months ago, I learned an alternative way to remove virus from the thumb drive, even without using anti-virus software. By using command prompt you can do more than just remove the virus from thumb drive.
- Click Start> Programs> Accessories> Command Prompt
- A black window will popup with words like this
- “C:\Documents and Settings\User Name>”
- Find out what is the current thumb drive’s drive letter. As an e.g its G:\KESH in picture below.
- After that type G:\ and press Enter.
- Type attrib and press Enter, it will show all files in current thumb drive along with its extensions. You can see certain files have SHR or HR or any of them in front of the files name. As you can see in picture below, SH G:\autorun.inf – SH are attributes for that file. (*s means system files, h mean hidden, r means read only. You need to clear those attributes from that file in order to delete the file.)
- After that, find any suspicious or unknown files in that list. In my thumb drive, virus.exe sounds like a threat, type attrib –s –h –r G:\virus.exe and press Enter. (put – in front of the attributes will remove the attributes. E.g -h means remove hidden attributes.)
- Press Enter and those attributes will be removed. You can type again attrib and press Enter to check whether the attributes are removed or not.
- Since the attributes are removed, type del G:\virus.exe (this command will remove the virus from thumb drive)
- Double check again whether file is deleted or not by type attrib and press Enter again.
An alternative way that I learned, hope it’s helpful. If you got another alternatives or ideas don’t hesitate to drop some comments and share it with others as well.
7 comments:
Hey this one is a cool way to remove.
thanks mate.
By the way, using command prompt wont make the virus attack our PC ryt?
It wont..no worries friend :)
Thx lots for this sharing..very useful fren
Thank you thank you :)
Such a nice information. It is really very very helpful. Thanx a lot.
Good and nice informate bro.. thank you very much
Good and nice information bro... thanks a lot
Post a Comment