# Command line args and a new process entity ID

**URL:** <https://community.dynatrace.com/t/command-line-args-and-a-new-process-entity-id/56835>\
**Category:** Open Q&A\
**Tags:** iis, processes, metadata\
**Created:** [August 31, 2026, 5:59am UTC](https://community.dynatrace.com/t/command-line-args-and-a-new-process-entity-id/56835 "2026-08-31T05:59:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Babar\_Qayyum](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/babar_qayyum/32/13620_2.png) [@Babar\_Qayyum](https://community.dynatrace.com/u/Babar_Qayyum)\
**Post date:** [August 31, 2026, 5:59am UTC](https://community.dynatrace.com/t/command-line-args-and-a-new-process-entity-id/56835/1 "2026-08-31T05:59:03Z")

</div>

Dear All,

Will changing the command line arguments result in the generation of a new process entity ID? **OR**

What are some other potential factors that could lead to the generation of new entity IDs for the IIS processes?

Regards,

Babar Qayyum

---

<div class="post-metadata">

**Author:** ![sujit\_k\_singh](https://avatars.discourse-cdn.com/v4/letter/s/34f0e0/32.png) [@sujit\_k\_singh](https://community.dynatrace.com/u/sujit_k_singh)\
**Post date:** [September 1, 2026, 10:24pm UTC](https://community.dynatrace.com/t/command-line-args-and-a-new-process-entity-id/56835/2 "2026-09-01T22:24:12Z")

</div>

Hi&nbsp;[@Babar\_Qayyum](https://community.dynatrace.com/user/22017)

It depends on your detection rules command line changes don’t automatically create a new process entity ID, but they can if a rule is keyed off “Command line” or “Command line – single argument” (matches each arg individually).

To confirm for your process: check OneAgent logs right after process start they show exactly which items fed into the process group ID calculation.

Thanks,

Sujit

---

<div class="post-metadata">

**Author:** ![Babar\_Qayyum](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/babar_qayyum/32/13620_2.png) [@Babar\_Qayyum](https://community.dynatrace.com/u/Babar_Qayyum)\
**Post date:** [September 7, 2026, 6:51am UTC](https://community.dynatrace.com/t/command-line-args-and-a-new-process-entity-id/56835/3 "2026-09-07T06:51:52Z")

</div>

Hello&nbsp;[@sujit\_k\_singh](https://community.dynatrace.com/user/67382)

I appreciate your feedback. Currently, there are no custom rules established, and the detection relies on out-of-the-box (OOB) rules. This reference is associated with “Command line” or “Command line – single argument”; could you clarify which area this pertains to? Is it on the Dynatrace side or the application side?

Regards,

Babar Qayyum

---

<div class="post-metadata">

**Author:** ![sujit\_k\_singh](https://avatars.discourse-cdn.com/v4/letter/s/34f0e0/32.png) [@sujit\_k\_singh](https://community.dynatrace.com/u/sujit_k_singh)\
**Post date:** [September 7, 2026, 10:29pm UTC](https://community.dynatrace.com/t/command-line-args-and-a-new-process-entity-id/56835/4 "2026-09-07T22:29:15Z")

</div>

Hi&nbsp;[@Babar\_Qayyum](https://community.dynatrace.com/user/22017)

The “Command line” and “Command line – single argument” properties I mentioned are on the Dynatrace side and are available when defining custom Process Grouping Rules,&nbsp;screenshot below

 ![sujit_k_singh_1-1788819876767.png](https://global.discourse-cdn.com/dynatrace/original/2X/2/26f5101ece1d5181d2f389cc2edf3a5ca9e90aac.png)

let me add some insight about these two

1. Command line changes and entity IDs  
This only affects process entity IDs if a custom Process grouping rule is defined under “Command line”. Since you have no custom grouping rules and rely purely on OOB detection, command-line changes alone should not generate a new process entity ID for your IIS processes.

2. Where “Command line – single argument” actually appears  
This property exists as a detection rule condition (under “2. Define detection rules”), not as an ID-source property. It’s used to decide which processes a rule applies to, not how the process group ID is calculated. Under the ID-source section (3.1.2 Property), only plain “Command line” is available as an option.

To determine the exact cause in your environment, I’d recommend check the OneAgent log right after the IIS process (re)starts it shows exactly which inputs were used to calculate the process group ID for your process. This is the most reliable way to pinpoint the cause.

Thanks,

Sujit
