Delete Files with Virus

I have two files that have viruses and are in the quarantine directory. I´m trying to delete them but it´s impossible. My Viruscan (McAfee) can´t delete them and I have even tried to delete them with shift + delete and have not worked. I have tried in DOS Mode and can´t do it. I even tried to change the properties of the files (from read only to normal) without any success. What can I do?

Thank you
enrmunozAsked:
Who is Participating?
 
nader alkahtaniConnect With a Mentor Network EngineerCommented:
The first solution is : use cmd.exe then drag the file and drop it in the command square use task manager then end explorer.exe then use the following command :

cd\

cd quarantine

del powerplg.zip.vir.vir
if didn't help you try this powerfull command

del \\.\powerplg.zip.vir.vir                        (are you sure that the file name Ext is *.vir) ?
if not , type this command del \\.\*.*




whe it says "access is denied" that means the following :

1.you don't use Administrator previliges
or
2.you use Administrator previliges and the file permission that you have is Deny

but you said ". I also tried to change the properties to delete and have no luck"

if you did that and without luck , that may mean the file is used in the same time with Mcafee or because the security that this program offers it with quarentine files , or it may linked with some TEMP files , in RUN type %temp% then delete all files , retry  , or  then try the followin :

in RUN type msconfig then disable Mcafee , restart the machine in safe mode then retry , if that couldn't help you , rename the file name to myfile.txt then delete it ,

generally applu this great solutions from Microsoft support with subject "You cannot delete a file or a folder on an NTFS file system volume " :

http://support.microsoft.com/?id=kb;en-us;Q320081
0
 
enrmunozAuthor Commented:
I try to delete them in safe mode but it´s impossible. I also tried to change the properties to delete and have no luck. The archive are .vir and have been detected by McAfee.
0
 
nader alkahtaniNetwork EngineerCommented:
What is the name of file ?

0
Worried about phishing attacks?

90% of attacks start with a phish. It’s critical that IT admins and MSSPs have the right security in place to protect their end users from these phishing attacks. Check out our latest feature brief for tips and tricks to keep your employees off a hackers line!

 
nader alkahtaniNetwork EngineerCommented:
0
 
enrmunozAuthor Commented:
It didn´t work. The path is c: /quarantine/powerplg.zip.vir.vir

The virus according to McAfee is generic. b3 and is a trojan and the  apllication is explorer.exe
0
 
enrmunozAuthor Commented:
When I´m trying to use the DOS command you are suggesting says :"Access is denied" and I can´t delete the file
0
 
enrmunozAuthor Commented:
I tried the first solution and it´s always the same answer. acces denied.

I tried the second solution and it´s still the same. Access denied.

I´m now trying the link you gave me.
0
 
nader alkahtaniNetwork EngineerCommented:
OK , tell me
0
 
enrmunozAuthor Commented:
I solve the problem with the tip of Admisnistrator privileges. I thought I have those privileges but it seems that for those files I hadn´t those privileges. I gained full control of the files in properties, I changed the attributed to normal from read only and I have no problems deleting the files.

Thank you very much NADIR.
0
 
nader alkahtaniNetwork EngineerCommented:
You are welcome

thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.