I would like to add reset hostname under device actions, could anyone tell me 
how can i setup this?

C:\Program Files\Dell\KACE\AMPTools.exe  resetconf host=10.10.x.X

would like to add adove in device actions but doesnt work for me after trying different 
syntax
2 Comments   [ + ] Show Comments

Comments

  • Hi Nico, thanks. do i need to copy Psexec file to all the machines having agents? if i click device actions and run this command cmd /c psexec \\KACE_HOST_IP C:\Program Files\Dell\KACE\AMPTools.exe resetconf host=10.10.x.x, kace would look for psexec file in individual machines right?
  • no.
    As I wrote. the machine actions do the following: They run a program on _YOUR_OWN_LOCAL_ machine, where you logged in. It does not start anything on a remote machine by default. It "only" takes IP etc from the KACE database.
    So you only need to have psexec on your local machine.
Please log in to comment

Answers

2
It seems that you need a small clarification:
The device actions run on the _LOCAL_ system, so you need to run a local program which runs the command on the remote system.
You could use psexec to run the remote command.

something like
cmd /c psexec \\KACE_HOST_IP C:\Program Files\Dell\KACE\AMPTools.exe  resetconf host=10.10.x.x

will solve your issue.
PSEXEC can be found here: https://technet.microsoft.com/sysinternals/bb897553.aspx
Answered 09/26/2015 by: Nico_K
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity

Share