Help
  • Get started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Login / Register
Brand Logo
Help
  • Get started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
close
  • Community Home
  • Forums
    • By Topic
    • By Topic
      EcoStruxure Building
      • Field Devices Forum
      • SmartConnector Forum
      EcoStruxure Power & Grid
      • Gateways and Energy Servers
      • Metering & Power Quality
      • Protection & Control
      APC UPS, Critical Power, Cooling and Racks
      • APC UPS Data Center & Enterprise Solutions Forum
      • APC UPS for Home and Office Forum
      EcoStruxure IT
      • EcoStruxure IT forum
      • EcoStruxure IT™ Advisor CFD
      Remote Operations
      • EcoStruxure Geo SCADA Expert Forum
      • Remote Operations Forum
      Industrial Automation
      • Alliance System Integrators Forum
      • AVEVA Plant SCADA Forum
      • CPG Expert Forum DACH
      • EcoStruxure Automation Expert / IEC 61499 Forum
      • Fabrika ve Makina Otomasyonu Çözümleri
      • Harmony Control Customization Forum
      • Industrial Edge Computing Forum
      • Industry Automation and Control Forum
      • Korea Industrial Automation Forum
      • Machine Automation Forum
      • Modicon PAC Forum
      • PLC Club Indonesia
      Schneider Electric Wiser
      • Schneider Electric Wiser Forum
      Power Distribution IEC
      • Eldistribution & Fastighetsautomation
      • Elektrik Tasarım Dağıtım ve Uygulama Çözümleri
      • Paneelbouw & Energie Distributie
      • Power Distribution and Digital
      • Solutions for Motor Management
      • Specifiers Club ZA Forum
      • Електропроектанти България
      Power Distribution NEMA
      • Power Monitoring and Energy Automation NAM
      Power Distribution Software
      • EcoStruxure Power Design Forum
      • LayoutFAST User Group Forum
      Energy & Sustainability Services
      • Green Building Scoring and Certification Forum
      Light and Room Control
      • SpaceLogic C-Bus Forum
      Solutions for your Business
      • Solutions for your Business Forum
      Support
      • Ask the Community
  • Knowledge Center
    • Building Automation Knowledge Base
    • Remote Operations Devices Knowledge Base
    • Geo SCADA Knowledge Base
    • Industrial Automation How-to videos
    • Digital E-books
    • Success Stories Corner
    • EcoStruxure IT Help Center
  • Events & Webinars
    • All Events
    • Innovation Talks
    • Innovation Summit
    • Let's Exchange Series
    • Partner Success
    • Process Automation Talks
    • Technology Partners
  • Ideas
    • EcoStruxure Building
      • EcoStruxure Building Advisor Ideas
      Remote Operations
      • EcoStruxure Geo SCADA Expert Ideas
      • Remote Operations Devices Ideas
      Industrial Automation
      • Modicon Ideas & new features
  • Blogs
    • By Topic
    • By Topic
      EcoStruxure Power & Grid
      • Backstage Access Resources
      EcoStruxure IT
      • EcoStruxure IT™ Advisor CFD
      Remote Operations
      • Remote Operations Blog
      Industrial Automation
      • Industrie du Futur France
      • Industry 4.0 Blog
      Power Distribution NEMA
      • NEMA Power Foundations Blog
      Energy & Sustainability Services
      • Active Energy Management Blog
      Light and Room Control
      • KNX Blog
      Knowledge Center
      • Digital E-books
      • Geo SCADA Knowledge Base
      • Industrial Automation How-to videos
      • Remote Operations Devices Knowledge Base
      • Success Stories Corner
  • companyImpact

Important Announcement: Community Back to Full Functionality

Dear Members, we are thrilled to announce that our Community is back to full functionality and that posts publication is now enabled again! We appreciate your patience during the last weeks. Learn more about our Community Guidelines. Thank you, Schneider Electric Community Team.

Smart-UPS 1500VA w/ Interface Expander AP9607 & Powerchute Command File

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.

cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Home
  • Communities
  • APC UPS, Critical Power, Cooling and Racks
  • APC UPS Data Center & Enterprise Solutions Forum
  • Smart-UPS 1500VA w/ Interface Expander AP9607 & Powerchute Command File
Options
  • Subscribe to RSS Feed
  • Mark Topic as New
  • Mark Topic as Read
  • Float this Topic for Current User
  • Bookmark
  • Subscribe
  • Mute
  • Printer Friendly Page
