Command order End user to access Relay share File

(imported topic written by TLSM)

I have a which create a fixlet that call end user to access their relay server to execute a batch file.

This is due to they want to avoid the WAN network congested.

The command action is very simple like below:

waithidden cmd.exe /c “\10.0.0.1\C$\SOFTWARE\2007scrub.bat”

But the problem is in the end user environment have around 200 relay server.

How can I fit this command for those 200 relay server.

I had think before like triggered the value for relay server inside client like:

waithidden cmd.exe /c “\”{IP of Relay server}"\C$\LICENSE_SOFTWARE\2007scrub.bat"

But i had check the registry for relay server will show in this format which : 10.0.0.2:52311.

It is and idea that can fit this command for their own relay server?

waithidden cmd.exe /c “\”{IP of Relay server}"\C$\LICENSE_SOFTWARE\2007scrub.bat"

Mean when client with IP :10.0.1.123 with relay server 10.0.1.15 the fixlet will automatically become:

waithidden cmd.exe /c “\10.0.1.15\C$\LICENSE_SOFTWARE\2007scrub.bat”

It is any possibility for that?

Please help…

(imported comment written by martinc)

Couple points:

  1. the IEM agent runs as system, so unless you make the share a null share, this will not work.

  2. I am not sure why you want to go through the process of manually getting the batch file out to all the relays when IEM would do this automatically. Using the IEM internal processes would ensure that the files are on the relays where manually copying, you could miss some.

  3. If you are WAN constrained, handling it within IEM would be your best method as it can take care of the bandwidth throttling between the sites.

The part that is not mentioned is what does the batch file do? Are there other files in the SOFTWARE folder that are needed, or is it just the batch file?