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
Answers (1)
Please log in to answer
Posted by:
Nico_K
8 years ago
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.
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
PSEXEC can be found here: https://technet.microsoft.com/sysinternals/bb897553.aspx
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