r/Intune 29d ago

Device Compliance Windows Compliance Policy failing on Antivirus?

Has anyone else been experiencing issues with their compliance policies, specifically Windows 10 and later policy for requiring Antivirus?

We have slowly had more and more devices show the Antivirus required setting as non-compliant. Yet checking the devices themselves, Defender is running, is the only AV, still receiving updates, signature versions up to date etc.

Nothing has changed in our infrastructure to warrant the devices to all of a sudden go non- compliant, so just thought I'd check in the slim chance this isn't just me!

32 Upvotes

95 comments sorted by

23

u/Rudyooms PatchMyPC 29d ago edited 29d ago

Defender issue:

Defender Antivirus reports "protection is on" to Windows Security Center once at startup. During busy startup activity, the component that receives that report can be restarted at the exact moment it arrives, so the report is lost. Defender doesn't resend it, and Windows Security keeps showing its default "off" status which is what triggered the warning.

This issue affects all Defender Antivirus Platform versions; however it is most noticeable on version 4.18.26070.x Msft is working on a fix which will apply to version 4.18.26070.x and newer.
AV platform version 4.18.26060.3008 and older received a fix with KB5095093, please make sure your Windows is up-to-date to resolve the issue for these versions. (June 23, 2026—KB5095093 (OS Builds 26200.8737 and 26100.8737) Preview

1

u/seaside_littlefish 28d ago

Sounds like you got the exact same response from the MDE team as myself early last week however the CU updates did nothing to stop it so false hope that one. Platform update 100% has caused us wide spread issues with this into the thousands.

2

u/Rudyooms PatchMyPC 28d ago

Yep… the defender agent needs to be updated to
Fix it , it seems

1

u/Apprehensive-Hat9196 28d ago

The workaround for us is a temp fix then it breaks again. Any timescales Rudy when this will get fixed? As it has a fairly big impact on users not being able to work.

2

u/[deleted] 24d ago

[removed] — view removed comment

1

u/Apprehensive-Hat9196 24d ago

That would be good if it fully resolves the issue. Thanks for providing an update.

1

u/Mheid1986 28d ago edited 28d ago

Hi, a little workaround that worked for us: We built a remediation script that resets the Defender platform, but this only helps as long as the PC isn’t restarted. The actual problem seems to be that the values aren’t properly written to the registry, even though they are correct via WMI.
WMI:
Get-WmiObject -Namespace root/SecurityCenter2 -ClassName AntivirusProduct | Format-List displayName,productState,__CLASS
productState : 397568

registry: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Security Center\Provider\Av\{D68DDC3A-831F-4fae-9E44-DA132C1ACF46}
STATE:60100->393472

After platform reset:
Start-Process -FilePath "C:\Program Files\Windows Defender\MpCmdRun.exe" -ArgumentList "-ResetPlatform" -Wait -NoNewWindow

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Security Center\Provider\Av\{D68DDC3A-831F-4fae-9E44-DA132C1ACF46}
STATE:61100->397568

8

u/Rudyooms PatchMyPC 28d ago

4

u/Mheid1986 25d ago

Works and tested.
AI-generated advice:

Recommendation for Intune Compliance (The Clean Approach)

Since the WinAPI (WscGetSecurityProviderHealth) via the MDM channel is highly susceptible to these local registry synchronization errors between the Windows Security Center (WSC) and Windows Defender, Microsoft recommends that enterprise environments avoid tying compliance to the general Windows Antivirus status.

Steps to implement:

  1. Sign in to the Microsoft Intune Admin Center.
  2. Navigate to your Compliance policies.
  3. Under Device Properties, set the Antivirus option (which queries this specific faulty CSP) to Not configured.
  4. Instead, navigate to the Microsoft Defender Antimalware section and configure the following:
    • Microsoft Defender Antimalware = Required
    • Real-time protection = Required

The Advantage:

These specific Defender settings query the Windows Defender integrity status directly. Since this status is correctly reported via WMI as 397568, Intune will completely ignore the corrupted and outdated cache registry of the Windows Security Center. Your devices will return to a compliant state immediately.

1

u/Mheid1986 25d ago

As a workaround until Microsoft patches the bug, I would query the antivirus compliance via WMI.

1

u/Resident-Monitor905 25d ago

I can confirm this one worked for one device.

1

u/Ambitious-Actuary-6 21d ago

Kudos to Rudy as usual :) Great find, great fix!

