I need to create a Close and Save documents task using the Power Managent site. The Office applications are in Hebrew, so the VB script need to send keys that capable of closing Office documents in both English and Hebrew menu.
How do I manage pushing the VB scripts from the server to the clients?
I’ve seen that the updated VB scripts on the client would be regularely overwritten periodically, how do I manage do send the new updated files instead of the older ones?
I modified several vb scripsts in the C:\Program Files\BigFix Enterprise\BES Client__BESData\BES Power Management. The reason is so that it can deal with Hebrew menu in closing documents.
I made the update on the BS server, on the client folder.
The files are: shutoffice.vbs, shutapp.vbs, termapp.vbs.
How do I distribute the modified files to the clients, so that they will not be overwritten by the older files? Is there a way to update the source files directly?
You cannot update the files in the Fixlet site on the server or client because they will either be overwritten or they will cause a signature error because all the files in those folders are digitally signed and if they are changed, the relays/agents will reject them.
Using a Fixlet action or a download as I mentioned will be the best way to get the files to the agents.
I think keeping them in the upload folder is just fine and running them from the download folder is fine too (although note that they will get cleared out whenever the agent is done with the action).
The reason you are getting your “Failed” to run is likely due to a “current working directory” issue… Try this:
runhidden “{pathname of parent folder of regapp “BESClient.exe”}__BESData\BES Power Management\besshutapp.exe” “\shutapp.ini”