Killing SYSTEM processes

  • Thread starter Thread starter Brian Wakem
  • Start date Start date
B

Brian Wakem

How do I script the killing of SYSTEM processes as Administrator on Windows
Server 2003?

I am trying to do it in Perl using:

Win32::Process::KillProcess($pid, $exitcode)

and

kill 9,$pid;

Which fails with a permission denied message, apparently Administrator
cannot kill SYSTEM processes. Is there a work around?



--
Brian Wakem
 
Do a google for PSTOOLS this might help you.

"Brian Wakem" <no@email.com> wrote in message
news:5g6itkF3f8djdU1@mid.individual.net...
> How do I script the killing of SYSTEM processes as Administrator on
> Windows Server 2003?
>
> I am trying to do it in Perl using:
>
> Win32::Process::KillProcess($pid, $exitcode)
>
> and
>
> kill 9,$pid;
>
> Which fails with a permission denied message, apparently Administrator
> cannot kill SYSTEM processes. Is there a work around?
>
>
>
> --
> Brian Wakem
 
David Parkes wrote:
>
> "Brian Wakem" <no@email.com> wrote in message
> news:5g6itkF3f8djdU1@mid.individual.net...
>> How do I script the killing of SYSTEM processes as Administrator on
>> Windows Server 2003?
>>
>> I am trying to do it in Perl using:
>>
>> Win32::Process::KillProcess($pid, $exitcode)
>>
>> and
>>
>> kill 9,$pid;
>>
>> Which fails with a permission denied message, apparently Administrator
>> cannot kill SYSTEM processes. Is there a work around?
>>
>>
>>

> Do a google for PSTOOLS this might help you.



Thanks David, pskill does the job.


--
Brian Wakem
 
Back
Top