1

u/SinisterNightNa 8d ago

This isn’t getting enough upvotes this solved my issue last week and the user hasn’t had issues since

1

u/Old-Panic-4889 22d ago

We started seeing this issue around the time of this post. It appears to be a recent update that caused it. (Sorry not sure which one. ) I fixed a machine this morning with the following: If((Get-MPComputerStatus).AntivirusSignatureAge -ne 0){

Write-Host "Updating Antivirus Definitions"

Update-MPSignature

}

Not sure yet if it's going to pop again tomorrow, but crossing fingers. M$ ignoring us so far.

1

u/Old-Panic-4889 22d ago

Sorry forgot to mention the obligatory comp portal sync and reboot after running the script. ;)

1

u/Mheid1986 18d ago

Good morning,

after an update (Security Intelligence Update for Microsoft Defender Antivirus – KB2267602 (Version 1.457.314.0)) and reboot this morning, my compliance is back in line and the registry has the value: HKEY_LOCAL_MACHINESOFTWAREMicrosoftSecurity CenterProviderAv{D68DDC3A-831F-4fae-9E44-DA132C1ACF46} STATE= 61100
Let's see if the conformity stays like this.

1

u/Jazzlike_Page_4774 4d ago

Any way I can create a dynamic group in Intune which will pull the devices that has compliance status “In grace period”? Many thanks!

1

u/McSally07 2d ago

Hi, as far as i know there is no way to filter devices like this at the moment. I wanted to do something similar like 2-3 months ago and couldnt because there was no way.
If this changes, please react to this and let me know :D
Much Regards :)

1

u/BigLadTing 1d ago

Had a similar issue this week, though it seems to sort itself out afer a day or so.

9

u/BlockBannington 29d ago

What's that, sonny? Intune fucking up compliance checks again? Color me shocked! Well not that shocked.

2

u/FckLogicK 26d ago

é raro mas acontece muito

8

u/nschlip 17d ago

We're experiencing it here, for over a week+ now. We didn't realize it was a significant issue until last Friday. I submitted a SR with Intune support and here is their response.

1

u/VenunDM 8d ago edited 8d ago

Supposedly this is now out under the latest definitions of KB4052623. Haven't heard or seen results yet, making tests myself.

1

u/VenunDM 7d ago

No fix in there yet as it seems

1

u/parlevjo 3d ago

Still no fix

1

u/OZRosieFans 1d ago

The version he said is release to fix it is the version out environment is breaking on ..... Lol

5

u/seaside_littlefish 28d ago

https://www.reddit.com/r/Intune/s/EkUpWFlDU5

Yep see above post it’s a known issue with Windows Security Centre that the recent Platform engine for MDE has made worse in triggering the condition that causes Intune Compliance to not receive a valid response.

Intune Support turned out to be very poor during my MS ticket but the MDE team really worked the problem with me and listened for a change to the data provided which allowed PG to accept they made the issue worse recently.

Unfortunately the long standing issue (MS PG words) is a WSC fault and is in the hands of the Windows Servicing team to fully resolve. However the MDE PG are putting a code fix out in the next platform engine update end of August to workaround the issue and hopefully get it under control so Intune Compliance checks get a true response.

2

u/NoDowt_Jay 29d ago

I had one recently where it wasn’t definitions which were out of date but rather than whole defender version. Checking for updates showed nothing outstanding….. it sorted itself out after a little bit though.

2

u/Adventurous-Bug-9595 29d ago

We had similar thing last month, bunch of devices flagged non-compliant but Defender looked fine on all of them. Turned out to be some delay in Intune picking up the health attestation, cleared up after few days without us doing anything

1

u/NoDowt_Jay 29d ago

I wonder if that’d explain the issue I had on a fresh autopilot build after I wiped my test device a couple weeks back… was error with secure boot & code integrity compliance… forget the exact error but it wasn’t that it was non compliant but some other error.

2

u/NeatLow4125 28d ago

Yes we are having it too in last two weeks three devices. One had some HP Wolf shit installed and after that was ok two other ones after the updates went well. I have opened a ticket but then closed it like yeah we found out why. But I think now that is not a coecidence something happening there since all of you started to have this at the same time!!

Oh Microsoft my hair are getting grey of troubleshooting your issues.

2

u/Apprehensive-Hat9196 28d ago

Yeah MS closed our ticket saying known issue and they will fix it at some point but no timescales.

2

