all the files on flash drive are shortcuts – How to recover?
Recently I got pendrive from my friend to copy some photos. When I scan his pendrive, it deletes more than 20 viruses. After the viruses are deleted I cannot see the files. All files are becomes shortcuts. Once I search in the internet I find the solution.
If you have the same problem, the following steps will help you to recover those files.
Select “Start” menu – -> “Run”
Type “cmd” in the Run command window and click Ok.
Type the following command
attrib -h -r -s /s /d k:\*.*
(where k: is your flash drive location)
and press enter. Now the files are recovered in your flash drive.
Posted by Vijay Date: Monday, May 23, 2011
Categories: Security
Tags: autorun, delete virus, pendrive virus, problem, Virus
Easy way to delete and avoid virus in pen drive
Most of the computers affected by virus because of using pen drives or USB drives. Nowadays everyone using pen drive for their own purpose. We cannot stop using pen drive to escape from virus. Instead we can delete and avoid virus in pen drive using simple steps without any antivirus software. First we can see,
How to delete virus in pen drive?
Plug your USB drive or Pen drive to your computer.
It will show popup window asking you to choose among the actions.
Just simply close it.
Visit My Computer and look at the drive letter of your USB drive or Pen drive. Consider it is H:
Now goto start –> Run and type cmd that will open Command Prompt window.
In Command Prompt, enter the drive letter with : [ For example, H: ] and press Enter.
Then type dir/w/o/a/p and press Enter.
You will see a list of files. Now look for the file with these names
1. Autorun.inf
2. New Folder.exe
3. Info.exe
4. explorer.exe
5. restore.exe
6. New_Folder.exe
etc.,
If you see any of the file name, it must be virus.
Now type the command attrib -h -r -s -a *.* and press Enter.
and then delete each files using the following command,
del filename
For example,
del Autorun.inf
del restore.exe
etc.,
That’s all. Now you’ve deleted virus in your Pen drive. Those who not believe after this process, they can scan their USB drive or Pen drive to believe. If the file cannot be deleted, try it in Safe Mode. It should work.
You may think doing this process every time is time consuming. To avoid this process, now we can see,
How to avoid virus is pen drive?
We are deleted virus in pen drive.
Now open new Notepad.
(Start –> All Programs –> Accessories –> Notepad)
No need to type anything in that Notepad.
Press Save as that Notepad file in the location H: with the name ” autorun.inf “ with double quotes.
Now autorun.inf file is created in your Pen drive.
Right click that file and select Properties.
Set/tick the attributes to that file name Read-only and Hidden, and select OK.
That’s it. Now 90% of the viruses are avoided.
Just try it and don’t forget to give your valuable comments.
Posted by Vijay Date: Saturday, February 13, 2010
Categories: Present Technology, Security
Tags: Antivirus, delete virus, Security, Virus
