Answered by:
Programmatically disabling Tamper Protection in Windows 10 19h1

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
Answers
-
I'd ask for help over here.
https://social.technet.microsoft.com/Forums/en-US/home?forum=WindowsInsiderPreview
https://social.technet.microsoft.com/Forums/en-US/home?forum=win10itprosetup
Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows Server] Datacenter Management
Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.
- Edited by Dave PatrickMVP Thursday, May 2, 2019 12:45 AM
- Marked as answer by neilfitz Thursday, May 2, 2019 12:58 AM
Thursday, May 2, 2019 12:44 AM
All replies
-
I'd ask for help over here.
https://social.technet.microsoft.com/Forums/en-US/home?forum=WindowsInsiderPreview
https://social.technet.microsoft.com/Forums/en-US/home?forum=win10itprosetup
Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows Server] Datacenter Management
Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.
- Edited by Dave PatrickMVP Thursday, May 2, 2019 12:45 AM
- Marked as answer by neilfitz Thursday, May 2, 2019 12:58 AM
Thursday, May 2, 2019 12:44 AM -
Thanks for the fast response!Thursday, May 2, 2019 12:58 AM
-
You're welcome.
Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows Server] Datacenter Management
Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.Thursday, May 2, 2019 12:59 AM