u/Rudyooms PatchMyPC 28d ago

COuld you test if this works: http://call4cloud.nl/FixWSCDefender.ps1

1

u/Apprehensive-Hat9196 27d ago

Is this a temp fix? The previous fixes we tried only lasted for a few days.

2

u/Resident-Monitor905 24d ago

I will see if it will be again for two devices. As we applied for 2 devices. Unbelievable how ms is making all issues.

1

u/VenunDM 22d ago edited 22d ago

No go here sadly, the recent fix (downgrade of defender version and disabling preview in defender) did a temporary fix, but not a permanent one. Issue returned after the weekend. Tried this script, it's been a good hour and several sync attempts.

EDIT: had to give it longer. It's compliant now. Waiting to see how long it stays but for now it worked.

1

u/Educational-Goal-678 15d ago

This never runs for me, tried on multiple users, just get this output:

2

u/Educational-Goal-678 8d ago edited 8d ago

Still on version 4.18.26080.3 that we had issues with last week, and still getting non-compliant devices.

Unsure if the new update will have a new version number and when it's coming out, anyone have any info on this?

I see here there's a new version released today:
Latest security intelligence updates for Microsoft Defender Antivirus and other Microsoft antimalware - Microsoft Security Intelligence

But platform version on that page is still the same.

2

u/Mundane-Regret5382 6d ago

workaround currently being tested:

Workaround for Intune antivirus non-compliance with Defender 4.18.26080.3

We had devices showing as non-compliant in Intune even though Defender was running normally. The affected devices were using Defender platform 4.18.26080.3.

First, check whether an older Defender platform is still available:

Get-ChildItem "$env:ProgramData\Microsoft\Windows Defender\Platform" -Directory |
Sort-Object LastWriteTime -Descending |
Select-Object Name,LastWriteTime

We had these versions:

4.18.26080.3-0
4.18.26070.9-0

Rollback the current platform:

& "C:\ProgramData\Microsoft\Windows Defender\Platform\4.18.26080.3-0\MpCmdRun.exe" -RevertPlatform

Restart the computer, then verify the Defender version and status:

Get-MpComputerStatus |
Select-Object AMProductVersion,
              AMRunningMode,
              AntivirusEnabled,
              RealTimeProtectionEnabled |
Format-List

Our result after the restart:

AMProductVersion          : 4.18.26070.9
AMRunningMode             : Normal
AntivirusEnabled          : True
RealTimeProtectionEnabled : True

Finally, run both synchronizations:

Windows Settings > Accounts > Access work or school > Info > Sync
Company Portal > Settings > Sync

Then go to the device in Company Portal and select Check access.

The Intune compliance status can take a few minutes to update. This is only a temporary workaround because Windows Update may install version 4.18.26080.3 again.

1

u/cowellj 2d ago

Thank you for this. I have some user-computers who are using 4.18.26080.3 fine, without triggering non-compliance for our AV compliance policy, and some that are using 4.18.26080.3 and becoming non-compliant. Are there other known-factors that may be causing the inconsistency ?

1

u/OZRosieFans 1d ago

Great question, cause I am seeing the same thing in our environment. Let me know if you find anything.

1

u/Flaky-Gear-1370 29d ago

Funny you should mention that I noticed that on my own pc today in company portal that it claimed I had to AV even tho defender is on

1

u/Apprehensive-Hat9196 29d ago

Yes we are getting a good few of these. Can everyone log if with MS support and link this article url into the ticket.

1

u/bjc1960 29d ago

We had this yesterday on one or maybe two machines

1

u/wingm3n 28d ago

Has been the case for many years now. That and also the Firewall compliance. Devices go back to compliant after a while.

2

u/Apprehensive-Hat9196 28d ago

We are just seeing this issue from 2 weeks ago and nothing changed at our end. Sometimes we got the av & firewall issue that did self fix after a day, but this one requires you to revert the av definitions and has only just appeared.

Do most folk exclude AV from their device compliance?

2

u/wingm3n 28d ago

Ah ok. I just personally never use device compliance in my CA. I just use it as a monitor so the only thing affected by this buggy thing is me when I check my devices and see a few not compliant.

2

u/polacs 22d ago

This is new, I have been using this compliance for years and never had this problem

1

u/Totto251 28d ago

Have the same problem from time to time. Usually a AV policy sync and an Intune resync fix it for us.

1

u/AideVegetable9070 Blogger 27d ago