Invite a Co-worker
Send a co-worker an invite to the portal.Just enter their email address and we'll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send Invite Cancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Send New Invite Close
Top Experts
User Count
BillP
Administrator BillP Administrator
5027
voidstar_apc
Janeway voidstar_apc
195
Erasmus_apc
Sisko Erasmus_apc
111
TheNotoriousKMP_apc
Sisko TheNotoriousKMP_apc
108
View All

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Solved Go to Solution
Back to APC UPS Data Center & Enterprise Solutions Forum
Solved
ChrisInVT_apc
Ensign ChrisInVT_apc
Ensign

Posted: ‎2021-06-28 10:47 PM

0 Likes
14
1482
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-06-28 10:47 PM

Smart-UPS 1500VA w/ Interface Expander AP9607 & Powerchute Command File

This was originally posted on APC forums on 8/10/2009


OK, this setup is taking years off my life due to the stress I'm encountering in trying to get it working properly.

We have a Smart-UPS 1500VA with two Windows 2003 servers and one Windows XP Pro server sucking power through it. One 2003 server is a DC, the other a NAS. The XP server is a Proxy and AntiVirus server. The DC is connected directly to the UPS VIA serial port. The Proxy & NAS are connected to the UPS's AP9607 Interface Expander VIA serial ports with the supplied cables. We are running PowerChute Business Edition Basic 7.0.2 build 110 (The software CD that came with the UPS) with the Agent/Server/Console on the DC. The Agent is also installed on the Proxy and NAS, along with the console on my desktop PC so I can administer everything without having to log into the DC.

In the Device list Configuration wizard, the Proxy & NAS are visible under Discovered Devices - but when added to Current Device List fail with the error +"Failed to apply the configuration profile to servername.domainname.local"+. therefor, I am unable to get the other two servers to gracefully shutdown. When we had a power failure several days ago, our DC gracefully shut down, but the Proxy & NAS went down hard. I've had problems with this happening in the past and resorted to using a command file to shut down the two servers over the network (since our backbone is on another UPS). Unfortunately, it seems that this took a hike also.

In the shutdown sequence, I have the Command File (ShutdownServers.cmd) to execute immediately and run for a duration of 1 minute. The command file works beautifully if ran; but PowerChute seems not to play nice with it. This is the contents of ShutdownServers.cmd:



-----
@echo off
for /f %%a in (c:\computers.txt) do call :shutdown %%a
goto :eof

:shutdown
echo Shutting down: %1
ping -n 1 -w 800 %1
if not errorlevel 1 goto MachineOK
echo Cannot ping machine %1. Aborting.
goto Fini

:MachineOK
shutdown.exe -s -f -m \\%1 -t 300 -D p:6:12 -c "A POWER FAILURE HAS BEEN DETECTED - SERVER SHUTDOWN INITIATED!"
Shutdown OK %1

:Fini
-----




I have a computers.txt file at the root of c: that has a list of the servers to shut down (this is handy because we have other computers on the network that are run of "dumb APCs" and this allows me to shut them down over the network also). In the services of the DC (which all this is running on) I have APC PBE Agent and APC PBE Server log on a domain administrator account (has full admin rights to EVERY computer on the network). I previously tried using Local System Account and having Allow service to interact with desktop, but that didn't work either. I have restarted the service every time I've made changes.


We are having this exact problem in multiple locations throughout the company, where PowerChute would gracefully shut down ALL servers - but it seems that the configuration took a hike on every single server (Windows Update anyone?)

Message was edited by: ChrisInVT

Labels
  • Labels:
  • Smart-UPS & Symmetra LX | RM
Reply

Link copied. Please paste this link to share this article on your social media post.

  • All forum topics
  • Previous Topic
  • Next Topic

Accepted Solutions
ChrisInVT_apc
Ensign ChrisInVT_apc
Ensign

Posted: ‎2021-06-28 10:48 PM

0 Likes
0
1480
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-06-28 10:48 PM

This was originally posted on APC forums on 8/10/2009


OK, this setup is taking years off my life due to the stress I'm encountering in trying to get it working properly.

We have a Smart-UPS 1500VA with two Windows 2003 servers and one Windows XP Pro server sucking power through it. One 2003 server is a DC, the other a NAS. The XP server is a Proxy and AntiVirus server. The DC is connected directly to the UPS VIA serial port. The Proxy & NAS are connected to the UPS's AP9607 Interface Expander VIA serial ports with the supplied cables. We are running PowerChute Business Edition Basic 7.0.2 build 110 (The software CD that came with the UPS) with the Agent/Server/Console on the DC. The Agent is also installed on the Proxy and NAS, along with the console on my desktop PC so I can administer everything without having to log into the DC.

