Community forum

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


bruecksteve
2010-01-26T17:32:54Z
I have several batch files that I use to startup our computer labs (one for each lab) and several batch files that do a shutdown of the labs. For the most part, the startup batch files work ok but the shutdowns don't. They run for about .1 seconds and and say completed but nothing happens. I can manually run then and they work so I know they're good. It seems I've tried every combination of setting to get them to run but no luck.

Any ideas?
Sponsor
Forum information
Support
2010-01-26T17:49:04Z
The question is what fails within the batch file. There could be many things, but the most common reason are access and permissions. By default, VisualCron executes as the SYSTEM user. Maybe executables in your .bat-file requires certain permissions? Try adding and selecting a Credential.

Another reason might be if you are trying to access network drives? In this case you need a Credential for a user on the remote machine and also the usage of UNC paths (\\servername\folder\file) instead of logical drives like z:/.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
bruecksteve
2010-01-26T18:01:26Z
This is what the startup batch file does:
"S:\Student Work\Install\MediaCentermc-wol.exe" 00:1E:37:55:13:D4

It will do this 30 times for a lab (for each computer in that lab). It basically sends a wake-up packet to the computer. I've tried it using my credentials but it doesn't seem to matter. If I manually run the batch file it works ok though.

I'll try changing the path to UNC and see if that helps.

Thanks!
Support
2010-01-26T18:05:52Z
Yes, change to UNC or map network drives from VisualCron. Your logical drives are not visible for SYSTEM account.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
bruecksteve
2010-01-26T18:36:14Z
It appears that the problem was that I was trying to use credentials when it wasn't necessary. Since the computers aren't even on at that point, credentials are basically worthless. I removed credentials and also did a "Use Shell execute" and they started working.

Thanks for your help!
bruecksteve
2010-01-26T18:38:10Z
I was using UNC in VisualCron but not in the batch files but it seems the batch files were ok anyway.

Once again, thanks for your help!

Steve
Scroll to Top