lets share some knowledge how to install "any" software through the Windows RMA agent.
I had some issues on a couple of my clients but i knew i had installed a RMA agent on it.
Open up in HM -> Profiles -> Script Manager
Create a new script
Just copy/paste this in the "Script" screen
Code: Select all
statusUnknown = "ScriptRes:Unknown:"
statusOk = "ScriptRes:Ok:"
statusBad = "ScriptRes:Bad:"
var res = "Ok";
WScript.StdOut.Write(statusOk+res);
!!! Dont forget to goto the "lets try" tab and fill in the correct RMA agent !!!
Here are some examples you can use to install software remotely via the RMA agent
To make remotely an directory : cmd /c mkdir c:\tmp
To download software from internet : cmd /c powershell -command "& { (New-Object Net.WebClient).DownloadFile('https://some/file/on/internet/dummyfile.msi', 'C:\tmp\dummyfile.msi') }"
To run a MSI quietly on the remote machine : cmd /c msiexec /i C:\tmp\dummyfile.msi /quiet
To move a file : cmd /c move "C:\Program Files (x86)\bla\bla\file.conf" "C:\Program Files (x86)\bla\bla\file.old"
To start a service : cmd /c net start servicename --- or --- cmd /c sc start servicename
To delete a file : cmd /c del c:\tmp\dummyfile.msi
To remove a directory : cmd /c rmdir c:\tmp
So as you can see you can do many things through this RMA agent.
We installed and update 100+ machines/servers with this "trick"
I hope we can all share some handy tips here
Have a nice day
Menno