Taskkill.exe question / error

Posted: 09-12-2005, 06:05 PM
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?
Reply With Quote

Responses to "Taskkill.exe question / error"

KM
Guest
Posts: n/a
 
Re: Taskkill.exe question / error
Posted: 09-12-2005, 06:31 PM
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?

Reply With Quote
PjS
Guest
Posts: n/a
 
Re: Taskkill.exe question / error
Posted: 09-12-2005, 06:55 PM
Hi KM,

Thanks for the speedy reply.

I ran Dependency Walker in Profile mode against taskkill.exe, and the log
shows that all the modules were successfully hooked. No error messages or
missing files when looking at the log of the profile mode dump. Actually,
(suprisingly!) no errors whatsoever in the log, when run in Profile mode....







"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?
>
>
>
Reply With Quote
PjS
Guest
Posts: n/a
 
Re: Taskkill.exe question / error
Posted: 09-12-2005, 07:43 PM
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?
>
>
>
Reply With Quote
KM
Guest
Posts: n/a
 
Re: Taskkill.exe question / error
Posted: 09-12-2005, 08:06 PM
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?
>>
>>
>>

Reply With Quote
PjS
Guest
Posts: n/a
 
Re: Taskkill.exe question / error
Posted: 09-12-2005, 08:51 PM
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?
> >>
> >>
> >>
>
>
>
Reply With Quote
KM
Guest
Posts: n/a
 
Re: Taskkill.exe question / error
Posted: 09-12-2005, 09:38 PM
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?
>> >>
>> >>
>> >>
>>
>>
>>

Reply With Quote
KM
Guest
Posts: n/a
 
Re: Taskkill.exe question / error
Posted: 09-12-2005, 09:46 PM
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?
>>> >>
>>> >>
>>> >>
>>>
>>>
>>>
>
>

Reply With Quote
PjS
Guest
Posts: n/a
 
Re: Taskkill.exe question / error
Posted: 09-13-2005, 02:45 PM
KM,

These things happen! At least we know....knowledge is key!

"KM" wrote:
> 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?
> >>> >>
> >>> >>
> >>> >>
> >>>
> >>>
> >>>
> >
> >
>
>
>
Reply With Quote
 
LinkBack Thread Tools Display Modes
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


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


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90