Update windows10-miningrig.ps1

This commit is contained in:
simeononsecurity
2022-05-07 21:33:42 +00:00
committed by GitHub
parent 225b35b569
commit 93d4b04558

View File

@ -62,6 +62,10 @@ Start-Job -Name "Mining Specific Configurations and Optimizations" -ScriptBlock
Add-MpPreference -ExclusionPath $env:APPDATA"\AwesomeMinerService"
Add-MpPreference -ExclusionPath $env:PROGRAMDATA"\AwesomeMinerService"
#NiceHash Miner Windows Defender Exclusions
Add-MpPreference -ExclusionPath "C:\NiceHash\"
Add-MpPreference -ExclusionPath $env:LOCALAPPDATA"\Programs\NiceHashMiner"
#Disable Windows Updates
#https://blogs.technet.microsoft.com/jamesone/2009/01/27/managing-windows-update-with-powershell/
#https://msdn.microsoft.com/en-us/library/windows/desktop/aa385806(v=vs.85).aspx