We have a requirement of replacing the Windows hosts file which is located in C:\WINDOWS\system32\drivers\etc for all the aclients in the network. This activity needs to be done every month. How can i do it using BIGFIX ?
The Software Distribution Wizard it supports only .exe or .msi files. How the task can be achieved, since for this activity we need to create .bat file or a script which will replace the existing hosts file.
There are many examples in the Forum on how to download files from a central server and copy them to a desired location using Action Script. Here are a couple:
Also, just to be clear, the “appendfile” command name is a little misleading. It is not appending data onto the existing hosts file. The example above will replace the existing hosts file with the data on the appendfile lines of that Action Script.