We frequently use pendrive ,memory card and other USB device in our computer.As all the USB devices are plug and play so if the windows is virus affected then the USB device will also get virus affected. We are not notified when this things happen.There virus make damage to our files which are stored in USB device.These virus also make our files hidden.For this reason we cannot see the files in our USB device.For this reason when we use these USB device to other PC ,those PC also get affected.In this way we spread the virus in different PC.Sometimes these virus also cannot be detected by the Anti Virus program.So,to make our USB virus protected now we will check how we can remove these virus from our USB device.
At first open you noted pad.To do this easily just press windows+R and then write "notepad" then Press "Enter".Now your notepad will get opened and paste the below lines to the notepad.
ATTRIB –H –A –R –S K:\*.* /S /D
DEL K:\*.LNK
DEL K:\*.VBS
DEL K:\*.CMD
DEL K:\*.BAT
DEL K:\*.INF
DEL K:\*.EXE
DEL K:\*.JS
rd K:\RECYCLER /S /Q
Exit
K is your USB drive.So,replace K with your pendrive or USB drive name.If your pendrive name is Himu then change "K" with "Himu".
Now save the note pad file by pressing Ctrl+s and name the file as CLEAN USB.bat and keep it in Desktop.The advantage to save it in Desktop is that then you will be able to run it from the Desktop as soon as you will connect the USB. Now everytime you connect the USB to your PC just double click on your CLEAN USB.bat file and you will be able to clean all the virus in you USB.
Just make sure that there is no exe file in your pendrive outside the folder.If the exe file is outside the folder then the Clean program will also remove it.So,keep the .exe file in a folder and make your USB clean with just double click.
1 comments :
it will also delete some usefull files ......so not a good idea
Emoticon Emoticon