Disassembler0 / Win10-Initial-Setup-Script

PowerShell script for automation of routine tasks done after fresh installations of Windows 10 / Server 2016 / Server 2019
MIT License
4.7k stars 1.08k forks source link

Defender tamper protection #238

Open Disassembler0 opened 5 years ago

Disassembler0 commented 5 years ago

1903 added Tamper protection feature into Windows Defender. This basically blocks all attempts to modify defender-related registry, unless you're doing it as TrustedInstaller user.

By default, the protection seems to be disabled, but nags with a warning. Scope of this issue is either:

or

There is related setting under HKLM:\SOFTWARE\Microsoft\Windows Defender\Features but manually dismissing the warning doesn't seem to change anything anywhere in registry, so there may be something else in SQLite databases under C:\ProgramData\Microsoft\Windows Defender.

God-damnit-all commented 4 years ago

Perhaps the TamperProtection key in HKLM\SOFTWARE\Microsoft\Windows Defender\Features might be something that is only honored during the initial install of the OS, similar to the ShippedWithReserves key for the Reserved Storage feature?