Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ For a detailed view of what has changed, refer to the {uri-repo}/commits/master[

Bug fixes::
* Removed APM from default chocolatey packages ({uri-issue}119[#119])
* Disabled malware protection, cloud and automatic sample submission on Windows 10 ({uri-issue}120[#120])

Infrastructure Improvements::
* Further improvements to Jenkins CI system fixed Windows 7 build issues ({uri-issue}108[#108], {uri-issue}110[#110])
Expand Down
1 change: 0 additions & 1 deletion TODO.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

== bugs

* Win10 disable malware protection, cloud and automatic submission
* Win10 desktop virtualbox share doesn't work

=== inetsim json config
Expand Down
10 changes: 10 additions & 0 deletions malboxes/scripts/windows/disable_defender.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
# Disable Windows Defender on Windows 10
Set-ItemProperty -Path "HKLM:\Software\Policies\Microsoft\Windows Defender" -Name "DisableAntiSpyware" -Value 1
Set-ItemProperty -Path "HKLM:\Software\Policies\Microsoft\Windows Defender" -Name "DisableRoutinelyTakingAction" -Value 1

# Disable Windows Defender cloud protection and automatic sample submission
$spynet = "HKLM:\Software\Policies\Microsoft\Windows Defender\Spynet"

If (!(Test-Path $spynet)) {
New-Item -Path $spynet -Force | Out-Null
}

Set-ItemProperty -Path $spynet -Name "SpynetReporting" -Type DWord -Value 0
Set-ItemProperty -Path $spynet -Name "SubmitSamplesConsent" -Type DWord -Value 2