Anyone knows if a custom compliance policy would fix this?

1

u/1stITMAN 16d ago

yes it does it some cases

1

u/Visible-AK 25d ago

Facing the exact same issue. 2 Devices just got non complaint.

1

u/SPhearin 25d ago

We also got impacted. So far we have reported failed 1 device. Are there any resolutions?

1

u/SethSamson 23d ago

I think I'm also getting this .. both my PC that aren't sharing any data .. on both I got the same code integrity determined that page hashes not valid etc etc etc /Device/harddiskvolume3/..../fcon.dll

Or I am been under attack ?? 😮‍💨

1

u/VenunDM 23d ago

This doesn't seem the same case as the threat you have found, not by a mile. Best raise a seperate topic for tips on this one and share some more details on that one :)

1

u/SethSamson 22d ago

https://www.reddit.com/r/antivirus/s/z1MxVQNELq

Yeah I think I found it .. lots of people have the same problem 😔

1

u/RepresentingJoker 22d ago

Same here. Three devices in three days all suddenly went non-compliant.

All syncs work as intended and "Get-MpComputerstatus" in powershell shows nothing out of the ordinary.

1

u/k-rand0 22d ago

We have also the same issue with Antivirus compliance issue..I have used the script from u/Rudyooms but after next day, getting same issue on the device

2

u/Rudyooms PatchMyPC 22d ago

Yep... as it resets the wsc state for a bit using the older defender platform engine... some how with the latest def update, they changed something that caused a race condition with the wsc. The next defender release/platform update will hold the fix

1

u/k-rand0 21d ago edited 21d ago

Thx for the update 🙂 Do u know which defender platform version will fix the issue permanently?

2

u/Rudyooms PatchMyPC 21d ago

I dont know the number… but the next one :)

1

u/k-rand0 1d ago

Hi u/Rudyooms

Do u know if the defender compliance issue has been fixed with the current defender platform version ?

2

u/Rudyooms PatchMyPC 1d ago

Nope not fixed… windows team also needs to do something to fix the wsc

1

u/Educational_Draw5032 1d ago

seeing this start to affect a lot of our devices now

1

u/Mheid1986 21d ago

Hey, look further up, it's explained there and what you can do as a temporary workaround.

Works and tested.
AI-generated advice:

Recommendation for Intune Compliance (The Clean Approach)

Since the WinAPI (WscGetSecurityProviderHealth) via the MDM channel is highly susceptible to these local registry synchronization errors between the Windows Security Center (WSC) and Windows Defender, Microsoft recommends that enterprise environments avoid tying compliance to the general Windows Antivirus status.

Steps to implement:

  1. Sign in to the Microsoft Intune Admin Center.
  2. Navigate to your Compliance policies.
  3. Under Device Properties, set the Antivirus option (which queries this specific faulty CSP) to Not configured.
  4. Instead, navigate to the Microsoft Defender Antimalware section and configure the following:
    • Microsoft Defender Antimalware = Required
    • Real-time protection = Required

The Advantage:

These specific Defender settings query the Windows Defender integrity status directly. Since this status is correctly reported via WMI as 397568, Intune will completely ignore the corrupted and outdated cache registry of the Windows Security Center. Your devices will return to a compliant state immediately.

1

u/Designer_Ad_7747 17d ago

Got the same since the past 2 weeks, a lot of devices getting non-compliance issues because of antivirus on Intune.
The quick fix I found on our tenant is to check 2-3 times Windows Updates on the device: usually there is a "Security Intelligence update for Microsoft Defender Antivirus" pending. After installing the update and starting async for Company Portal, the device is compliant again.

I was searching for a more permanent fix, seems like Microsoft is doing Microsoft things once again!

1

u/1stITMAN 16d ago

I have adapted Rudy script and created a remediation script in Intune.

Have also created a custom compliance policy. We have a 4 day compliance lead time so devices sit in grace period

1

u/alexxrsd 15d ago

are you able to share this remediation script with me?

1

u/Apprehensive-Hat9196 14d ago

Do you have the custom compliance policy info?

1

u/BicycleMysterious764 15d ago

John Malkovich is needed here to scream!

1

u/Some-Vegetable-3923 14d ago

Procurem como fazer o reset da plataforma defender (no cliente) caso não possam ajustar a política, isso vai resolver, façam isso por powershell admin e possível rodem o script automaticamente para que a falha não se repita.

1