In the Device list Configuration wizard, the Proxy & NAS are visible under Discovered Devices - but when added to Current Device List fail with the error +"Failed to apply the configuration profile to servername.domainname.local"+. therefor, I am unable to get the other two servers to gracefully shutdown. When we had a power failure several days ago, our DC gracefully shut down, but the Proxy & NAS went down hard. I've had problems with this happening in the past and resorted to using a command file to shut down the two servers over the network (since our backbone is on another UPS). Unfortunately, it seems that this took a hike also.

In the shutdown sequence, I have the Command File (ShutdownServers.cmd) to execute immediately and run for a duration of 1 minute. The command file works beautifully if ran; but PowerChute seems not to play nice with it. This is the contents of ShutdownServers.cmd:



-----
@echo off
for /f %%a in (c:\computers.txt) do call :shutdown %%a
goto :eof

:shutdown
echo Shutting down: %1
ping -n 1 -w 800 %1
if not errorlevel 1 goto MachineOK
echo Cannot ping machine %1. Aborting.
goto Fini

:MachineOK
shutdown.exe -s -f -m \\%1 -t 300 -D p:6:12 -c "A POWER FAILURE HAS BEEN DETECTED - SERVER SHUTDOWN INITIATED!"
Shutdown OK %1

:Fini
-----




I have a computers.txt file at the root of c: that has a list of the servers to shut down (this is handy because we have other computers on the network that are run of "dumb APCs" and this allows me to shut them down over the network also). In the services of the DC (which all this is running on) I have APC PBE Agent and APC PBE Server log on a domain administrator account (has full admin rights to EVERY computer on the network). I previously tried using Local System Account and having Allow service to interact with desktop, but that didn't work either. I have restarted the service every time I've made changes.


We are having this exact problem in multiple locations throughout the company, where PowerChute would gracefully shut down ALL servers - but it seems that the configuration took a hike on every single server (Windows Update anyone?)

Message was edited by: ChrisInVT

See Answer In Context

Reply

Link copied. Please paste this link to share this article on your social media post.

Replies 14
BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-06-28 10:47 PM

0 Likes
0
1480
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-06-28 10:47 PM

This reply was originally posted by Jonathan on APC forums on 8/10/2009


Welcome to the APC Forum Chris,

