Skip to main content
Skip to main content
Microsoft Security Intelligence
Published Jul 11, 2007 | Updated Sep 15, 2017

Worm:Win32/Hary.A!bat

Detected by Microsoft Defender Antivirus

Aliases: No associated aliases

Summary

Worm:Win32/Hary.A!bat is a component of Worm:Win32/Hary.A, a virus that spreads from removable media to computers, changes Internet Explorer settings, and disables certain system tools. Worm:Win32/Hary.A poses as a Microsoft Word document that when run, displays a Word document containing the text "Harry Potter is dead."
To recover manually from infection by Worm:Win32/Hary.A!autorun, perform the following steps:
  • Disconnect from the Internet.
  • Restart the computer in safe mode.
  • Delete Worm:Win32/Hary.A from your computer.
  • Restart the computer. 
  • Take steps to prevent re-infection.

Disconnect from the Internet

To help ensure that your computer is not actively infecting other computers, disconnect it from the Internet before proceeding. Print this Web page or save a copy on your computer; then unplug your network cable and disable your wireless connection. You can reconnect to the Internet after completing these steps.

Restart the computer in safe mode

To start your computer in safe mode
  1. Remove all floppy disks and CDs from your computer, and then restart your computer.
  2. When prompted, press F8. If Windows starts without displaying the Please select the operating system to start menu, restart your computer. Press F8 after the firmware POST process completes, but before Windows displays graphical output.
  3. From the Windows Advanced Options Menu, select a safe mode option.

Delete Worm:Win32/Hary.A from your computer

To delete Worm:Win32/Hary.A from your computer
  1. Click Start, and click Run.
  2. In the Open field, type cmd, and click OK.
  3. Type the following, and press Enter after each instruction:
    attrib c:\HarryPotter-TheDeathlyHallows.exe -s -r -h
    del c:\HarryPotter-TheDeathlyHallows.exe
    attrib c:\autorun.inf -s -r -h
    del c:\autorun.inf
    exit
  4. On the Desktop, right-click the Recycle Bin and click Empty Recycle Bin.
  5. Click Yes to confirm the deletion.

Restart the computer

To restart your computer
  1. On the Start menu, click Shut Down.
  2. Select Restart from the drop-down list and click OK.

Take steps to prevent re-infection

You should not reconnect your computer to the Internet until the computer is protected from re-infection. See the "Preventing Infection" section for more information.
Follow us