Skip to content

Commit

Permalink
win: fix Defender remote configs PS value #477
Browse files Browse the repository at this point in the history
This commit fixes `DisableCoreServiceECSIntegration` value to properly
disable remote experimentation and configurations in Defender. The
previous value (`$False`) was causing the opposite of indended behavior.

The default value is also updated to match Microsoft's documentation and
actual system behavior.
  • Loading branch information
undergroundwires committed Dec 21, 2024
1 parent e6c52db commit 560af95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/application/collections/windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15642,8 +15642,8 @@ actions:
parameters:
# 0 = 'Disabled' (default), 1 = 'Enabled', 2 = 'AuditMode'
property: DisableCoreServiceECSIntegration # Status: Get-MpPreference | Select-Object -Property DisableCoreServiceECSIntegration
value: "$False" # Set: Set-MpPreference -Force -DisableCoreServiceECSIntegration $False
default: "$True" # Default: 0 (Disabled) | Remove-MpPreference -Force -DisableCoreServiceECSIntegration | Set-MpPreference -DisableCoreServiceECSIntegration "$True"
value: "$True" # Set: Set-MpPreference -Force -DisableCoreServiceECSIntegration $True
default: "$False" # Default: 0 (Disabled) | Remove-MpPreference -Force -DisableCoreServiceECSIntegration | Set-MpPreference -DisableCoreServiceECSIntegration "$False"
-
function: SetRegistryValue
parameters:
Expand Down

0 comments on commit 560af95

Please sign in to comment.