Ask Me About Webinar: Data Center Assets - Modeling, Cooling, and CFD Simulation Join our 30-minute expert session on July 10, 2025 (9:00 AM & 5:00 PM CET), to explore Digital Twins, cooling simulations, and IT infrastructure modeling. Learn how to boost resiliency and plan power capacity effectively.Register now to secure your spot!
Execute a command file with PowerChute Network Shutdown program
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.
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 InviteCancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-2904:48 AM. Last Modified: 2024-03-1301:22 AM
Execute a command file with PowerChute Network Shutdown program
Hi,
I'm using the PowerChute Network Shutdown program with a Smart-UPS 3000 and a AP9630 network card.
I've done the following configuration:
* In the PowerChute Network Shutdown (PCNS) -> Shutdown Settings -> Run Command:
Full Path to command file: D:\PWRFail.bat
Duration: 60 seconds
* In the PWRFail.bat file: (If I execute the file manually, works correctly)
@START C:\Windows\notepad.exe
* In the PowerChute Network Shutdown service:
Log On: I put a domain account.
When I make a Reboot of the UPS sending the signal to Shutdown to the clients, the server wait 60 seconds, then a message window appears to inform that the server will be shut down, and finally, the server is shut down, but the command file is never executed.
There's something more, or different, that I have to do to execute this BAT file using the PowerChute Network shutdown?
"PowerChute cannot execute programs that require interaction with the desktop; only command line enabled programs are supported e.g. if you try to launch Notepad it will fail."
This is a Microsoft requirement. They change security policies with the release of Vista on up that do not allow services to interact with the desktop. Here is a link to a Microsoft Knowledge Base document on the subject.
"PowerChute cannot execute programs that require interaction with the desktop; only command line enabled programs are supported e.g. if you try to launch Notepad it will fail."
This is a Microsoft requirement. They change security policies with the release of Vista on up that do not allow services to interact with the desktop. Here is a link to a Microsoft Knowledge Base document on the subject.