# Would I be able to pass parameter/option to OneAgent installer if using Windows Group Policy?

**URL:** <https://community.dynatrace.com/t/would-i-be-able-to-pass-parameter-option-to-oneagent-installer-if-using-windows-group-policy/10115>\
**Category:** Dynatrace Managed\
**Tags:** installation, dynatrace-managed, oneagent\
**Created:** [January 5, 2018, 2:09am UTC](https://community.dynatrace.com/t/would-i-be-able-to-pass-parameter-option-to-oneagent-installer-if-using-windows-group-policy/10115 "2018-01-05T02:09:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![waikeat\_chan](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/waikeat_chan/32/33405_2.png) [@waikeat\_chan](https://community.dynatrace.com/u/waikeat_chan)\
**Post date:** [January 5, 2018, 2:09am UTC](https://community.dynatrace.com/t/would-i-be-able-to-pass-parameter-option-to-oneagent-installer-if-using-windows-group-policy/10115/1 "2018-01-05T02:09:56Z")

</div>

Some of the servers meant to be installed in infra-only mode, while some servers need their log monitoring disabled. This create few combinations of customer requirement.

Would I be able to address all this requirement if automate the installation by using Wins Group Policy? If yes, I can automate one time only, or have to automate for each different combinations? (i.e if there are 3 combinations of requirement, I have to use windows group policy method 3 times )

---

<div class="post-metadata">

**Author:** ![Robert\_River](https://avatars.discourse-cdn.com/v4/letter/r/838e76/32.png) [@Robert\_River](https://community.dynatrace.com/u/Robert_River)\
**Post date:** [January 5, 2018, 9:59am UTC](https://community.dynatrace.com/t/would-i-be-able-to-pass-parameter-option-to-oneagent-installer-if-using-windows-group-policy/10115/2 "2018-01-05T09:59:12Z")

</div>

Yes, it is possible to control infra-only mode and log monitoring enabled via command-line.  
For the first INFRA\_ONLY parameter should be used and for the latter APP\_LOG\_CONTENT\_ACCESS.  
See [https://www.dynatrace.com/support/help/installati…](https://www.dynatrace.com/support/help/installation/oneagent/can-i-perform-a-custom-installation-with-command-line-parameters/) for details.

To install via Windows Group Policy, please use our MSI installer.
