Community discussions

MikroTik App
 
SenorKaffee
just joined
Topic Author
Posts: 3
Joined: Thu Nov 19, 2009 5:50 pm

PsExec - execute local works, execute on server hangs

Fri Nov 27, 2009 3:38 pm

I use the following "execute"-Notification to restart a service once The Dude notices it is no longer responding.

c:\pstools\psexec.exe \\kwpdda2 -i -u kwpdda2\thedude -p gemLam93lun c:\webservicerestart.cmd

If you make an "execute local" notification and leave the program window open on the The Dude server, it runs just fine. If you make an "execute on server" notification, psexec.exe shows up in the task manager (as started by user SYSTEM), but has no effect. It just hangs in there forever.

The system is Windows 2003 Server. SYSTEM has the right to execute psexec.exe.
Do you have an idea what is going wrong?
 
User avatar
sady
Frequent Visitor
Frequent Visitor
Posts: 84
Joined: Fri Jul 11, 2008 11:30 am
Location: Russia

Re: PsExec - execute local works, execute on server hangs

Tue Dec 01, 2009 5:46 pm

what your execution function string? with all parameters?

Who is online

Users browsing this forum: No registered users and 9 guests