/build/static/layout/Breadcrumb_cap_w.png

adding reset hostname under device actions

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
  • 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? - rahimpal 8 years ago
  • 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. - Nico_K 8 years ago

Answers (1)

Posted by: Nico_K 8 years ago
Red Belt
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

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