Help please cant delete exe

I cant delete or rename exe files even in safe mode or from the command prompt. It says there in use but they are not.
Any help please> :confused:

what is the exact name of the file and where is it located
you might have to end what ever it is doing from the taskmanager and then try to delete

Try Using Linux Knoppix , it boots from a CD and runs from it so there is no program or files installed on you computer and Windows isn’t running so you should be able to delete or Rename the file

from cmd ( start > run > ‘cmd.exe’ )

cd C:\directory\of\exe\file
taskkill /f /im exefile.exe
del exefile.exe

if that doesn’t do it then i smell a virus

@coathi: this only works on FAT partitions, the NTFS partition type can be written to from Linux, but this is not very safe (or better said: don’t do this, unless you are sick of your data)

@a_arse: sometimes Windows makes “mistakes” with files that can’t be solved with taskkill… these errors can often easilly be fixed, but not from the command prompt. Booting from a dos disk will most probably the way to solve this issue.Is this file on a NTFS or FAT partition?

Thanks for the Info Dee-ehn, it’s good to know because I have only tried it on Fat 32, I was going to suggest doing it in Dos from a Boot Disk but I wasn’t sure if merclove was familiar with Dos or not,

Is taskkill only available in XP professional? I’m on a home edition and when I type in taskkill/? it tells me that it is “not recognized as in internal or external command, etc”

Also googling found me tasklist, but that isn’t available either. Is it possible to download?

at the cmd prompt, typing taskkill /? yields the following (sorry its so long)

TASKKILL [/S system [/U username [/P [password]]]]
{ [/FI filter] [/PID processid | /IM imagename] } [/F] [/T]

This command line tool can be used to end one or more processes.
Processes can be killed by the process id or image name.

Parameter List:
/S system Specifies the remote system to connect to.

/U    [domain\]user    Specifies the user context under which
                       the command should execute.

/P    [password]       Specifies the password for the given
                       user context. Prompts for input if omitted.

/F                     Specifies to forcefully terminate

/FI   filter           Displays a set of tasks that match a
                       given criteria specified by the filter.

/PID  process id       Specifies the PID of the process that
                       has to be terminated.

/IM   image name       Specifies the image name of the process
                       that has to be terminated. Wildcard '*'
                       can be used to specify all image names.

/T                     Tree kill: terminates the specified process
                       and any child processes which were started by it.

/?                     Displays this help/usage.

Filter Name Valid Operators Valid Value(s)
----------- --------------- --------------
IMAGENAME eq, ne Image name
PID eq, ne, gt, lt, ge, le PID value
SESSION eq, ne, gt, lt, ge, le Session number.
CPUTIME eq, ne, gt, lt, ge, le CPU time in the format
of hh:mm:ss.
hh - hours,
mm - minutes, ss - seconds
MEMUSAGE eq, ne, gt, lt, ge, le Memory usage in KB
USERNAME eq, ne User name in [domain]user
MODULES eq, ne DLL name
SERVICES eq, ne Service name
WINDOWTITLE eq, ne Window title

NOTE: Wildcard ‘*’ for the /IM switch is accepted only with filters.

NOTE: Termination of remote processes will always be done forcefully
irrespective of whether /F option is specified or not.

TASKKILL /S system /F /IM notepad.exe /T
TASKKILL /PID 1230 /PID 1241 /PID 1253 /T
TASKKILL /F /IM notepad.exe /IM mspaint.exe
TASKKILL /F /FI “PID ge 1000” /FI “WINDOWTITLE ne untitle*”
TASKKILL /S system /U domain\username /FI “USERNAME ne NT*” /IM *
TASKKILL /S system /U username /P password /FI “IMAGENAME eq note*”

@ckin2001: Is taskkill only included with professional version, as stated before I can’t find in on my system and I would like to make use of it.