Adding a new action on KACE 5.4 for Services.msc on a remote computer will not work ?
I am trying to add a new 'action' for inventory items, that is, opening the SERVICES for Remote Computers.
From DOS, this is done using : c:\windows\system32\services.msc /computer=<computername>
When i add this into a Custom Action in KACE : "c:\windows\system32\services.msc" /computer=KACE_HOST_NAME
it does not work, i get the message : Invalid URL, Please check machine action and try again.
I have other custom actions working fine, but this one does not work...what am i missing ?
Answers (4)
Hi guys,
A small action plan on "creating a custom machine action to open a remote services MMC":
1. Add the K1000 webUI to the "Trusted Sites" in IE (tested with IE9)
2. Set up Internet Explorer and custom machine action
a) Even though the site is trusted, we require to accept a security prompt for running scripts and ActiveX element. Go back to "Trusted Sites" and modify the default securit level. You may keep the default (medium) settings but the following change should be fone for convenience, setting it just to low will allow execution but presents a popup, the following disables the popup and does the main magic:
"Enable" > "Initialize and script ActiveX controls not marked as safe for scripting"
Example:
b) The machine action command line should look as follows:
cmd.exe /c services.msc /Computer:KBOX_HOST_IP
3. Test it and let us know if it works for you too
Cheers,
Rasko
Hello Rasko,
Point 1 and 2 where already in place (other actions work fine) :-)
Using the cmd.exe is indeed a method i did not try.
I made it like this now :
cmd.exe /c services.msc /Computer:KACE_HOST_NAME
(alternative is KACE_HOST_IP) but i like to see the hostname in services).
KBOX_HOST_IP did not work, but KACE_HOST_NAME does :-)
Tested it on Kace 5.4, all works fine now ! :-)
Thanks RaSko :-) !