Logon Failure - using Taskkill.exe

G

Guest

I have 2 peer-to-peer networks, both using a mix of XPPro and XPHome.

When I try to use taskkill.exe to kill a process on another system (from an
XPPro machine) I first get asked to enter the password for the system that
I'm on - rather than the one on the system that I'm trying to kill the
process on. Once I do that, I get the following error message:

Error: Logon failure: Unknown user name or bad password.

Here's an example of the syntax that causes this:

taskkill /s cindy /f /im notepad.exe /t

When I press enter, I get this....

Type the password for PUTZ\FUBAR:

This is the machine I'm working on - not the one I'm trying to use taskkill
on.

When I enter the password and press return, I get the above error message?

Since I'm a networking neophyte, nothing has been done with these networks
other than to set them up with the Windows Networking Wizard.

Any help would be sincerely appreciated!

- John
 
C

Chuck

I have 2 peer-to-peer networks, both using a mix of XPPro and XPHome.

When I try to use taskkill.exe to kill a process on another system (from an
XPPro machine) I first get asked to enter the password for the system that
I'm on - rather than the one on the system that I'm trying to kill the
process on. Once I do that, I get the following error message:

Error: Logon failure: Unknown user name or bad password.

Here's an example of the syntax that causes this:

taskkill /s cindy /f /im notepad.exe /t

When I press enter, I get this....

Type the password for PUTZ\FUBAR:

This is the machine I'm working on - not the one I'm trying to use taskkill
on.

When I enter the password and press return, I get the above error message?

Since I'm a networking neophyte, nothing has been done with these networks
other than to set them up with the Windows Networking Wizard.

Any help would be sincerely appreciated!

- John

John,

If you enter "taskkill /?", you'll note another parameter, "U", as in
/U [domain\]user

Try adding that parameter, with an account on the target computer, to the
command.
 
G

Guest

Thanks Chuck!

I don't have domains - we use workgroups. I've replaced the domain name
with the workgroup name and get the same error message. I also used just the
user name - without the domain - and got the same error. I've tried all of
these examples at least 3 times in case I messed up the passwords.

I even went to the extent of creating an account named ED with a password of
ED so that I couldn't mess it up - and still no luck!

Could this possibly have something to do with permissions, etc?

Thanks!

John
Chuck said:
I have 2 peer-to-peer networks, both using a mix of XPPro and XPHome.

When I try to use taskkill.exe to kill a process on another system (from an
XPPro machine) I first get asked to enter the password for the system that
I'm on - rather than the one on the system that I'm trying to kill the
process on. Once I do that, I get the following error message:

Error: Logon failure: Unknown user name or bad password.

Here's an example of the syntax that causes this:

taskkill /s cindy /f /im notepad.exe /t

When I press enter, I get this....

Type the password for PUTZ\FUBAR:

This is the machine I'm working on - not the one I'm trying to use taskkill
on.

When I enter the password and press return, I get the above error message?

Since I'm a networking neophyte, nothing has been done with these networks
other than to set them up with the Windows Networking Wizard.

Any help would be sincerely appreciated!

- John

John,

If you enter "taskkill /?", you'll note another parameter, "U", as in
/U [domain\]user

Try adding that parameter, with an account on the target computer, to the
command.
 
C

Chuck

Chuck said:
I have 2 peer-to-peer networks, both using a mix of XPPro and XPHome.

When I try to use taskkill.exe to kill a process on another system (from an
XPPro machine) I first get asked to enter the password for the system that
I'm on - rather than the one on the system that I'm trying to kill the
process on. Once I do that, I get the following error message:

Error: Logon failure: Unknown user name or bad password.

Here's an example of the syntax that causes this:

taskkill /s cindy /f /im notepad.exe /t

When I press enter, I get this....

Type the password for PUTZ\FUBAR:

This is the machine I'm working on - not the one I'm trying to use taskkill
on.

When I enter the password and press return, I get the above error message?

Since I'm a networking neophyte, nothing has been done with these networks
other than to set them up with the Windows Networking Wizard.

Any help would be sincerely appreciated!

- John

John,

If you enter "taskkill /?", you'll note another parameter, "U", as in
/U [domain\]user

Try adding that parameter, with an account on the target computer, to the
command.
Thanks Chuck!

I don't have domains - we use workgroups. I've replaced the domain name
with the workgroup name and get the same error message. I also used just the
user name - without the domain - and got the same error. I've tried all of
these examples at least 3 times in case I messed up the passwords.

I even went to the extent of creating an account named ED with a password of
ED so that I couldn't mess it up - and still no luck!

Could this possibly have something to do with permissions, etc?

Thanks!

John

John,

Is the target running XP Home or Pro? If XP home, remember Guest is the only
network capable account, and it won't provide administrative access (unless you
want to hack XP Home).

If XP Pro, try using the name of the target computer, instead of the workgroup
name - it has to be an account defined on the target, with workgroup
authentication.
 
G

Guest

Hi Chuck!

I'm using XPPro on the target system (and XPPro on the other). Thanks for
the tip about XPHome - I'll tackle that after I fix this problem! :)

Still no success with any of the variations of the syntax.

FWIW, we did have problems with our network connectivity in the past and
fixed it by changing the setting for simple file sharing. Alternatively, is
there a way that I can reset all the networking stuff to default and work
from there?
 
C

Chuck

Hi Chuck!

I'm using XPPro on the target system (and XPPro on the other). Thanks for
the tip about XPHome - I'll tackle that after I fix this problem! :)

Still no success with any of the variations of the syntax.

FWIW, we did have problems with our network connectivity in the past and
fixed it by changing the setting for simple file sharing. Alternatively, is
there a way that I can reset all the networking stuff to default and work
from there?

John,

That could be one of the problems. Simple File Sharing, whether non-selectable
on XP Home, or selectable on XP Pro, uses Guest, which has no administrative
authority, for network access. If you have SFS enabled in XP Pro, taskkill
won't work either.

As far as resetting "all the networking stuff to default", I'm not sure if it's
possible to disable SFS by a reset. As far as I know, you have to use the
wizard.
1. Click Start, and then click My Computer.
2. On the Tools menu, click Folder Options, and then click the View tab.
3. In the Advanced Settings section, clear the Use simple file sharing
(Recommended) check box.
4. Click OK.
 
G

Guest

Hi Chuck!

First, thanks for your continued help on this issue!

I'm still trying to run Taskkill.exe and not getting it to work. I did
manage, yesterday, to shutdown one of the XPHome systems from the XPPro
system using shutdown.exe -m \\computername. So, there is some sort of
connectivity there.

Any more ideas?

- John
(aka usasma)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top