APC UPS Data Center & Enterprise Solutions Forum
Schneider, APC support forum to share knowledge about installation and configuration for Data Center and Business Power UPSs, Accessories, Software, Services.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-28 11:10 AM . Last Modified: 2024-03-15 05:46 AM
Dear Sir or Madame,
I am currently using PowerChute 10.0.1 with Windows 8 Pro 64 Bit connected to Smart-UPS with original APC-cable and serial I/O-interface:
Unfortunately the shutdown script (cmd-file) does not execute the executable in the shutdown.bat (bachfile):
default.cmd
@echo off
rem
rem Maximize for best viewing
rem This command file provides examples of proper command file syntax
rem
rem Command Files run by PowerChute Business Edition must be placed in this directory.
rem
rem Use the full path name of executable programs and external command files.
rem
rem The @START command must be used to run executable programs (see example below).
rem For the @START command, path names that include spaces must be enclosed in quotes;
rem arguments for the executable must be outside the quotes. A double quote must
rem precede the quoted path name. For example, to execute a command file in
rem c:\Program Files\APC\PowerChute Business Edition\agent\cmdfiles called myShut.exe,
rem the following line should be entered in the command file:
rem
rem @START "" "c:\Program Files\APC\PowerChute Business Edition\agent\cmdfiles\myShut.exe"
rem
@echo on
time /T >> C:\apctest\cmdtest.txt
@START C:"\Program Files\Oracle\VirtualBox\shutdown.bat"
shutdown.bat
cd\Program Files\Oracle\VirtualBox
VBoxManage controlvm "Webserver" acpipowerbutton
VBoxManage controlvm "Windows 2012 R2" savestate
How to figure out, why only timestamps are running sufficiently when testing and not the other executable?
How to fix the issue that VBoxManage get´s executed?
When starting default.cmd or shutdown.bat manually the it works fine but not when this is started by PowerChute test.
Thank you in advance
DL
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-28 11:10 AM . Last Modified: 2024-03-15 05:46 AM
Hi,
In most cases the issue is permissions or the fact that when PowerChute launches the command file is it launched in session zero. See Schneider Electric FAQ FA159586.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-28 11:10 AM . Last Modified: 2024-03-15 05:46 AM
Hi,
In most cases the issue is permissions or the fact that when PowerChute launches the command file is it launched in session zero. See Schneider Electric FAQ FA159586.
Link copied. Please paste this link to share this article on your social media post.
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.