To my knowledge our software can only execute a single line command file only. My suggestion for you is to create a single line command file which will then call your multi-line command file. If you need help using and or writing command files please take a look at this knowledge base article --> [http://nam-en.apc.com/cgi-bin/nam_en.cfg/php/enduser/std_adp.php?p_faqid=7712].

Reply

Link copied. Please paste this link to share this article on your social media post.

BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-06-28 10:47 PM

0 Likes
0
1480
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-06-28 10:47 PM

This reply was originally posted by Jonathan on APC forums on 8/11/2009


Chris,

Would it be okay if you post a screenshot of your PCBE configuration and on what event are you calling these command files? Can you also attach the command files you've made, if I find time today I will try to simulate it here in our lab. Also are you calling these files on the PCBE Agent that are on the basic or advance port?

Reply

Link copied. Please paste this link to share this article on your social media post.

ChrisInVT_apc
Ensign ChrisInVT_apc
Ensign

Posted: ‎2021-06-28 10:47 PM

0 Likes
0
1480
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-06-28 10:47 PM

This was originally posted on APC forums on 8/11/2009


All operations are done on the DC which is hooked up to the advanced port of the UPS. The DC talks to the APC perfectly, but the two servers that are on the basic ports of the AP9607 don't even know they're connected to anything.

I have attached some screenshots and the batch files. I have PowerChute trying to execute shutdown.bat, which executes ShutdownServers.bat, which pulls the computer list from the computers.txt file. I can run shutdown.bat outside of PowerChute and it'll execute ShutdownServers.bat and our proxy server will start the shutdown sequence. For some reason, I just cannot get PowerChute to execute any command files during the shutdown sequence.

(Screenshots only in this post)

Attachments
Reply

Link copied. Please paste this link to share this article on your social media post.

ChrisInVT_apc
Ensign ChrisInVT_apc
Ensign

Posted: ‎2021-06-28 10:48 PM

0 Likes
0
1480
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-06-28 10:48 PM

This was originally posted on APC forums on 8/11/2009


Jon,

I originally made a Shutdown.bat file to call the multi-line one, but that didn't seem to work (I actually have that KB article printed out in filed in my "APC" folder).

I've tried the following 6 lines (one at a time) in my Shutdown.bat file:

@START "" "C:\ShutdownServers.com"
@START "" "C:\ShutdownServers.bat"
"C:\ShutdownServers.com"
"C:\ShutdownServers.bat"
C:\ShutdownServers.com
C:\ShutdownServers.bat


I've even tried what the article said to do and created a test.bat file with the following line in it:

time /T >> C:\apctest\cmdtest.txt

I then created the apctest folder at the root of C: and killed the power to the UPS. I waited about 30 seconds before restoring the power to the unit and checking the server. The apctest foder was empty, and no cmdtest.txt file was created.

Reply

Link copied. Please paste this link to share this article on your social media post.

ChrisInVT_apc
Ensign ChrisInVT_apc
Ensign

Posted: ‎2021-06-28 10:48 PM

0 Likes
0
1480
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-06-28 10:48 PM

This was originally posted on APC forums on 8/11/2009


All files at the root of C: other than the single line file for PCBE which I have in C:\Program Files\APC\PowerChute Business Edition\agent\cmdfiles.

I'm using my domain admin account so I have full administrative rights to every PC on the network. I have the PCBE services using domain admin credentials also.

Reply

Link copied. Please paste this link to share this article on your social media post.

BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-06-28 10:48 PM

0 Likes
0
1480
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-06-28 10:48 PM

This reply was originally posted by Jonathan on APC forums on 8/11/2009


Thanks Chris, I'll let you know once I've tested these command files. Also, where did you saved the shutdown.bat on your PC is it on the default cmd files folder of PCBE? I assume that you already have admin rights on the PC that you are trying to shutdown because I tried a shutdown command before and it only pushed through once I added the username that I am using on the remote computer.

Reply

Link copied. Please paste this link to share this article on your social media post.

BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-06-28 10:48 PM

0 Likes
0
1480
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-06-28 10:48 PM

This reply was originally posted by Jonathan on APC forums on 8/26/2009


Chris,

I used that application to open the command files and I am studying it's flow to make sure that the necessary credentials are available on the remote PC that I am going to shutdown.

Reply

Link copied. Please paste this link to share this article on your social media post.

ChrisInVT_apc
Ensign ChrisInVT_apc
Ensign

Posted: ‎2021-06-28 10:48 PM

0 Likes
0
1480
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-06-28 10:48 PM

This was originally posted on APC forums on 8/25/2009


I think JonPro disappeared....


Does anyone have any other ideas?

Reply

Link copied. Please paste this link to share this article on your social media post.

BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-06-28 10:48 PM

0 Likes
0
1480
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-06-28 10:48 PM

This reply was originally posted by Jonathan on APC forums on 8/26/2009


Chris,

I'm still present though I still haven't tried the command files in our lab as it is being used for almost a month for training purposes. I found a slot this coming Monday to try these command files. Also, I'm still trying to figure out how should I edit these command files so that it can use the names of the PCs in the lab.

Reply

Link copied. Please paste this link to share this article on your social media post.

ChrisInVT_apc
Ensign ChrisInVT_apc
Ensign

Posted: ‎2021-06-28 10:48 PM

0 Likes
0
1480
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-06-28 10:48 PM

This was originally posted on APC forums on 8/26/2009


Editing them in notepad would be easiest.

Reply

Link copied. Please paste this link to share this article on your social media post.

ChrisInVT_apc
Ensign ChrisInVT_apc
Ensign

Posted: ‎2021-06-28 10:48 PM

0 Likes
0
1480
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-06-28 10:48 PM

This was originally posted on APC forums on 9/1/2009


If your on a domain you need domain administrator credentials. If you'r not on a domain, you need the credentials of a local account on the PC your trying to shut down

Reply

Link copied. Please paste this link to share this article on your social media post.

ChrisInVT_apc
Ensign ChrisInVT_apc
Ensign

Posted: ‎2021-06-28 10:48 PM

0 Likes
0
1480
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-06-28 10:48 PM

This was originally posted on APC forums on 9/8/2009


Can anyone offer some insight? I've had this ticket opened for almost a month now with no resolution. I need to get this fixed like, two months ago.

Reply

Link copied. Please paste this link to share this article on your social media post.

ChrisInVT_apc
Ensign ChrisInVT_apc
Ensign

Posted: ‎2021-06-28 10:48 PM

0 Likes
0
1480
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-06-28 10:48 PM

This was originally posted on APC forums on 9/18/2009


So everyone that has a Smart UPS with an Interface Expander has absolutely no problems?

Reply

Link copied. Please paste this link to share this article on your social media post.

ChrisInVT_apc
Ensign ChrisInVT_apc
Ensign

Posted: ‎2021-06-28 10:48 PM

0 Likes
0
1481
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-06-28 10:48 PM

This was originally posted on APC forums on 8/10/2009


OK, this setup is taking years off my life due to the stress I'm encountering in trying to get it working properly.

We have a Smart-UPS 1500VA with two Windows 2003 servers and one Windows XP Pro server sucking power through it. One 2003 server is a DC, the other a NAS. The XP server is a Proxy and AntiVirus server. The DC is connected directly to the UPS VIA serial port. The Proxy & NAS are connected to the UPS's AP9607 Interface Expander VIA serial ports with the supplied cables. We are running PowerChute Business Edition Basic 7.0.2 build 110 (The software CD that came with the UPS) with the Agent/Server/Console on the DC. The Agent is also installed on the Proxy and NAS, along with the console on my desktop PC so I can administer everything without having to log into the DC.

In the Device list Configuration wizard, the Proxy & NAS are visible under Discovered Devices - but when added to Current Device List fail with the error +"Failed to apply the configuration profile to servername.domainname.local"+. therefor, I am unable to get the other two servers to gracefully shutdown. When we had a power failure several days ago, our DC gracefully shut down, but the Proxy & NAS went down hard. I've had problems with this happening in the past and resorted to using a command file to shut down the two servers over the network (since our backbone is on another UPS). Unfortunately, it seems that this took a hike also.

In the shutdown sequence, I have the Command File (ShutdownServers.cmd) to execute immediately and run for a duration of 1 minute. The command file works beautifully if ran; but PowerChute seems not to play nice with it. This is the contents of ShutdownServers.cmd:



-----
@echo off
for /f %%a in (c:\computers.txt) do call :shutdown %%a
goto :eof

:shutdown
echo Shutting down: %1
ping -n 1 -w 800 %1
if not errorlevel 1 goto MachineOK
echo Cannot ping machine %1. Aborting.
goto Fini

:MachineOK
shutdown.exe -s -f -m \\%1 -t 300 -D p:6:12 -c "A POWER FAILURE HAS BEEN DETECTED - SERVER SHUTDOWN INITIATED!"
Shutdown OK %1

:Fini
-----




I have a computers.txt file at the root of c: that has a list of the servers to shut down (this is handy because we have other computers on the network that are run of "dumb APCs" and this allows me to shut them down over the network also). In the services of the DC (which all this is running on) I have APC PBE Agent and APC PBE Server log on a domain administrator account (has full admin rights to EVERY computer on the network). I previously tried using Local System Account and having Allow service to interact with desktop, but that didn't work either. I have restarted the service every time I've made changes.


We are having this exact problem in multiple locations throughout the company, where PowerChute would gracefully shut down ALL servers - but it seems that the configuration took a hike on every single server (Windows Update anyone?)

Message was edited by: ChrisInVT

Reply

Link copied. Please paste this link to share this article on your social media post.

Preview Exit Preview

never-displayed

You must be signed in to add attachments

never-displayed

Additional options
You do not have permission to remove this product association.
 
To The Top!

Forums

  • APC UPS Data Center Backup Solutions
  • EcoStruxure IT
  • EcoStruxure Geo SCADA Expert
  • Metering & Power Quality
  • Schneider Electric Wiser

Knowledge Center

Events & webinars

Ideas

Blogs

Get Started

  • Ask the Community
  • Community Guidelines
  • Community User Guide
  • How-To & Best Practice
  • Experts Leaderboard
  • Contact Support
Brand-Logo
Subscribing is a smart move!
You can subscribe to this forum after you log in or create your free account.
Forum-Icon

Create your free account or log in to subscribe to the forum - and gain access to more than 10,000+ support articles along with insights from experts and peers.

Register today for FREE

Register Now

Already have an account? Login

Terms & Conditions Privacy Notice Change your Cookie Settings © 2023 Schneider Electric, Inc