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.
Posted: 2021-07-08 02:27 AM . Last Modified: 2024-02-20 04:44 AM
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-07-08 02:27 AM . Last Modified: 2024-02-20 04:44 AM
Hi,
I´m running pcb 9.x on a windows server. The UPS is Samrt UPS 750. It´s connected via serial Cable an works fine. What I ant to do is the following:
I want to shut down plink.exe (ssh) an synology disk station in case of power failure. When I start the executable from the command line: C:\plink.exe -ssh -pw passwortdiskstation root@192.168.8.6 poweroff The Synology Disk Station powers off. The Problem is: I can´t do this in PCB. When testing the Command line, nothing happens. I´ve also tried this:
3. If the test fails, go to Services and right click on the Agent service and choose Properties.
4. Click on the "Log On" tab.
5. Check the box for "Interact with Desktop".
When I do this, communication between server and upc is lost.
Any Idea?
Thanks.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-07-08 02:27 AM . Last Modified: 2024-02-20 04:43 AM
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-07-08 02:27 AM . Last Modified: 2024-02-20 04:43 AM
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-07-08 02:27 AM . Last Modified: 2024-02-20 04:44 AM
Hi,
The issue may be resolved by adding @start to the command line as listed in FAQ FA168226. If that does not resolve the issue the cause most likely is due to PCBE is a service and ever since Windows Vista was release anytime a service attempts to run an executable it must be started in session zero. More information on session zero is noted in FAQ FA168226.
there are a few post here that discuss work arounds. I suggest reviewing Kenneth's post dated 26 April 2015
There is another work around listed in this post
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-07-08 02:27 AM . Last Modified: 2024-02-20 04:44 AM
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-07-08 02:27 AM . Last Modified: 2024-02-20 04:44 AM
Hi Bill,
I´ll check this out. May take some time. Will be back as soon I´ve tried out.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-07-08 02:27 AM . Last Modified: 2024-02-20 04:44 AM
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-07-08 02:27 AM . Last Modified: 2024-02-20 04:44 AM
Hi Bill,
I´ve taken a closer look to Kenneth´s post dated 26 April 2015.
"
I'm late to this party, but I encountered the exact same problem and figured out a work-around: use the Windows Task Scheduler!
I´ve tried to Create an new Scheduled Task with the GUI Scheduled Task planer. I wasn´t able to find the option "start manually". As far as I´ve understood I have to add this line "@start schtasks /run /tn ShutdownTest" to my existing cmd file for getting scheduled task planer into interaction with the cmd file.
Question: How do I do this in conrete?;)
Thanks.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-07-08 02:27 AM . Last Modified: 2024-02-20 04:43 AM
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-07-08 02:27 AM . Last Modified: 2024-02-20 04:43 AM
I think I got it going like Kenneth...;)
Thanks a lot!
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.