Ask our Experts
Didn't find what you are looking for? Ask our experts!
Schneider, APC support forum to share knowledge about installation and configuration for Data Center and Business Power UPSs, Accessories, Software, Services.
Search in
Free
EnglishStrengthen your foundational knowledge in Data Centers for free, enroll in this path today and start your learning journey!
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 offremrem Maximize for best viewingrem This command file provides examples of proper command file syntaxremrem Command Files run by PowerChute Business Edition must be placed in this directory.remrem Use the full path name of executable programs and external command files.remrem 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 mustrem 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:remrem @START "" "c:\Program Files\APC\PowerChute Business Edition\agent\cmdfiles\myShut.exe"rem@echo ontime /T >> C:\apctest\cmdtest.txt@START C:"\Program Files\Oracle\VirtualBox\shutdown.bat"
shutdown.bat
cd\Program Files\Oracle\VirtualBoxVBoxManage controlvm "Webserver" acpipowerbuttonVBoxManage 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.
You’ve reached the end of your document
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.