Amazon Antivirus Books
The goal here is to stop a virus process. Even if you cannot delete virus files, as long as you can stop the process that does bad things, you can proceed with normal work without worrying about virus. You have the following ways to stop a process:
1st way: Configure startup processes to stop it
A process can be run by a service, or it can run by a startup process. If you can identify the service or the startup process, then you can tell your computer not to run if the next time it boots. This is the recommended approach
First identify the service that runs the virus process
After your computer boots up, the virus process should not be running and you should be able to safely delete the virus files. HOWEVER, if the service is a critical Windows service such as 'COM+ Event System' and 'Workstation', go to section Stop And Kill. If you cannot find it, go to Windows -> Run... -> type 'msconfig', go through the list in Startup tab. In Command column you can see the path to the .exe. Uncheck the one that matches the path to the virus and reboot. After your computer boots up, the virus process should not be running and you should be able to safely delete the virus files.
2nd way: Kill the process manually
Right click on the .exe in Process Explorer and select "Kill Process". HOWEVER, if this is a critical Windows process such as 'svchost.exe'. you may see an error dialog saying that you cannot kill it. Or you may kill it successfully but then your computer behaves in a weird, unstable, or inoperable way
If you can successfully stop the virus process, you will be able to delete the virus files. Again, even if you cannot delete virus files, as long as you can stop the virus process, the virus will not affect your PC and you can proceed with your normal work. Reboot and the virus should be gone. Otherwise, consult Section Stop and Kill.
As an alternative you can rename the virus file to any junk name. The Windows OS does not allow you to delete a file when some process is using the file but it allows you to rename it, rendering it unusable. Once you've renamed it you should be able to delete it
◀ Identify Virus ProcessDelete Virus Files ▶