Guest Brian Wakem Posted July 18, 2007 Posted July 18, 2007 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
Guest David Parkes Posted July 18, 2007 Posted July 18, 2007 Re: Killing SYSTEM processes 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
Guest Brian Wakem Posted July 19, 2007 Posted July 19, 2007 Re: Killing SYSTEM processes 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
Recommended Posts