Welcome to the new Schneider Electric Community

It's your place to connect with experts and peers, get continuous support, and share knowledge.

  • Explore the new navigation for even easier access to your community.
  • Bookmark and use our new, easy-to-remember address (community.se.com).
  • Get ready for more content and an improved experience.

Contact SchneiderCommunity.Support@se.com if you have any questions.

Close
Invite a Co-worker
Send a co-worker an invite to the Exchange portal.Just enter their email address and we’ll connect them to register. After joining, they will belong to the same company.
Send Invite Cancel
84520members
353751posts

Does PowerChute run command file with elevated privileges?

APC UPS Data Center & Enterprise Solutions Forum

Schneider Electric support forum for our Data Center and Business Power UPS, UPS Accessories, Software, Services, and associated commercial products designed to share knowledge, installation, and configuration.

Solved
rmrme_apc
Cadet
0 Likes
3
181

Does PowerChute run command file with elevated privileges?

This was originally posted on APC forums on 5/5/2013


Hello,

I've installed PowerChute Network Shutdown on my Windows 2008 R2 Hyper-v servers.  PowerChute is configured to run a batch file if the UPS is on battery for a certain amount of time.  This batch file is just a simple script to run PowerShell (as Administrator) and put all running VMs into a saved state.  PowerChute is then configured to shutdown the Hyper-V server after a certain time.

When I run this batch file manually by double clicking it, it prompts me to confirm that I want to run it.  If I right click it and choose to 'Run as administrator' there is no prompt for action.  I therefore need to be sure that PowerChute will run this batch file with elevated privileges - otherwise I'm concerned that it will just be sitting waiting for a response and won't actually run and put my VMs into a saved state.

I don't want to simulate a power failure to test this, therefore I'm hoping that someone can confirm whether or not PowerChute runs a command file as an elevated user?

Thanks in advance for any help and advice.


R


Accepted Solutions
BillP
Administrator Administrator
Administrator
0 Likes
0
181

Re: Does PowerChute run command file with elevated privileges?

This reply was originally posted by Bill on APC forums on 4/20/2018


Hi,

The information will be found by opening the systems control panel and go to Administrative tool- Services. Then right click on PCNS1 - Properties - Log On. 

See Answer In Context

3 Replies 3
BillP
Administrator Administrator
Administrator
0 Likes
0
181

Re: Does PowerChute run command file with elevated privileges?

This reply was originally posted by Bill on APC forums on 5/6/2013


Hi,

PowerChute Network Shutdown runs scripts as an Admin. If for some reason you needed to you can change the user in the Windows PCNS Service. Click on Log On, select this account and you can change the user.

1140_pastedImage_1.png1141_pastedImage_2.png

dennishu_apc
Cadet
0 Likes
0
181

Re: Does PowerChute run command file with elevated privileges?

This was originally posted on APC forums on 4/18/2018


Hello Bill 

I am trying to run remote shutdown script to shut down my other server remotely but script worked on my cmd terminal but not with powerchute. 

I was trying to find the logon option you mentioned but couldnt locate it anywhere from the web interface or the installed folder, could you help advise how to access to the logon option to change the privileges? 

Thanks a lot 

Dennis 

BillP
Administrator Administrator
Administrator
0 Likes
0
182

Re: Does PowerChute run command file with elevated privileges?

This reply was originally posted by Bill on APC forums on 4/20/2018


Hi,

The information will be found by opening the systems control panel and go to Administrative tool- Services. Then right click on PCNS1 - Properties - Log On.