Results 1 to 4 of 4
  1. #1
    New Lounger
    Join Date
    Feb 2010
    Location
    Atlanta, GA
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Tasklist cannot access remote computer

    I have a batch file I periodically run to sync my calendar from my desktop PC to my laptop. I last ran it several weeks ago. Went to run it the other day and it hangs on the tasklist command. The following checks to see if the calendar program is running on the laptop, if it is it uses taskkill to kill the process, then copies the file.

    tasklist /S Dell /FI "IMAGENAME eq csde.exe" 2>NUL | find /I /N "csde.exe" > NUL
    if "%ERRORLEVEL%"=="0" goto kill

    I've been Googling and wracking my brain and I can't figure out why this suddenly quit working.

    Send machine is Windows 7 Professional, target PC is Windows 7 Home Premium.

    Firewalls turned off.

    I can ping. I can access the remote PC with Windows Explorer.

    I can read/write to the remote using Explorer. I can even control the remote using TeamViewer.

    I've tried adding the user and password. Nothing works.

    Any help greatly appreciated.

    Ed

  2. #2
    Platinum Lounger
    Join Date
    Dec 2009
    Location
    Earth
    Posts
    3,616
    Thanks
    7
    Thanked 231 Times in 219 Posts
    Have you changed any user passwords recently?
    Have you applied any software updates recently?
    Can you ping the computer by name (ping Dell)?
    Does tasklist work on it's own (tasklist /s Dell)?

    cheers, Paul

  3. #3
    New Lounger
    Join Date
    Feb 2010
    Location
    Atlanta, GA
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Paul T View Post
    Have you changed any user passwords recently?
    Have you applied any software updates recently?
    Can you ping the computer by name (ping Dell)?
    Does tasklist work on it's own (tasklist /s Dell)?

    cheers, Paul
    No password changes.
    Only normal Windows updates.
    Cannot ping by name. Ping by IP works fine.
    In a command prompt when I try tasklist the cursor drops to the next line and just blinks there forever.

    As in my original message I can control the Dell laptop using TeamViewer. I can read/write to the Dell using Windows Explorer.

    I have turned off the firewall on the Dell to no avail.

    Ed

  4. #4
    Platinum Lounger
    Join Date
    Dec 2009
    Location
    Earth
    Posts
    3,616
    Thanks
    7
    Thanked 231 Times in 219 Posts
    If you can't ping by name then you won't be able to do it with tasklist. Try tasklist with the IP.

    cheers, Paul

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •