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

Powerchute business edition - Problem running Default command

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
  • Powerchute business edition - Problem running Default command
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 05:04 AM . Last Modified: ‎2024-03-05 01:48 AM

0 Likes
10
1461
  • 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 05:04 AM . Last Modified: ‎2024-03-05 01:48 AM

Powerchute business edition - Problem running Default command

Hello All,

I am working on PowerChute Business edition for our setup.  I have seen other threads with the same problem but no one has and solution resolving it. 
Trying to run an executable within the default.cmd command to send a request for a shutdown. 
I followed the instructions here on this APC Tid FA159625, but with no result.


When running a non executable (cmd, exe, etc) command in the script it will execute properly.  however any other executable will fail with what seems to be insufficient privileges. If running just notepad or cmd,exe we see the process show up in Task manager but it will not run. 
I use PowerChute business edition 9.1, on Windows 2008 R2 server.  I have it setup and tested on 3 different servers, and they all behave the same way.

I know that the scripts we are calling and running work within the OS, when run manually, but not through the APC Interface.

Any advice and help is appreciated,

Thanks,

Poly

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 05:04 AM . Last Modified: ‎2024-03-05 01:48 AM

0 Likes
0
1462
  • 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 05:04 AM . Last Modified: ‎2024-03-05 01:48 AM

Poly,

Thanks for the update. Please feel free to share with the forum. That way other members can test and make edits if any are needed. I will also ask QA to review and assuming the solution passes will edit the Kbase/s you referenced earlier to help none forum members.

Thanks again for the update.

See Answer In Context

Reply

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

Replies 10
BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-07-01 05:04 AM . Last Modified: ‎2024-03-05 01:48 AM

0 Likes
0
1462
  • 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 05:04 AM . Last Modified: ‎2024-03-05 01:48 AM

I am not sure why we have two articles but you may need to change what account the PCBE Agent logs on as (if it does not have sufficient privileges) but mentioned in FA168226.

I found the steps to verify that "Interact with Desktop" is selected which was not in the article ID you found. I'd try that first then consider what I said about the log on user being utilized.

Depending on what actions your final script is configured to perform, (like log on to a remote machine over the network to shut it down) verify the particular account also has privileges that PCBE is using.

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 05:04 AM . Last Modified: ‎2024-03-05 01:48 AM

0 Likes
0
1464
  • 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 05:04 AM . Last Modified: ‎2024-03-05 01:48 AM

Thank you for your reply.

I have already tried to change the service from using "Local system" to using the administrator account without any luck. and I also tried the Interact with Desktop on the "Local System" account.  Neither were successful.

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 05:04 AM . Last Modified: ‎2024-03-05 01:48 AM

0 Likes
0
1464
  • 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 05:04 AM . Last Modified: ‎2024-03-05 01:48 AM

Hmm. Ok, maybe Bill P. could tell us if we missed something between the two articles or what the next step for narrowing down the problem could be.

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 05:04 AM . Last Modified: ‎2024-03-05 01:48 AM

0 Likes
0
1463
  • 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 05:04 AM . Last Modified: ‎2024-03-05 01:48 AM

Does the time test command script run as described in the Kbases? Also, what type of file are you attempting to run? PCBE can only run .cmd or .bat files. It will not run .exe files. I have also found that if the file has multiple lines it is better to create a command file that triggers the actual file instead of having PCBE trigger it. Example: The file I want to run is named Shutdown.exe and it has 10 lines of code. I would write command file name launcher.cmd and in that have one line of code that launches Shutdown.exe. I would then configure PCBE to run launcher.cmd.

to answer the question as to why are there 2 Kbases, the reason is at 1 point FA159625 would not display properly for end users so FA168226 was created. After a database rebuild FA159625 became accessible. Since that time whenever we have attempted to deactivate either we get complaints because people have linked the the documents. So the decisions was made to leave both active. 

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 05:04 AM . Last Modified: ‎2024-03-05 01:48 AM

0 Likes
0
1463
  • 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 05:04 AM . Last Modified: ‎2024-03-05 01:48 AM

Here is another forum, that you were involved with a few months ago.  I am experiencing the exact same problem and I don't see any resolution to this one either. 

