1. Your title says "Tasklist used in batch file" but the code you posted does not use Tasklist; it does mention something called Testlist though.
2. Did you mean "The RCP Server is unavailable"?
3. Check the status and startup type for the RPC and RPC locator services on the server that gets the error. Additional Services that may result in "The RPC Server is Unavailable" errors are the TCP/IP NetBIOS helper service, Distributed File System service and Remote Registry service. These services should both be set to automatic and started. The Kerberos Key Distribution Center (KDC) should be Started and Automatic on Windows 2000 and Windows 2003 DCs. It should not be started and set to Disabled in all other cases.
4. You are not seeing up to date values of errorlevel because inside a FOR or other parenthetical structure if you SET a variable or try to read a changing system variable implicitly (like errorlevel, date, time etc) you need to use delayed expansion to get the value to expand properly inside that structure.