Disable smartscreen

This commit is contained in:
Przemek Grondek 2023-05-01 01:19:34 +02:00
parent e0d6912f3b
commit f1a24132e2

View File

@ -87,3 +87,42 @@ actions:
value: 'ScoobeSystemSettingEnabled'
data: '0'
type: REG_DWORD
# Disable automatic maintenance
- !registryValue:
path: 'HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\Maintenance'
value: 'MaintenanceDisabled'
data: '1'
type: REG_DWORD
# Disable scheduled system maintenance
- !registryValue:
path: 'HKLM\SOFTWARE\Microsoft\Windows\ScheduledDiagnostics'
value: 'EnabledExecution'
data: '0'
type: REG_DWORD
# Disable SmartScreen for Microsoft Store applications
- !registryValue:
path: 'HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\AppHost'
value: 'EnableWebContentEvaluation'
data: '0'
type: REG_DWORD
- !registryValue:
path: 'HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\AppHost'
value: 'PreventOverride'
data: '0'
type: REG_DWORD
# Disable SmartScreen for applications and files from web
- !registryValue:
path: 'HKLM\SOFTWARE\Policies\Microsoft\Windows\System'
value: 'EnableSmartScreen'
data: '0'
type: REG_DWORD
- !registryValue:
path: 'HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer'
value: 'SmartScreenEnabled'
data: 'Off'
type: REG_SZ