How To Remove The External Hard Drive Virus?

How To Remove The External Hard Drive Virus?

Is your external hard drive corrupted by the virus? Don’t worry. You can fix it manually or by using third-party antivirus software. It is a common issue that everyone used to face. Different kinds of viruses can infect your external hard drive, such as Recycle Bin virus, SCR virus, shortcut virus, Autorun virus, etc. Let us see how to remove the external hard drive viruses in detail.

Removing viruses using third-party software

There are many third-party antivirus software that help to detect and remove viruses from your external hard drive.

  • Step 1: Download any of the third-party antivirus software from its official web page.
  • Step 2: Install the antivirus software on your PC.
  • Step 3: Connect your external hard drive to your PC using its USB cable.
  • Step 4: Open your antivirus software on your PC.
  • Step 5: Select your external hard drive and click the Full scan or Quick scan option.
  • Step 6: Wait for few seconds until the scanning process gets completed.
  • Step 7: After scanning, your antivirus software will display the list of viruses on your external hard drive.
  • Step 8: Remove the virus by performing the instructions provided in the antivirus window.
  • Step 9: After removing, re-scan your external hard drive to make sure no virus is detected.

Removing virus using Command Prompt

Before performing these steps, check if you have a backup of your external hard drive. Now, perform these steps.

  • Step 1: Press the Windows + R keys to open the Run window and then type cmd in the available field.
  • Step 2: Now, press the Enter key.
  • How To Remove The External Hard Drive Virus?
  • Step 3: Type attrib -h -r -s /s /d g:\*.* in the command Window. Here, g: denotes the driver letter of your external hard drive. Type the drive letter that appears on your external hard drive.
  • How To Remove The External Hard Drive Virus?
  • Step 4: Type del autorun.inf and press the Enter key.
  • Step 5: By performing these actions, your device will delete all the files from your external hard drive.
  • Step 6: Now recover the files from your backup and ensure no more virus is detected on your external hard drive.

Removing viruses using Registry Editor

  • Step 1: Press Windows + R on your PC to open the Run window.
  • Step 2: Type Regedit in the search bar.
  • How To Remove The External Hard Drive Virus?
  • Step 3: Click Yes to allow changes to your computer and open the Registry Editor window.
  • Step 4: In the left side of your window, locate the HKEY-CURRENT-USER and double click to view the options.
  • Step 5: Select the Software option from the list and double-click the software icon.
  • Step 6: Search and locate the Microsoft folder from the list provided below.
  • Step 7: Double-click on the Microsoft folder, select Windows from the list, and click the Current version from the list.
  • Step 8: Select Run from the current version list and double-click it.
  • How To Remove The External Hard Drive Virus?
  • Step 9: You will see a new window open, listing all the files running on your system.
  • Step 10: Select the infected files from the list, and your external hard drive will be shown on the list. If it is affected by the virus, select your external hard drive and click Delete.
  • Step 11: After deleting the infected files, restart your PC and make sure no virus is detected on your external hard drive.

Format your external hard drive

If you could not remove the virus on your external hard drive, then try formatting your external hard drive. Formatting helps to remove all the files from your external hard drive.

  • Step 1: Click on the Start menu and right-click on the My Computer icon.
  • Step 2: Select the Manage option and choose Disk Management.
  • Step 3: In the Disk Management window, select your external hard drive and right-click on your hard drive.
  • Step 4: Select the Format option from the list.
  • Step 5: In the Format partition window, assign a new drive letter and select Perform a quick format.
  • Step 6: Click OK after providing the required details and wait for few seconds until the format process gets complete.
  • Step 7: After formatting, recover the files from your backup and ensure no virus exists on your external hard drive.