# Monitoring issue with removed Windows auto-start services

**URL:** <https://community.dynatrace.com/t/monitoring-issue-with-removed-windows-auto-start-services/53426>\
**Category:** Alerting\
**Tags:** hosts-classic, problems-classic\
**Created:** [September 19, 2025, 2:55pm UTC](https://community.dynatrace.com/t/monitoring-issue-with-removed-windows-auto-start-services/53426 "2025-09-19T14:55:58Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![JeanBlanc](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/jeanblanc/32/25897_2.png) [@JeanBlanc](https://community.dynatrace.com/u/JeanBlanc)\
**Post date:** [September 19, 2025, 2:55pm UTC](https://community.dynatrace.com/t/monitoring-issue-with-removed-windows-auto-start-services/53426/1 "2025-09-19T14:55:58Z")

</div>

Hi everyone,

I’m running into an issue with the **OS Services monitoring on Windows**.  
I’ve set up an alert to watch **auto-start services** so that I get notified whenever one is not in a _running_ state.

The problem is:  
👉 When an application is uninstalled (and the associated service is removed from the system), Dynatrace still keeps raising a problem, reporting that the service is missing / not running.

Has anyone faced this situation before?  
Do you know if there is a recommended way to handle or automatically clean up services that are no longer present on the host?

Thanks in advance for your help!

---

<div class="post-metadata">

**Author:** ![AntonPineiro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antonpineiro/32/49_2.png) [@AntonPineiro](https://community.dynatrace.com/u/AntonPineiro)\
**Post date:** [September 22, 2025, 9:45am UTC](https://community.dynatrace.com/t/monitoring-issue-with-removed-windows-auto-start-services/53426/2 "2025-09-22T09:45:10Z")

</div>

Hi,

Do you know scope where that software must be installed and which not?

Best regards

---

<div class="post-metadata">

**Author:** ![JeanBlanc](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/jeanblanc/32/25897_2.png) [@JeanBlanc](https://community.dynatrace.com/u/JeanBlanc)\
**Post date:** [September 22, 2025, 3:28pm UTC](https://community.dynatrace.com/t/monitoring-issue-with-removed-windows-auto-start-services/53426/3 "2025-09-22T15:28:43Z")

</div>

Hi [@AntonPineiro](https://community.dynatrace.com/user/58682),

Thanks for your reply.  
In this case, it was related to _Kaspersky Security_. The service was monitored by Dynatrace as long as the software was installed.

The challenge is that once the software was uninstalled from the host, the service obviously disappeared, but Dynatrace kept the monitoring configuration and started raising problems because it could no longer find the service.

I don’t really have a predefined scope of which hosts must have Kaspersky installed and which not. My main concern is how to prevent Dynatrace from continuously alerting on services that no longer exist after an uninstall.

Is there a recommended way to automatically clean up or disable the monitoring of services that are removed from a host?

Best regards

---

<div class="post-metadata">

**Author:** ![mizso74](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mizso74/32/41729_2.png) [@mizso74](https://community.dynatrace.com/u/mizso74)\
**Post date:** [September 23, 2025, 6:14am UTC](https://community.dynatrace.com/t/monitoring-issue-with-removed-windows-auto-start-services/53426/4 "2025-09-23T06:14:09Z")

</div>

Hi&nbsp;[@JeanBlanc](https://community.dynatrace.com/user/48146)

We have the same isues also. Not so nince solution, but useful:&nbsp;:wink:

 ![Mizs_0-1758608009939.png](https://global.discourse-cdn.com/dynatrace/original/3X/f/2/f263f04ddb491e11cba8e2aed59ccf1cb14fc88a.png)

Best regards,

János

---

<div class="post-metadata">

**Author:** ![AntonPineiro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antonpineiro/32/49_2.png) [@AntonPineiro](https://community.dynatrace.com/u/AntonPineiro)\
**Post date:** [September 23, 2025, 7:30am UTC](https://community.dynatrace.com/t/monitoring-issue-with-removed-windows-auto-start-services/53426/5 "2025-09-23T07:30:49Z")

</div>

Hi,

My idea would be:

- Adding host metadata filters in the global rule.
- Disable global rule and apply host group or host level rule.

For both you need to define scope about which hosts will have that monitoring. You can have different approaches, or scripting or Puppet / Ansible or Workflows but target would be enable that OS service only in those hosts which software must be installed.

Best regards
