Sophos

Removing infected executable files

1. Using Enterprise Console
2. Sophos Anti-Virus for Windows, version 6
3. Windows 95/98/Me
4. Macintosh OS X computers
5. NetWare
6. Linux
7. UNIX
8. OpenVMS

1. Using Enterprise Console

You can remove infected executable files over a network using Enterprise Console.

2. Sophos Anti-Virus for Windows, version 6

To remove an infected executable file:

If Sophos Anti-Virus cannot delete files because they are held open by the operating system, make a note of the names of the files, then do as follows.

  1. Download an emergency copy of SAV32CLI. On an uninfected Windows computer, run this file to extract the contents into a SAV32CLI folder on a medium that can be write-protected. Copy the SAV32CLI folder produced onto a medium that can be write-protected. Add any relevant IDEs to this folder and write-protect the disk (on a CD/R or CD/RW close the session).
  2. Restart the computer in Safe Mode. Go to Start|Shut Down. Select 'Restart' from the dropdown list and click 'OK'. Windows will restart. Press F8 when you see the following text at the bottom of the screen 'For troubleshooting and advanced startup options for Windows 2000, press F8'. In the Windows 2000 Advanced Options Menu select the third option 'Safe Mode with Command Prompt'.
  3. At the infected computer, place the CD in the CD drive (D: in this example).
  4. At the command prompt type
    D:
    to access the CD drive. Type:
    CD SAV32CLI
    Then type:
    SAV32CLI -REMOVE -P=C:\LOGFILE.TXT to remove the virus.
  5. Before leaving Safe Mode, edit any registry entries mentioned in the virus analysis recovery instructions.
  6. Replace the infected files with 'clean' versions from the original installation media or a clean PC.
  7. If problems persist, contact support.

[TOP]

3. Windows 95/98/Me

To remove an infected executable file:

If the virus is memory resident or the files cannot be removed because they are held open by the operating system:

You will need SWEEP for DOS on floppy disk. To do this, make a set of Emergency SAV disks.

[TOP]

4. Macintosh OS X computers

To remove an infected executable file:

5. NetWare

Infected executables can be quarantined, renamed (so they cannot be executed), deleted, purged, or copied with non-executable filenames.

Note: This method of removal will also apply to documents infected with macro viruses.

6. Linux

7. UNIX

8. OpenVMS

For details on the use of these command line qualifiers and sample batch files using them, see the Sophos Anti-Virus for OpenVMS manual.

[TOP]