How to remove virus from usb drive?
How to remove usb virus
I was faced with the problem of how to remove virus from usb drive recently. Normally I would have taken the nuclear option i.e format the USB drive to remove the virus.
Unfortunately I had the entire source code for my blog ranking project on the pen-drive before it got infected by the virus. That meant I had to show restraint and deal with the issue in a diplomatic manner. ![]()
Anti-virus software failed to delete virus from USB Drive
One run of the anti-virus software and the virus will be history is what I thought. However removing the virus from the USB drive proved to be a lot more difficult task than I had initially guessed. I was left scratching my head for sometime. Why the hell did the USB drive continue to be infected by the virus?Frustrated I consulted my best friend ….Google. Well I had overlooked a simple concept. The virus had made itself read-only. No wonder the poor anti-virus software was identifying it but failed to remove the virus.
To remove the virus from usb drive you need to
- Go to Start—-Run. Type cmd and hit enter. This will bring up the command prompt.
- Type the drive name of the USB drive and hit enter.
- In command prompt type attrib -r -a -s -h *.* and press enter. This will remove the Read Only, Archive, System and hidden file attribute from all the files.
- Now just delete the files using the command del filename
That’s it. The virus has been removed from the USB drive.
[...] The Delay The project is taking longer than what I had anticipated earlier. This post was further delayed as the USB drive on which I carry my source code was infected with virus. However thankfully a simple trick helped me to remove the virus from the USB drive. [...]
[...] Everything you may need to know about how to fix errors in USB Flash drives and how to Format USB Flash January 25th, 2009 by admin ! USB Drives, Flash Drives, Pen Drives or USB Flash drives are one and the same thing. These are one of the most popular and useful medium to carry content around. I may be on the extreme end, but I carry most my most useful code on my USB Drive. So few days back, when I my Flash drive was infected with virus, I was really worried. Though finally I managed to delete the virus from the USB drive. [...]
[...] useful post. The last time my USB got infected with virus, I had posted my experience about how to remove virus from usb. More than 500 people have found that to be useful since then. (Though not many people have visited [...]
[...] compete with existing websites on the keyword virus, usb or virus usb I write a blog post titled how to remove virus from usb and Everything you may need to know about how to fix errors in USB Flash drives and how to [...]
[...] drive along listing hidden files as well. Look for a file autorun.inf and delete. See my post about removing virus from usb for the exact steps. Techpavan has a good post about how to remove recycler virus from usb as [...]
[...] people, me included, get infected with virus as they forget to update the antivirus softwares in time. BitDefender updates its virus signatures [...]