Taskkill.exe question / error
Guest
Posts: n/a
Posts: n/a
> Hello XPe community. I am having a small issue using taskill.exe on my XPe
> build. Perhaps somebody could shed some light.
>
> I am simply trying to run a very simaple taskkill.exe command. I am getting
> the following message returned:
>
> ERROR: Provider load failure.
>
> I have checked the dependencies for Server Command Line Tools (as this
> component contains taskkill.exe) and this looks to be OK.
>
> Any ideas?
> PjS,
>
> You can easy find out what's missing (what provider is missing ) from your image if you launch the takskill at run time through
> Dependency Walker (Profiling feature).
>
> The taskkill utility, although pretty simple itself, requires lots of dependencies. If you find something is missing from the
> "Server Command Line Tools", please feel free to report the bug to the Product Team.
>
> --
> Regards,
> KM
>
>> > Hello XPe community. I am having a small issue using taskill.exe on my XPe>
> > build. Perhaps somebody could shed some light.
> >
> > I am simply trying to run a very simaple taskkill.exe command. I am getting
> > the following message returned:
> >
> > ERROR: Provider load failure.
> >
> > I have checked the dependencies for Server Command Line Tools (as this
> > component contains taskkill.exe) and this looks to be OK.
> >
> > Any ideas?
>
>
> PjS,
>
> You can easy find out what's missing (what provider is missing ) from your image if you launch the takskill at run time through
> Dependency Walker (Profiling feature).
>
> The taskkill utility, although pretty simple itself, requires lots of dependencies. If you find something is missing from the
> "Server Command Line Tools", please feel free to report the bug to the Product Team.
>
> --
> Regards,
> KM
>
>> > Hello XPe community. I am having a small issue using taskill.exe on my XPe>
> > build. Perhaps somebody could shed some light.
> >
> > I am simply trying to run a very simaple taskkill.exe command. I am getting
> > the following message returned:
> >
> > ERROR: Provider load failure.
> >
> > I have checked the dependencies for Server Command Line Tools (as this
> > component contains taskkill.exe) and this looks to be OK.
> >
> > Any ideas?
>
>
> KM,
>
> Upon further investigation, you can run taskkill.exe or tasklist.exe
> (another "server command line tool") with a /S switch to specify machine name
> to act against. When I provide /S localhost, I am getting an error message
> back, that is slightly different, but more usueful (perhaps):
>
> ERROR: The Target System must be running Windows XP or above.
>
> Running taskkill or tasklist.exe on a known good Windows XP Pro installation
> with /S localhost provides good output (no errors).
>
> Is this perhaps a compatibility issue within the Server Command Line Tools
> component and XPe?
>
>
>
> "KM" wrote:
>>> PjS,
>>
>> You can easy find out what's missing (what provider is missing ) from your image if you launch the takskill at run time through
>> Dependency Walker (Profiling feature).
>>
>> The taskkill utility, although pretty simple itself, requires lots of dependencies. If you find something is missing from the
>> "Server Command Line Tools", please feel free to report the bug to the Product Team.
>>
>> --
>> Regards,
>> KM
>>
>>>> > Hello XPe community. I am having a small issue using taskill.exe on my XPe>>
>> > build. Perhaps somebody could shed some light.
>> >
>> > I am simply trying to run a very simaple taskkill.exe command. I am getting
>> > the following message returned:
>> >
>> > ERROR: Provider load failure.
>> >
>> > I have checked the dependencies for Server Command Line Tools (as this
>> > component contains taskkill.exe) and this looks to be OK.
>> >
>> > Any ideas?
>>
>>
> PjS,
>
> For testing purposes you can try to set the CSDVersion value under [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\Windows] to
> whatever is set on XP Pro (512).
>
> Also, have you tried looking at Filemon/Regmon logs captured while you ran the taskkill utility to see if anything pops up there?
>
> --
> Regards,
> KM
>
>> > KM,>
> >
> > Upon further investigation, you can run taskkill.exe or tasklist.exe
> > (another "server command line tool") with a /S switch to specify machine name
> > to act against. When I provide /S localhost, I am getting an error message
> > back, that is slightly different, but more usueful (perhaps):
> >
> > ERROR: The Target System must be running Windows XP or above.
> >
> > Running taskkill or tasklist.exe on a known good Windows XP Pro installation
> > with /S localhost provides good output (no errors).
> >
> > Is this perhaps a compatibility issue within the Server Command Line Tools
> > component and XPe?
> >
> >
> >
> > "KM" wrote:
> >> >> PjS,
> >>
> >> You can easy find out what's missing (what provider is missing ) from your image if you launch the takskill at run time through
> >> Dependency Walker (Profiling feature).
> >>
> >> The taskkill utility, although pretty simple itself, requires lots of dependencies. If you find something is missing from the
> >> "Server Command Line Tools", please feel free to report the bug to the Product Team.
> >>
> >> --
> >> Regards,
> >> KM
> >>
> >>
> >> > Hello XPe community. I am having a small issue using taskill.exe on my XPe
> >> > build. Perhaps somebody could shed some light.
> >> >
> >> > I am simply trying to run a very simaple taskkill.exe command. I am getting
> >> > the following message returned:
> >> >
> >> > ERROR: Provider load failure.
> >> >
> >> > I have checked the dependencies for Server Command Line Tools (as this
> >> > component contains taskkill.exe) and this looks to be OK.
> >> >
> >> > Any ideas?
> >>
> >>
> >>
>
>
> KM,
>
> Looked in the filemon regmon logs to no avail, but did some hunting and
> pecking:
>
> Turned out to be a component needed: WMI Win32 Provider (which makes sense
> considering what these tools are trying to accomplish).
>
> "Server Command Line Tools" does not call WMI Win32 Provider as a dependency
> (directly/specifically), nor does it specify such in the Component Help.
>
> On another note: (could be useful to others):
>
> The WMI Win32 Provider component is also needed to suppress that annoying
> netsh message specifying: "Cannot retreve host information for COMPUTERNAME,
> some commands will not be available".
>
> Anyhow....it is resolved...which is a good thing! Thanks for your prompt
> replies, and suggestions. If I can be of any help, please let me know.
>
>
>
>
>
>
> "KM" wrote:
>>> PjS,
>>
>> For testing purposes you can try to set the CSDVersion value under [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\Windows]
>> to
>> whatever is set on XP Pro (512).
>>
>> Also, have you tried looking at Filemon/Regmon logs captured while you ran the taskkill utility to see if anything pops up there?
>>
>> --
>> Regards,
>> KM
>>
>>>> > KM,>>
>> >
>> > Upon further investigation, you can run taskkill.exe or tasklist.exe
>> > (another "server command line tool") with a /S switch to specify machine name
>> > to act against. When I provide /S localhost, I am getting an error message
>> > back, that is slightly different, but more usueful (perhaps):
>> >
>> > ERROR: The Target System must be running Windows XP or above.
>> >
>> > Running taskkill or tasklist.exe on a known good Windows XP Pro installation
>> > with /S localhost provides good output (no errors).
>> >
>> > Is this perhaps a compatibility issue within the Server Command Line Tools
>> > component and XPe?
>> >
>> >
>> >
>> > "KM" wrote:
>> >
>> >> PjS,
>> >>
>> >> You can easy find out what's missing (what provider is missing ) from your image if you launch the takskill at run time
>> >> through
>> >> Dependency Walker (Profiling feature).
>> >>
>> >> The taskkill utility, although pretty simple itself, requires lots of dependencies. If you find something is missing from the
>> >> "Server Command Line Tools", please feel free to report the bug to the Product Team.
>> >>
>> >> --
>> >> Regards,
>> >> KM
>> >>
>> >>
>> >> > Hello XPe community. I am having a small issue using taskill.exe on my XPe
>> >> > build. Perhaps somebody could shed some light.
>> >> >
>> >> > I am simply trying to run a very simaple taskkill.exe command. I am getting
>> >> > the following message returned:
>> >> >
>> >> > ERROR: Provider load failure.
>> >> >
>> >> > I have checked the dependencies for Server Command Line Tools (as this
>> >> > component contains taskkill.exe) and this looks to be OK.
>> >> >
>> >> > Any ideas?
>> >>
>> >>
>> >>
>>
>>
> PjS,
>
> Yes, the fix makes sense if we read the error message carefully :-)
>
> Thanks for the info! It is indeed a bug in the "Server Command Line Tools" component considering the fact that it brings in the
> WMI Core and etc. anyway.
> Btw.. Taskkill is totally WMI based tool. Also a quick look at the tool binary resources shows that it seems to use the
> "Win32_OperatingSystem" and "Win32_ComputerSystem" WMI classes.
>
> I never liked how WMI components required for some tools or sys.components to function on XP. Microsoft push on moving to WMI
> everywhere makes sense on XP Pro but not on XPe since the WMI stack is heavy :-(
> I think it would be better to make optional the use of WMI functionality in the code of such tools. Hope it will be fix in
> Longhorn.
>
> --
> Regards,
> KM
>
>>> KM,>
>>
>> Looked in the filemon regmon logs to no avail, but did some hunting and
>> pecking:
>>
>> Turned out to be a component needed: WMI Win32 Provider (which makes sense
>> considering what these tools are trying to accomplish).
>>
>> "Server Command Line Tools" does not call WMI Win32 Provider as a dependency
>> (directly/specifically), nor does it specify such in the Component Help.
>>
>> On another note: (could be useful to others):
>>
>> The WMI Win32 Provider component is also needed to suppress that annoying
>> netsh message specifying: "Cannot retreve host information for COMPUTERNAME,
>> some commands will not be available".
>>
>> Anyhow....it is resolved...which is a good thing! Thanks for your prompt
>> replies, and suggestions. If I can be of any help, please let me know.
>>
>>
>>
>>
>>
>>
>> "KM" wrote:
>>>>> PjS,
>>>
>>> For testing purposes you can try to set the CSDVersion value under [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\Windows]
>>> to
>>> whatever is set on XP Pro (512).
>>>
>>> Also, have you tried looking at Filemon/Regmon logs captured while you ran the taskkill utility to see if anything pops up
>>> there?
>>>
>>> --
>>> Regards,
>>> KM
>>>
>>>
>>> > KM,
>>> >
>>> > Upon further investigation, you can run taskkill.exe or tasklist.exe
>>> > (another "server command line tool") with a /S switch to specify machine name
>>> > to act against. When I provide /S localhost, I am getting an error message
>>> > back, that is slightly different, but more usueful (perhaps):
>>> >
>>> > ERROR: The Target System must be running Windows XP or above.
>>> >
>>> > Running taskkill or tasklist.exe on a known good Windows XP Pro installation
>>> > with /S localhost provides good output (no errors).
>>> >
>>> > Is this perhaps a compatibility issue within the Server Command Line Tools
>>> > component and XPe?
>>> >
>>> >
>>> >
>>> > "KM" wrote:
>>> >
>>> >> PjS,
>>> >>
>>> >> You can easy find out what's missing (what provider is missing ) from your image if you launch the takskill at run time
>>> >> through
>>> >> Dependency Walker (Profiling feature).
>>> >>
>>> >> The taskkill utility, although pretty simple itself, requires lots of dependencies. If you find something is missing from the
>>> >> "Server Command Line Tools", please feel free to report the bug to the Product Team.
>>> >>
>>> >> --
>>> >> Regards,
>>> >> KM
>>> >>
>>> >>
>>> >> > Hello XPe community. I am having a small issue using taskill.exe on my XPe
>>> >> > build. Perhaps somebody could shed some light.
>>> >> >
>>> >> > I am simply trying to run a very simaple taskkill.exe command. I am getting
>>> >> > the following message returned:
>>> >> >
>>> >> > ERROR: Provider load failure.
>>> >> >
>>> >> > I have checked the dependencies for Server Command Line Tools (as this
>>> >> > component contains taskkill.exe) and this looks to be OK.
>>> >> >
>>> >> > Any ideas?
>>> >>
>>> >>
>>> >>
>>>
>>>
>>>
>
> It appeared that the bug is already known:
> http://groups.google.com/group/micro...ab22066?hl=en&
>
> But obviously - not fixed in SP2.
>
> --
> Regards,
> KM
>
>> > PjS,>
> >
> > Yes, the fix makes sense if we read the error message carefully :-)
> >
> > Thanks for the info! It is indeed a bug in the "Server Command Line Tools" component considering the fact that it brings in the
> > WMI Core and etc. anyway.
> > Btw.. Taskkill is totally WMI based tool. Also a quick look at the tool binary resources shows that it seems to use the
> > "Win32_OperatingSystem" and "Win32_ComputerSystem" WMI classes.
> >
> > I never liked how WMI components required for some tools or sys.components to function on XP. Microsoft push on moving to WMI
> > everywhere makes sense on XP Pro but not on XPe since the WMI stack is heavy :-(
> > I think it would be better to make optional the use of WMI functionality in the code of such tools. Hope it will be fix in
> > Longhorn.
> >
> > --
> > Regards,
> > KM
> >
> >> >> KM,> >
> >>
> >> Looked in the filemon regmon logs to no avail, but did some hunting and
> >> pecking:
> >>
> >> Turned out to be a component needed: WMI Win32 Provider (which makes sense
> >> considering what these tools are trying to accomplish).
> >>
> >> "Server Command Line Tools" does not call WMI Win32 Provider as a dependency
> >> (directly/specifically), nor does it specify such in the Component Help.
> >>
> >> On another note: (could be useful to others):
> >>
> >> The WMI Win32 Provider component is also needed to suppress that annoying
> >> netsh message specifying: "Cannot retreve host information for COMPUTERNAME,
> >> some commands will not be available".
> >>
> >> Anyhow....it is resolved...which is a good thing! Thanks for your prompt
> >> replies, and suggestions. If I can be of any help, please let me know.
> >>
> >>
> >>
> >>
> >>
> >>
> >> "KM" wrote:
> >>
> >>> PjS,
> >>>
> >>> For testing purposes you can try to set the CSDVersion value under [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\Windows]
> >>> to
> >>> whatever is set on XP Pro (512).
> >>>
> >>> Also, have you tried looking at Filemon/Regmon logs captured while you ran the taskkill utility to see if anything pops up
> >>> there?
> >>>
> >>> --
> >>> Regards,
> >>> KM
> >>>
> >>>
> >>> > KM,
> >>> >
> >>> > Upon further investigation, you can run taskkill.exe or tasklist.exe
> >>> > (another "server command line tool") with a /S switch to specify machine name
> >>> > to act against. When I provide /S localhost, I am getting an error message
> >>> > back, that is slightly different, but more usueful (perhaps):
> >>> >
> >>> > ERROR: The Target System must be running Windows XP or above.
> >>> >
> >>> > Running taskkill or tasklist.exe on a known good Windows XP Pro installation
> >>> > with /S localhost provides good output (no errors).
> >>> >
> >>> > Is this perhaps a compatibility issue within the Server Command Line Tools
> >>> > component and XPe?
> >>> >
> >>> >
> >>> >
> >>> > "KM" wrote:
> >>> >
> >>> >> PjS,
> >>> >>
> >>> >> You can easy find out what's missing (what provider is missing ) from your image if you launch the takskill at run time
> >>> >> through
> >>> >> Dependency Walker (Profiling feature).
> >>> >>
> >>> >> The taskkill utility, although pretty simple itself, requires lots of dependencies. If you find something is missing from the
> >>> >> "Server Command Line Tools", please feel free to report the bug to the Product Team.
> >>> >>
> >>> >> --
> >>> >> Regards,
> >>> >> KM
> >>> >>
> >>> >>
> >>> >> > Hello XPe community. I am having a small issue using taskill.exe on my XPe
> >>> >> > build. Perhaps somebody could shed some light.
> >>> >> >
> >>> >> > I am simply trying to run a very simaple taskkill.exe command. I am getting
> >>> >> > the following message returned:
> >>> >> >
> >>> >> > ERROR: Provider load failure.
> >>> >> >
> >>> >> > I have checked the dependencies for Server Command Line Tools (as this
> >>> >> > component contains taskkill.exe) and this looks to be OK.
> >>> >> >
> >>> >> > Any ideas?
> >>> >>
> >>> >>
> >>> >>
> >>>
> >>>
> >>>
> >
>
>
| | LinkBack | Thread Tools | Display Modes |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| taskkill with status filter | andreas | Windows XP Configuration & Management | 0 | 03-14-2006 04:01 PM |
| tasklist, taskkill - which component | Chris | Windows XP Embedded | 3 | 10-13-2004 06:19 PM |
| tasklist and taskkill | Ann Adamson | Windows XP Embedded | 4 | 05-04-2004 12:58 AM |
| Taskkill.exe and Tasklist.exe | MJACKS | Windows XP Embedded | 4 | 09-12-2003 06:36 PM |
| Error Log question | Comp Guy | Windows XP Basics | 0 | 09-01-2003 08:07 AM |
| LinkBack |
LinkBack URL |
About LinkBacks |


Linear Mode


Posts: n/a