Search code examples
windowspowershellwindows-defender

WDAC policy doesnt disable


I'm trying to disable my device guard policy, what I have done is: windows + R --> gpedit.msc --> Local Computer Policy --> Computer configuration --> Administrative templates --> System --> Device guard --> Deploy Windows Defender Application Control --> Set to not configured as shown on image

DEVICE GUARD NOT CONFIGURED

Then I open msinfo32.exe to check if the policy is still active, System Summary --> Windows defender Aplication --> is set to audit as shown on image

audit and not disabled

How can I disable this policy??


Solution

  • I solve it doing this in powershell: rm "C:\Windows\System32\CodeIntegrity\SiPolicy.p7b"