3.4 Performing Bulk Replacement of Configuration File

To customize configuration of Device Service on multiple computers in domain, perform the following instructions:

  1. Create a configuration file config.properties with the required parameters.

  2. Copy this configuration file on a network folder.

  3. Open Group Policy Management console.

  4. Right-click the domain name and select Create GPO in this domain, and Link it here.

  5. Specify a name for the Group Policy Object. It is used to update the Device Service configuration file. Click OK.

  6. Right-click the created GPO and click Edit.

  7. Browse Computer Configuration > Preferences > Windows Settings.

  8. Right-click Files and select New > File.

  9. Change Action to Replace.

  10. In Source file(s) specify the full path of the configuration file located on the network folder.

  11. In Destination File, specify the path: C:\ProgramData\NetIQ\Device Service\config.properties.

  12. Clear all the Attributes options.

  13. Click OK.

  14. Create a group in the domain that contains computers on which you want to replace the Device Service configuration file.

  15. In the Security Filtering section of the Group Policy Management console, for the used GPO remove the Authenticated Users.

  16. Click Add and select the created group.

  17. Click Delegation.

  18. Right-click the added group and select Edit settings, delete, modify security.

  19. Run gpupdate /force on the computer where you will replace the configuration file or wait till the policy is automatically applied.