KS-Soft. Network Management Solutions
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister    ProfileProfile    Log inLog in 

how install any software through the RMA agent

 
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting
View previous topic :: View next topic  
Author Message
menno



Joined: 21 May 2010
Posts: 157

PostPosted: Wed Mar 22, 2017 4:57 am    Post subject: how install any software through the RMA agent Reply with quote

HI all

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:

statusUnknown     = "ScriptRes:Unknown:"
statusOk          = "ScriptRes:Ok:"
statusBad         = "ScriptRes:Bad:"
var res = "Ok";
WScript.StdOut.Write(statusOk+res);


Fill in the line "Start cmd" the following examples
!!! 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


Last edited by menno on Thu Mar 23, 2017 5:55 am; edited 1 time in total
Back to top
View user's profile Send private message
KS-Soft Europe



Joined: 16 May 2006
Posts: 2832

PostPosted: Wed Mar 22, 2017 11:07 am    Post subject: Reply with quote

Thank you for sharing.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

KS-Soft Forum Index