Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


chanduvc
2011-02-07T13:19:06Z
Hi There,

I'm trying call(Locally) an EXE from a batch file.This EXE needs a particular user's credentials to execute. Even though after providing credentials its throwing an error saying "the server cannot be started,either because it is disabled or because it has no enabled devices associated with it." . Can you please help me in resolving this. I too tried foreground execution.

(If I go to the that machine & execute that batch file which contains the following script, then it can be executed.)

cd\
d:
cd D:\powerimage\MacBuild\Release
START /B MacBuild.exe /s \\omnibhmsvn01\pi-vss /u newbuilder /p newbuilder /a $/pisource/9.40 >>mac.log
pause
Sponsor
Forum information
Support
2011-02-07T13:28:16Z
First I would remove "START /B" - I don't see why that is useful?

Second I wonder which credential you used. A local or a user on omnibhmsvn01?
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
chanduvc
2011-02-07T14:07:04Z
Hi,

I've removed "START /B" but no luck. I'm trying with a user on Omnibhmsvn01.
ErikC
2011-02-21T09:35:11Z
Hi chanduvc,

You are telling you are running this batch file locally. Does this mean VC is installed on the same machine running this batch file?

You than could also use the execute command task running your program: MacBuid.exe with the parameters: /s \\omnibhmsvn01\pi-vss /u newbuilder /p newbuilder /a $/pisource/9.40 >>mac.log and the working dir: D:\powerimage\MacBuild\Release.
You should set up the right credentials ro run this job. This user should be able to run the MacBuild.exe

You might remove the >>mag.log from the parameters. I think the output is in VC so you can have a next task adding this (file write task) to add this to the logfile.

Regards,
Erik

Uses Visualcron since 2006.
Scroll to Top