Tasklist hanging when trying to access remote computer

Discussion in 'Windows 7 Networking' started by Ed Mullen, Jun 2, 2014.

  1. Ed Mullen

    Ed Mullen Senior Member

    Joined:
    Feb 4, 2010
    Messages:
    3
    Likes Received:
    0
    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.

    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
     

Share This Page

Loading...