(imported topic written by rharmer91)
Anyone already have this done? Planning on working on this today…
Thanks,
Rich
(imported topic written by rharmer91)
Anyone already have this done? Planning on working on this today…
Thanks,
Rich
(imported comment written by rharmer91)
I did a little work on this today, but I think my issue is now… the server that this command line is running on, can’t get at the share that it’s being hosted on.
download http://srvrbigfix1.fairview.org:52311/Uploads/f88df6573fb37bb0a529122fe16f9b3128b363f5/big132.tmp
continue if { (size of it = 122416 and sha1 of it = “f88df6573fb37bb0a529122fe16f9b3128b363f5”) of file “big132.tmp” of folder “__Download”}
extract big132.tmp
wait __Download\setupc.exe /use-latest /use-location:\srvr-cim\agents\751
You can see that it’s a fairly basic command line, and it does work from a command prompt on the server. I think there were some other ideas on how to RunAs on the forum, and I’ll see if I can find those.
Rich
(imported comment written by jessewk)
Rich,
For the script to work as written, the share \srvr-cim\agents\751 will need to be a null-session share:
http://support.bigfix.com/bes/misc/null_session_share.html
I would suggest that you include the files located on the share as part of the download. This has a number of advantages, primarily all network traffic will pass through the relay system. There are also number of additional advantages in security and reliability.
(imported comment written by rharmer91)
I did the null sessions, and it still didn’t work… I’ll check the log and see what it said.
The total directory is around 80meg, and I’m not certain I really want to tote it around all over the place. These are just servers in the same building more or less, so I’m not too concerned about the bandwidth.
Can you think of another way to deploy this? A runas or something like that? Can I send the output somewhere?
Thanks,
Rich
(imported comment written by rharmer91)
It did work to just bundle all 80 meg together and run it… it’ll do for now.
Rich