Bug 1416779 - disable firewall notifications; r?MattN
MozReview-Commit-ID: 88jOI6CVhja
--- a/testing/mozharness/configs/unittests/win_taskcluster_unittest.py
+++ b/testing/mozharness/configs/unittests/win_taskcluster_unittest.py
@@ -269,16 +269,26 @@ config = {
os.path.join(os.getcwd(),
'mozharness', 'external_tools', 'machine-configuration.json')
],
'architectures': ['32bit', '64bit'],
'halt_on_failure': True,
'enabled': ADJUST_MOUSE_AND_SCREEN
},
{
+ 'name': 'disable windows security and maintenance notifications',
+ 'cmd': [
+ 'powershell', '-command',
+ '"&{$p=\'HKCU:SOFTWARE\Microsoft\Windows\CurrentVersion\Notifications\Settings\Windows.SystemToast.SecurityAndMaintenance\';if(!(Test-Path -Path $p)){&New-Item -Path $p -Force}&Set-ItemProperty -Path $p -Name Enabled -Value 0}"'
+ ],
+ 'architectures': ['32bit', '64bit'],
+ 'halt_on_failure': True,
+ 'enabled': (platform.release() == 10)
+ },
+ {
'name': 'set windows VisualFX',
'cmd': [
'powershell', '-command',
'"&{{&Set-ItemProperty -Path \'HKCU:Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\' -Name VisualFXSetting -Value {}}}"'.format(DESKTOP_VISUALFX_THEME)
],
'architectures': ['32bit', '64bit'],
'halt_on_failure': True,
'enabled': True