http://forums.apc.com/thread/14048

within the command file we try to run a simple executable for now, notepad.exe or cmd.exe.

I have also read that multiple lines will not work, so our goal is to call another cmd or batch file. but those don't seem to work as either,

Does APC offer Phone support for this kind of issues?

Thanks Angela

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 05:04 AM . Last Modified: ‎2024-03-05 01:48 AM

0 Likes
0
1463
  • 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 05:04 AM . Last Modified: ‎2024-03-05 01:48 AM

It really seems like it is an issue with permissions and interacting with the desktop considering you're seeing the .exe called in task manager. The poster in that other thread was pursing a permissions issue and we/you could always tag that user to see if they can provide any findings to us. Let me know if you want me to do that or if you wanted to. I personally felt this might be outside of APC's scope of support since it has to do with permissions if the item is showing in task manager. I am certainly not a batch file or scripting expert. I know voidstar also indicated a few things that could be tried too - I've never done them though.

So at this time, I think interact with desktop is not configured properly (which I know you said you selected) or there is an issue with the account PCBE is launching with and it does not have sufficient privileges.

While APC offers phone support as I know you contacted one of our representatives who reached out to me, I think we covered everything they would certainly cover here already since Bill P and I are the highest level of technical support globally and any unsolved issues via phone would most likely get pushed to us anyway.

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 05:04 AM . Last Modified: ‎2024-03-05 01:48 AM

0 Likes
0
1463
  • 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 05:04 AM . Last Modified: ‎2024-03-05 01:48 AM

Thank you Angela and Bill,

I really would like to find a solutions to this.  We have a lot of customers that we recommend and sell APC products to, and want to make sure we can utilize the full functionality of the product, including PCBE.  In the past most servers would have dedicated UPS that the software would automatically manage and shutdown the physical device. 
With the move to Virtual environments and the limitation of USB connectivity we are forced to find a solution to properly shutdown remote servers through PCBE, using a set of commands.

In this particular case we are trying to use the default.cmd command offered by APC.
During troubleshooting we are "assuming'" that the command initiated has insufficient privileges, but have no log entries of any sort saying proving this.

One thing came to mind, so I uninstalled and reinstalled all component of PCBE.  What is the relationship of the user account created during the install process of the agent and server services, and the actual services running on the server? 
if not using the Local System to run the service, does the service account have to be a Domain\admin account or a local admin account? 
Are there any other logs within PCBE that we can check and review? 

If possible, I would like to setup a remote session with either one of you, to show you what we are experiencing, and if need be elevate this to a development team.

I would like to thank you in advance for any help you can provide.


Regards.

Poly

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 05:04 AM . Last Modified: ‎2024-03-05 01:48 AM

0 Likes
0
1464
  • 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 05:04 AM . Last Modified: ‎2024-03-05 01:48 AM

Hi,

I have been researching this issue and was pointed to this document that might help. Impact of Session 0 Isolation on Services and Drivers in Windows I ran a test on Windows 7 I did see that when I ask PCBE to start notepad.exe it is starting in session 0 as described in the the document.

I plan to spend more time over the next few day researching this. Please let me know if the MS doc helps.

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 05:04 AM . Last Modified: ‎2024-03-05 01:48 AM

0 Likes
0
1464
  • 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 05:04 AM . Last Modified: ‎2024-03-05 01:48 AM

Hi Bill,


I found a similar document related to the same issue.  I have found a solution to get this working.  I would like to share this with your engineering team, and hopefully come up with a working procedure for the community.  Is there a better medium to communicate and possibly share the findings?

I would not want to post something if you have not tested it as well.  

Let me know how to proceed.  I have an open case as well with your team, ticket # 401984254, you will find my contact information there.

Poly

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 05:04 AM . Last Modified: ‎2024-03-05 01:48 AM

0 Likes
0
1463
  • 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 05:04 AM . Last Modified: ‎2024-03-05 01:48 AM

Poly,

Thanks for the update. Please feel free to share with the forum. That way other members can test and make edits if any are needed. I will also ask QA to review and assuming the solution passes will edit the Kbase/s you referenced earlier to help none forum members.

Thanks again for the update.

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