# monitor windows Defender components status?

**URL:** <https://community.dynatrace.com/t/monitor-windows-defender-components-status/40064>\
**Category:** Open Q&A\
**Tags:** windows, services-classic\
**Created:** [June 5, 2023, 11:47am UTC](https://community.dynatrace.com/t/monitor-windows-defender-components-status/40064 "2023-06-05T11:47:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![McVitas](https://avatars.discourse-cdn.com/v4/letter/m/b487fb/32.png) [@McVitas](https://community.dynatrace.com/u/McVitas)\
**Post date:** [June 5, 2023, 11:47am UTC](https://community.dynatrace.com/t/monitor-windows-defender-components-status/40064/1 "2023-06-05T11:47:58Z")

</div>

Hello, so there has been a situation when some of our servers had disabled Virus & threat protection and App & browser control in Windows Security settings. There should be an event id 1151 logged in Windows security event log, but unfortunately the logs were short so I didn’t find it.&nbsp;There are windows commands which can show it:

Get-MpComputerStatus|select IsTamperProtected,RealTimeProtectionEnabled

Get-MpPreference|select PUAProtection

I want to be able to see status of those components via Dynatrace and be notified if it changes. Is that possible?

 ![McVitas_0-1685965160167.png](https://global.discourse-cdn.com/dynatrace/original/3X/8/5/852798554144741047e5a40c13387a1e7399bcea.jpeg)

---

<div class="post-metadata">

**Author:** ![radek\_jasinski](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/radek_jasinski/32/10432_2.png) [@radek\_jasinski](https://community.dynatrace.com/u/radek_jasinski)\
**Post date:** [June 5, 2023, 12:28pm UTC](https://community.dynatrace.com/t/monitor-windows-defender-components-status/40064/2 "2023-06-05T12:28:30Z")

</div>

Hi,

To do this, you can write your own plug-in that will check the firewall status of the system and return information to DT via API. You will then create alert thresholds for a certain value.

Another idea is Grail - if you have a SaaS version of DT, you can connect to the system log and create relevant metrics in DT.

Radek
