NetXMS Support Forum

English Support => General Support => Topic started by: SmEed on February 27, 2015, 10:56:48 AM

Title: Action configuration
Post by: SmEed on February 27, 2015, 10:56:48 AM
Hello!

Perhaps, someone has a tip for me!?

My "Action configuration" does not work, and i don't know, what i should do/test.

(http://www.promotech.at/download/action_c.jpg)

Can anyone help me, please?

THX!
Title: Re: Action configuration
Post by: Victor Kirhenshtein on March 06, 2015, 04:33:13 PM
Hi,

try to omit cmd /c and use only

sc \\pmtbackup start spooler

as command. Also, make sure that Windows user NetXMS server service runs under (Local System by default) has access to Service manager on server you try to start service on.

Best regards,
Victor
Title: Re: Action configuration
Post by: SmEed on March 09, 2015, 11:07:52 AM
Hello!

First: Thanks for your replay! ;)

In my case i test: sc \\\\pmtbackup start spooler >> C:\\test.txt
And the result in test.txt is: access denied

Both Servers (2008R2) are in domain, domain-admin is logon console, and NetXMS runs under local system.
...is there any way to run the command as admin?

Best regards!
Title: Re: Action configuration
Post by: Victor Kirhenshtein on March 10, 2015, 09:14:04 AM
Hi,

probably the only way to run that command as admin is to run NetXMS Core service under admin account.

Best regards,
Victor
Title: Re: Action configuration
Post by: SmEed on March 12, 2015, 08:35:08 AM
It works greate!

Thanks for your help! ;)