How to remove write protection virus

raunak62

Honorable
Apr 27, 2014
94
0
10,660
My friend gave me a Transcend 2 GB (JF V30) pen drive. It was infected with virus. My antivirus suite (bit defender total security 2015) scanned and found 18 viruses,worms etc in total. It said it successfully disinfected 17 of them but one archive was password protected, so it couldn't access me. It asked me to restart my PC and launch bit defender rescue mode. Even in rescue mode, it couldn't scan the archive and asked me for its password. I nor my friend have any idea where that archive came from. It certainly wasn't put there by either of us. Worse, when I reinserted the pen drive bit defender again found 18 viruses (they had same name as earlier ones) and this time I asked to delete the infected files. It showed 17 files successfully deleted. When I inserted the pen drive 3rd time the viruses again showed up. I can't modify any content of the pen drive because as soon as I try to do so, it shows the pen drive is write protected. However, I can copy the contents of the drive but can't delete, move or transfer new files to the drive. I tried formatting with CMD, mini-tool partition wizard. Even when I tried to format the drive in Linux, it showed the drive is write protected.
I am quite sure the pen drive is not corrupted since I can still copy the contents. I think the write protection virus is stopping the antivirus from disinfecting/deleting the virus, but it shouldn't be the case. The write protection virus should also be deleted by the antivirus. And yes, I am using licensed version of bit defender with the latest updates.
Any solutions?
 
Solution
ya I would feel your running the risk ... big risk . antivirus or not -

funny you said Linux would not format it ? - for me Linux runs over anything and formats all my write protected drives with ease that windows cant do a darn thing with .. then after Linux formats [fat32] them they all work with out issues in windows and all

raunak62

Honorable
Apr 27, 2014
94
0
10,660


Actually, my friend copied it on his PC and showed it to me. Moreover he doesn't have a proper antivirus, that's how the pen drive got infected in the first place.
As for ditching the pen drive, my friend says he doesn't have a use for it anymore. But still, I would like to know if there is anything that I could do to fix this.( If my 32 GB pen drive now gets infected in the same way, that would be a real mess!)
 
''My friend gave me a Transcend 2 GB (JF V30) pen drive. It was infected with virus''

this friend of yours did he not know it had full of virus's ?? I'd hate to think you keep jacking around with it and end up infecting everything you had plugged it in to ..

pen drives are cheap
 

raunak62

Honorable
Apr 27, 2014
94
0
10,660


If I keep the pen drive already inserted and then boot up with a bootable usb, won't I risk my boot sector or MBR getting corrupted by the viruses as I already have a pre-installed OS and other partitions?
As for the fix by registry, I don't have the mentioned key>>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorageDevicePolicies.
I have Storage under control directory, but nothing called "StorageDevicePolicies". I also tried searching for "WriteProtect" key throughout the registry, but nothing came up.
 

raunak62

Honorable
Apr 27, 2014
94
0
10,660

Yes he knew. It was the very reason he gave me the pen drive. He wanted me to find some way to remove the virus. And I don't thing I run the risk of getting my PC infected as I have a antivirus and bit defender is among the best antiviruses. I plugged it only in my PC, not any other devices. As for the time I tried with linux, I did that with a live cd .

 
ya I would feel your running the risk ... big risk . antivirus or not -

funny you said Linux would not format it ? - for me Linux runs over anything and formats all my write protected drives with ease that windows cant do a darn thing with .. then after Linux formats [fat32] them they all work with out issues in windows and all
 
Solution
If anyone gave me a pen drive I knew was infected it would go straight in the bin.

We are talking about a throwaway device here that costs mere pocket-money to buy new, it's not an expensive SDD!

I am baffled why anyone would want to try to get a dodgy pen drive working - - - life's too short to waste on that nonsense. I can't believe this thread is so long for such a trivial matter - :/
 

raunak62

Honorable
Apr 27, 2014
94
0
10,660

It's not the device that matters! It's the problem that needs a solution. In my case it's a mere pendrive. What if this happens to someone's hdd? what would your solution be? "throw away the hdd!" lol
 

raunak62

Honorable
Apr 27, 2014
94
0
10,660

Formatting with linux does indeed work. Turns out that pendrive was damaged! Fixed another infected pendrive by formatting in linux. So for those having the same issue, try formatting from linux live image. If you don't hve a linux cd lying around, try the cmd solution in this thread. Might work for you :)
Closing this thread after so long! forgot :p