Programmatically disabling Tamper Protection in Windows 10 19h1 RRS feed

  • Question

  • I want to be able to programmatically provision VM images for Windows 10 19h1. For my use case, I don't care about security, just performance, and Windows Defender eats up a noticeable amount of CPU, so I'd like to disable it.

    Historically, for other versions of Windows, I've done this with

    Set-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows Defender' -Name DisableAntiSpyware -Value 1

    ...which is great, but with the new tamper protection feature in 19h1, this goes away after a restart.

    Manually disabling tamper protection fixes it, but I want to do this in an automated way. Is there a registry entry or something that can be set to disable tamper protection as well?

    • Edited by neilfitz Thursday, May 2, 2019 12:33 AM
    Thursday, May 2, 2019 12:32 AM


All replies