Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works
Photo

Get list of processes, failing


  • Please log in to reply

#1
codecraig

codecraig

    Member

  • Member
  • PipPip
  • 61 posts
Hi,
I am trying to use the tasklist command to retrieve the list of processes from a remote computer. Below are the details...

Computer A (1.1.1.1):
Win XP Pro
Logged in as Administrator
No firewalls enabled, etc

Computer B (1.1.1.2):
Win XP Pro
Logged in as administrator
no firewalls, etc

So, on Computer A I open a command prompt and type:

tasklist /S 1.1.1.2 /U administrator /P password /FO TABLE

....I get the following error:
ERROR: Logon failure: unknown user name or bad password.

No, I am 100% positive the user name and password are correct, b/c I set them myself, and I logged onto computer B using them.

Any ideas???

thanks
  • 0

Advertisements


#2
gerryf

gerryf

    Retired Staff

  • Retired Staff
  • 11,365 posts
out of curiousity, does it work without the filter?, just:

tasklist /S 1.1.1.2 /U administrator /P password /FO TABLE

Also, does it work with the system name (ie: server1), rather than IP address?

Finally, any firewalls on the remote system?

Edited by gerryf, 24 August 2005 - 10:49 AM.

  • 0

#3
codecraig

codecraig

    Member

  • Topic Starter
  • Member
  • PipPip
  • 61 posts
I tried: tasklist /S 1.1.1.2 /U administrator /P password

..didn't work

I tried: tasklist /S computerB /U administrator /P password

..didn't work.

The remote machine does not have a firewall, all is clear.
  • 0

#4
codecraig

codecraig

    Member

  • Topic Starter
  • Member
  • PipPip
  • 61 posts
One interesting thing I tried: tasklist /S 1.1.1.2

which prompted me for a password..."Type the password for computerA\Administrator" ....why would it want the admin password for the local machine?

I tried: tasklist /S 1.1.1.2 /U computerB\Administrator .....and it prompts for the password, which i supply, and does not work.
  • 0

#5
codecraig

codecraig

    Member

  • Topic Starter
  • Member
  • PipPip
  • 61 posts
one more note, these win xp computers are not on a domain...they are workgroup computers.
  • 0

#6
gerryf

gerryf

    Retired Staff

  • Retired Staff
  • 11,365 posts
doesn't matter if they are workgroups or domains...works both ways.

both windows xp pro?
  • 0

#7
codecraig

codecraig

    Member

  • Topic Starter
  • Member
  • PipPip
  • 61 posts
yes
  • 0

#8
gerryf

gerryf

    Retired Staff

  • Retired Staff
  • 11,365 posts
create a new account (admin) on the remote pc

name it
test
with password
test

try that account
I see no reason why this is not working....command works just fine on a workgroup here
  • 0

#9
codecraig

codecraig

    Member

  • Topic Starter
  • Member
  • PipPip
  • 61 posts
yea i see no reason either, but even test/test does not work.
  • 0

#10
gerryf

gerryf

    Retired Staff

  • Retired Staff
  • 11,365 posts
had you disabled any services on the remote or host machine? Or are they set at defaults?
  • 0

Advertisements


#11
codecraig

codecraig

    Member

  • Topic Starter
  • Member
  • PipPip
  • 61 posts
they are set to default, haven't messed with them. I'm really lost as to what is going on. I have tried it against a win2k3 server from my win xp and it worked just fine. same setup except the OS and type of computer were different.
  • 0

#12
gerryf

gerryf

    Retired Staff

  • Retired Staff
  • 11,365 posts
same workgroup name?

change the workgroup name on both machines...

sp1 or sp2?


can you run remote tasklist from computerB to computerA
  • 0

#13
codecraig

codecraig

    Member

  • Topic Starter
  • Member
  • PipPip
  • 61 posts
both have same workgroup name: WORKGROUP

both have SP2 (and latest windows updates)

tasklist does not work from A to B or B to A
  • 0

#14
gerryf

gerryf

    Retired Staff

  • Retired Staff
  • 11,365 posts
you've disabled the built in windows firewall (you should not have to).

These pcs are connected...how? router/switch? Hub? VPN?

It has got to be something blocking the ports, or....?

could you run a hijack log on the second machine and post it here so I can see what is runnin...not looking for malware, just some sort of security software
  • 0

#15
codecraig

codecraig

    Member

  • Topic Starter
  • Member
  • PipPip
  • 61 posts
How doi get that log?
  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP