How To Remove Virus From Pendrive On Windows 10 Using CMD

Viruses are pretty bad and can damage your PC or even your Pendrive / Memory card. Practically any Drive can be damaged and all files and documents you have will be damaged and destroyed. That is why I have provided the post on how you can remove virus or shortcut virus using CMD.
Remove Virus From any Pendrive in Windows 10 Using CMD


There are many types of computer viruses and they have different ways of operating. When a computer has been infected with viruses, it can damage your PC, delete important files and even give hackers access to your confidential information.

Most times, it can be hard to know if your computer has a virus. This is so because of the types that exist. There is what they call Shortcut virus, this mostly carries the extension - exec or can be .exe. They can be hidden on a personal computer without you being aware of it. Examples are;

TYPES OF SHORTCUT VIRUSES


  • Ravmon.exe
  • New Folder.exe
  • svchost.exe
  • Heap41a


Remove Shortcut virus using CMD

Remove Shortcut virus using CMD

  • Go to Start > Run > cmd.
  • Go to your pen drive memory cards or mobile phone directory.
  • Now type: attrib g:*.* /d /s -h -r -s . ( Replace g: with the drive name of your drive)
  • And then press Enter.

  1. How To Unlock WinZip | WinRAR Files Password On PC
  2. How To Hide Any Drive In Windows 7 Using Cmd


HOW TO REMOVE VIRUS FROM USB DRIVE

How to remove virus from USB drive, memory SD card via CMD in Windows 10

What i am about doing is to transfer an 'New Folder.exe' virus from a USB drive to D: drive and then delete the virus from the new place i kept it ( D: drive).


  1. Open Command Prompt - Press WIN + R
  2. Type D: and press Enter.
  3. Type attrib and press Enter. You’ll see New Folder.exe virus listed.
  4. To remove virus using CMD, type into your command prompt attrib -r -a -s -h *.* and press Enter. This will remove the Read Only, Archive, System and hidden file attribute from all the files. (*.* for all the files with all different types of file extensions).
  5. Type del autorun.inf and enter, to delete the files.


This is really a nice trick, i hope it was useful to you. Kindly share any other trick you know and don't forget to join our Facebook group.

Comments

After dropping your comment, keep calm, it may take minutes before it appears after moderation.

You want to get notified when I reply to your comment? Kindly tick the "Notify Me" box.

Archive

Contact Form

Send