Remove Virus From Pen Drive Without Losing Data

0 Flares 0 Flares ×

Pen drives and USB storage drives are commonly used portable data storage devices. These are so handy to use that almost everybody is using a pen drive to transfer data from one system to another system. Use of pen drive is so common that the chances of getting infected by virus is also more. So in this article I will explain how to remove virus from pen drive without losing data.  

How to Remove Virus From Pen Drive

Pen drives are mostly affected by virus called newfolder.exe or regsvr.exe. You can easily identify this by the presence of autorun.inf file inside your pen drive. What you can not see any file? Yes, exactly! You can not see this file because this file has all the 3 attributes S(System), H(Hidden) and R(Read Only) set which prevent this from being seen, accessed and modified. 

So how to remove this virus? To remove this virus without losing your data just follow this below procedure:

Step1: Go to Start->Run and type the path to your pen drive and type attrib for example J:>\attrib

This will give you the list of all files present on your pen drive including the hidden ones. Now you can locate the autorun.inf file on your pen drive. 

Step2: Now Go to Start->Run-> and type the path to pen drive and then type the command attrib   -s -h -r autorun.inf as show below: 

J:>\attrib -s -h -r autorun.inf

This will remove these attributes on the file. Now delete the file using simple delete command as shown below:

del autorun.inf

Congratulation! Now your pen drive is free from virus and you did not loose any data. Hope this is useful. 

Guru

+Ayodhyanath Guru holds a B.Tech degree in Electrical Engineering and has worked with various prestigious clients in the IT industry and presently working as a Software Engineer. He is a part time blogger and presently authors the Jafaloo.Com blog. Being a tech enthusiast Guru likes to surf the web and blogs about interesting technical topics like How-To guides, freewares, Tutorials, Software, Gadgets, web applications etc. Apart from blogging he likes coding in Java/J2EE and PHP.

You may also like...

1 Response

  1. venkat says:

    its coming could not find autorun.inf

0 Flares Twitter 0 Facebook 0 Google+ 0 LinkedIn 0 0 Flares ×