Microsoft Entra Suite Tech Accelerator
Aug 14 2024, 07:00 AM - 09:30 AM (PDT)
Microsoft Tech Community

How to Prevent Admin Users to add exclusions via Registry? + Simple Posh to disable Real-time?

Brass Contributor

So I know this is pretty much a quick "REMOVE ADMIN ACCESS!" answer, but in this case it is not. We'd like to know how to prevent users to exclude extensions, paths, or even processes via Registry.


We set our policies via GPO so anyone with user admin or in this case the primary user can just add the simple exclusion so defender excludes it.


Also, I'd like to know how everyone else prevents users to disable real-time scanning. We will be getting our Intune up and running but we have to have co-management enabled. This will be at the end of the year. Does Exploit Guard help with this?

2 Replies
To not allow the user to disable real-time scanning, Tamper Protection can be used. But this is currently only supported by Intune (

For exclusions, I don't think there is much you can do. You could use MDATP to alert you when one of those registry paths have been changed.

PS: Have you looked at CyberArk (, this allows you to give the user local admin rights for a few use cases (For example allow them to update Java), but don't give them full blown rights
I knew this coming in, but right now it is only available for 1903 and up. :(

we're mostly 1809.