PC SECURITY

How to Remove a Shortcut Virus Using Command Prompt (CMD)

How to Remove a Shortcut Virus Using Command Prompt (CMD) - PC - how to remove shortcut viruses from pen drives, memory cards, external hard disks.

How To Remove a Shortcut Virus Using Command Prompt – Today we are going to discuss about how to remove shortcut viruses from pen drives, memory cards, external hard disks. This is the best technique to remove viruses from the external drives. Normally we connect the external drives, sometimes a shortcut can be made. Just follow these steps to Remove Shortcut Viruses using command prompt.

These are the Best tricks to remove a shortcut virus using command prompt.

This problem may cause not only in pen drives, also in memory sticks, phone memories, external hard disks etc. If we trying to open those folders Windows will show an error that “Shortcut missing…!” We afraid of losing our data and somebody format the drive. But no need to afraid for this and format. Yes, this is a type of virus affection. Just follow the simple steps to remove that shortcuts and retrieve your folders back.

How to Remove a Shortcut Virus Using Command Prompt

  1. You will have to Go to start menu and type “cmd” in the search box or Start then choose ” all programs ” then ” accessories ” and select ” command prompt “.
  2. Open the infected drive such as write, g: to go to G drive.
  3. Now type dir/w/a . It will show all the files of the drive including hidden files. Identify malicious files and delete them using above commands.
  4. Locate AUTORUN.INF or any Virus and other suspicious files in the directory. There was no virus in my drive so only autorun.inf is been highlighted.
  5. Type command attrib -r –a –s –h to remove attributes of corresponding file.
  6. Type del autorun.inf to delete autorun.inf file.
  7. Now type del virus name.exe  delete it, eg : del xyz.exe .

Now you can access the defected drive without affecting the virus.

READ  How to Get the Windows 10 Update: Windows 10 Upgrade

How to Remove a Shortcut Virus Using Command Prompt: By using these notepad tricks you can easily remove viruses from the external drives and have a great experience with the method. If you are still have trouble and you are not able to remove shortcut viruses from your computer, Hard Disk, Pen Drive and memory.

About the author

author

author

Wikitechy Founder, Author, International Speaker, and Job Consultant. My role as the CEO of Wikitechy, I help businesses build their next generation digital platforms and help with their product innovation and growth strategy. I'm a frequent speaker at tech conferences and events.

X