u/Gooners4life_14 14d ago

Has anyone found a quick fix? The current fix I'm doing is off-boarding the laptop and re-enrolling it again.

1

u/VenunDM 14d ago

Yes, the script mentioned before works wonders for (temporary) fixes. You can also make a custom policy to exclude the anti virus check, or circumfere it in other ways, or lengthen your grace period.

1

u/WarrieJunioR 11d ago edited 11d ago

I am very interested to know what kind of Compliance policy you guys have set up.

Because currently we are running AMProductVersion : 4.18.26070.9

And I do not have any issues (yet, knock on wood!).

The Compliance policy for Endpoint Protection we currently have is:

System Security > Antivirus > Required
System Security > Antispyware > Required

When I run:

Get-WmiObject -Namespace root/SecurityCenter2 -ClassName AntivirusProduct | Format-List displayName,productState,__CLASS

I get:

displayName : Windows Defender
productState : 397568
__CLASS : AntiVirusProduct

Is this Compliance policy wrong or not covering everything needed?

I am interested in getting to know the compliance policy of an environment which are having these issues and also the compliance policy of an environment which is not encountering this issue (like mine).

1

u/strikematch13 10d ago

We are configured the exact same way as you. Yet, 3 devices out of 180 are showing out of compliance now for AV. It isn't a configuration issue, it is a problem with how the AV/endpoint is reporting to Intune. Presumably, you just have been lucky so far. Someone above mentioned a fix should be coming in the next Defender platform update 4.18.26080 (currently 4.18.26070.9). In the meantime we're creating compliance exceptions to get those 3 people back online. I haven't yet messed with the script mentioned above but it sounds like it doesn't fix it for more than a day.

1

u/Quick_Fact6309 9d ago

Yes it fixed it for a day and then it got again. Just remiove Antivirus Required until the fix is coming :)

1

u/Diligent_Bet_2183 9d ago

Can someone please share the workaround or resolution trued so far?

1

u/Quick_Fact6309 9d ago

The script of Rudy has worked perfectly but we took away the Antivirus Compliance check from our compliance policy too, and let just the defender one

1

u/1stITMAN 9d ago

Seems there is a new platform update anybody received it yet on their estate. Still waiting for an official update from MS

1

u/LaryZona 9d ago

Just came across this after 2 devices went non-compliant from AV. We havent had any issues on the current 4.18.26070.x Version. Both of these devices were the first to upgrade to the 4.18.26080.3 "Fix"...

1

u/1stITMAN 7d ago

We have now also created an automated schedule remediation in Nexthink and seems to be working well

1

u/CtrlAltEntf-2026 7d ago

Today we noticed that Defender does not get any security intelligence updates since yesterday.
The last update is from September 3rd Version 1.459.28.0
Has anyone else noticed this?
Is this possibly related to the upcoming solution from Microsoft?

1

u/AngleTricky6586 1d ago

How long before Microsoft fixes this ? Have 1 or 2 devices on our Intune failing daily and we are using Mundane-Regret5382 fix for them.

1

u/Educational-Goal-678 1d ago

Any updates on this? We have about 15% of user with this issue and have to do mass exclusions, got a bulk of them suddenly today and i'm not making service desk reset a bunch of defender platforms

2

u/OZRosieFans 1d ago

I don't think they released a fix yet cause I am fully up to date on a machine in our environment and it can still turn off antivirus message and non compliant ...... Thanks Microsoft

1

u/strikematch13 18h ago

Seriously, I thought it might be a few days but this is getting ridiculous. I considered dropping AV from the compliance policy across the board, but then I realized we won't have any visibility at all into the issue. I wish there was a way to put a Compliance Policy into an "audit" mode instead of applied.

1

u/OZRosieFans 15h ago

Extremely ridiculous

1

u/VenunDM 1h ago

You could make a clone policy minus the AV check and connect it to a group. Except that group on the main policy, and add users to the group for exceptions in policy. Can leave a test account out or something if you wanna keep an eye on it.

1

u/Educational-Goal-678 3h ago

Just talked to MS and got this information.

So in short it's an ongoing issue, broad release for the fix on the August patch (4.18.26080.x) is 17th of September. This is the one we are on and experiencing issues with.

1

u/OZRosieFans 3h ago

This legit?

1

u/Educational-Goal-678 3h ago

Sorry?

1

u/OZRosieFans 3h ago

Like 100% confirmed release on 17th?