Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Notifications
Login / Register
Community
Community
Notifications
close
  • Forums
  • Knowledge Center
  • Events & Webinars
  • Ideas
  • Blogs
Help
Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Login / Register
Sustainability
Sustainability

Join our "Ask Me About" community webinar on May 20th at 9 AM CET and 5 PM CET to explore cybersecurity and monitoring for Data Center and edge IT. Learn about market trends, cutting-edge technologies, and best practices from industry experts.
Register and secure your Critical IT infrastructure

Shooting down Untangle server/firewall

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
  • Schneider Electric Community
  • APC UPS, Critical Power, Cooling and Racks
  • APC UPS Data Center & Enterprise Solutions Forum
  • Shooting down Untangle server/firewall
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
5060
voidstar_apc
Janeway voidstar_apc
196
Erasmus_apc
Sisko Erasmus_apc
112
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
BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-07-01 06:00 AM . Last Modified: ‎2024-03-05 12:01 AM

0 Likes
5
1617
  • 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-07-01 06:00 AM . Last Modified: ‎2024-03-05 12:01 AM

Shooting down Untangle server/firewall

I have a small network and want to shutdown an Untangle server/firewall from a Windows 2012 using a command in PowerShute Network Shutdown


I want to run a command in PowerShute Network Shutdown and can't get it to work.

I created a batch file here C:\APC_Server_Shutdown\shutdown_untangle.cmd

The command in the batch file is:

C:\APC_Server_Shutdown\plink.exe -batch -pw 111111 root@192.168.16.1 shutdown -h now

Under Configure Shutdown for "Run this command file (full name): I have "C:\APC_Server_Shutdown\shutdown_untangle.cmd" without the quotes (i also tried with the quotes) and it does not work when I run a test. To test I used the same command file under "COnfigure Event for UPS: On Battery and then I pull the pull. The Windows 2012 server shutdown gracefully but not the Untangle.

Can someone help?

Labels
  • Labels:
  • UPS Management Devices & PowerChute Software
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
BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-07-01 06:00 AM . Last Modified: ‎2024-03-05 12:01 AM

0 Likes
0
1614
  • 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-07-01 06:00 AM . Last Modified: ‎2024-03-05 12:01 AM

Hi,

You need to be sure to enter the full path to the cmd file for PowerChute to be able to run it. So, for the test you did if you put the test .cmd in C:temp the path entered in Powerchute would be C:\temp\test file name.cmd PowerChute will then create the text file cmdtest.txt in C:\apctest.

PCNS is installed using local system account so you need to be sure the local system account has permission to run the script. If the local system account does not you can change the account PCNS used via PCNS1 service.

See Answer In Context

Reply

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

Replies 5
BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-07-01 06:00 AM . Last Modified: ‎2024-03-05 12:01 AM

0 Likes
0
1614
  • 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-07-01 06:00 AM . Last Modified: ‎2024-03-05 12:01 AM

Does the command file work as expected if you run it outside of PowerChute Network Shutdown?

Here is some other general information we have you could start with if you haven't seen it yet -> Command file is not running within PowerChute Network Shutdown: How to check correct syntax usage. |...

Reply

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

BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-07-01 06:00 AM . Last Modified: ‎2024-03-05 12:01 AM

0 Likes
0
1615
  • 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-07-01 06:00 AM . Last Modified: ‎2024-03-05 12:01 AM

Yes the command does work outside of Power PowerChute Network Shutdown. Both, if I double click the file and also if I run it from the command.

Reply

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

BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-07-01 06:00 AM . Last Modified: ‎2024-03-05 12:01 AM

0 Likes
0
1614
  • 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-07-01 06:00 AM . Last Modified: ‎2024-03-05 12:01 AM

I think you might need the @START as explained in the knowledge base because you're trying to launch a .exe.

Reply

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

BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-07-01 06:00 AM . Last Modified: ‎2024-03-05 12:01 AM

0 Likes
0
1613
  • 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-07-01 06:00 AM . Last Modified: ‎2024-03-05 12:01 AM

I have already tried that and it is still not working. I'm talking to support and we also testing with the following and it does not work either. I'm currently waiting to hear from support

This is what we have tried with no luck

You can test that the command file is operating correctly by running a simple command file.

  1. 1.      Create a directory, named apctest, directly to the C drive.
  2. 2.      Type the following line in a command file  to create a file named cmdtest.txt, and the time that the file was run, in the apctest:

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

Reply

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

BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-07-01 06:00 AM . Last Modified: ‎2024-03-05 12:01 AM

0 Likes
0
1615
  • 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-07-01 06:00 AM . Last Modified: ‎2024-03-05 12:01 AM

Hi,

You need to be sure to enter the full path to the cmd file for PowerChute to be able to run it. So, for the test you did if you put the test .cmd in C:temp the path entered in Powerchute would be C:\temp\test file name.cmd PowerChute will then create the text file cmdtest.txt in C:\apctest.

PCNS is installed using local system account so you need to be sure the local system account has permission to run the script. If the local system account does not you can change the account PCNS used via PCNS1 service.

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

 
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 board after you log in or create your free account.
Forum-Icon

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.

Register today for FREE

Register Now

Already have an account? Login

Terms & Conditions Privacy Notice Change your Cookie Settings © 2025 Schneider Electric

This is a heading

With achievable small steps, users progress and continually feel satisfaction in task accomplishment.

Usetiful Onboarding Checklist remembers the progress of every user, allowing them to take bite-sized journeys and continue where they left.

of