I have been trying to use psexec to excute an VC++ app remotely.
This is my scenario:
On the remote PC, i have a bat file, called startme.BAT, that contains commands:
start /b D:\.....\StartApplication.exe
Now, if i run this BAT file, on the server itself, WinNT 4.0 SP6, then the BAT File functions normally by restarting the Application.
The problem starts when I try to execute startme.BAT from a remote workstation.
This is how i am executing it:
psexec \\computername -u domainAdmin -p domainPassword -i D:\..\startme.bat
Where DomainAdmin is a part of the local Admin group on the remote server.
The Bat file executes fine till the point where it has to restart the Application. I get a VC++ runtime error and the thing quits ???
Any help would be helpful.