Problems ending a remote process

G

Guest

Hi

I am trying to make a batch file to be run on one PC, that will end a process on *another* PC on our home LAN. All PCs on the LAN are XP Pro. The batch file contains the following command

taskkill /s SAMCOMP /u "Sam Galson" /p password /im image.ex

The remote computer's name is SAMCOMP, and Sam Galson is an account on it with administrator rights. Why isn't it working? I get the error: "Logon failure: unknown username or bad password". I am certain none of the user/password information is typed wrongly. Any ideas

Thanks
Sam
 
R

Roger Abell

When you provide
/u "Sam Galson"
are you providing the account Name, or the Full Name
as used for display ?? You need to use the Name, as
listed in lusrmgr.msc

--
Roger Abell
Microsoft MVP (Windows Server System: Security)
MCSE (W2k3,W2k,Nt4) MCDBA
Sam said:
Hi,

I am trying to make a batch file to be run on one PC, that will end a
process on *another* PC on our home LAN. All PCs on the LAN are XP Pro. The
batch file contains the following command:
taskkill /s SAMCOMP /u "Sam Galson" /p password /im image.exe

The remote computer's name is SAMCOMP, and Sam Galson is an account on it
with administrator rights. Why isn't it working? I get the error: "Logon
failure: unknown username or bad password". I am certain none of the
user/password information is typed wrongly. Any ideas?
 

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