From d36a4050cb3bf6ed5845d468a441086fd81fdfd2 Mon Sep 17 00:00:00 2001 From: he3als <65787561+he3als@users.noreply.github.com> Date: Sun, 6 Aug 2023 13:33:33 +0100 Subject: [PATCH] fix(SmartScreen): fix SmartScreen not working (1) --- src/playbook/Configuration/tweaks.yml | 4 +-- .../disable-online-file-security-warn.yml | 16 ------------ .../qol/security/disable-smartscreen.yml | 25 ------------------- .../disable-uac-secure-desktop.yml | 0 4 files changed, 1 insertion(+), 44 deletions(-) delete mode 100644 src/playbook/Configuration/tweaks/qol/security/disable-online-file-security-warn.yml delete mode 100644 src/playbook/Configuration/tweaks/qol/security/disable-smartscreen.yml rename src/playbook/Configuration/tweaks/qol/{ => security}/disable-uac-secure-desktop.yml (100%) diff --git a/src/playbook/Configuration/tweaks.yml b/src/playbook/Configuration/tweaks.yml index 5aa3233dab..c60f1b8493 100644 --- a/src/playbook/Configuration/tweaks.yml +++ b/src/playbook/Configuration/tweaks.yml @@ -228,9 +228,7 @@ features: # -------------------------------------------------------------------------- # # qol\security # # -------------------------------------------------------------------------- # - - tweaks\qol\security\disable-online-file-security-warn.yml - # - tweaks\qol\security\disable-smartscreen.yml - - tweaks\qol\disable-uac-secure-desktop.yml + - tweaks\qol\security\disable-uac-secure-desktop.yml # -------------------------------------------------------------------------- # # qol\shell # diff --git a/src/playbook/Configuration/tweaks/qol/security/disable-online-file-security-warn.yml b/src/playbook/Configuration/tweaks/qol/security/disable-online-file-security-warn.yml deleted file mode 100644 index caf969a571..0000000000 --- a/src/playbook/Configuration/tweaks/qol/security/disable-online-file-security-warn.yml +++ /dev/null @@ -1,16 +0,0 @@ ---- -title: Disable 'Open file' Security Warning Message -description: Disables the pop-up asking if you want to run a file downloaded from the internet for QoL -privilege: TrustedInstaller -actions: - - !registryValue: - path: 'HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\3' - value: '1806' - data: '0' - type: REG_DWORD - # Do not preserve zone information in file attachments - - !registryValue: - path: 'HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Attachments' - value: 'SaveZoneInformation' - data: '1' - type: REG_DWORD diff --git a/src/playbook/Configuration/tweaks/qol/security/disable-smartscreen.yml b/src/playbook/Configuration/tweaks/qol/security/disable-smartscreen.yml deleted file mode 100644 index 7935083d68..0000000000 --- a/src/playbook/Configuration/tweaks/qol/security/disable-smartscreen.yml +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: Disable SmartScreen -description: SmartScreen is a security feature for warning users about the dangers of executing certain files from third party sources, and it is disabled for QoL. -privilege: TrustedInstaller -actions: - - !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 - - !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 diff --git a/src/playbook/Configuration/tweaks/qol/disable-uac-secure-desktop.yml b/src/playbook/Configuration/tweaks/qol/security/disable-uac-secure-desktop.yml similarity index 100% rename from src/playbook/Configuration/tweaks/qol/disable-uac-secure-desktop.yml rename to src/playbook/Configuration/tweaks/qol/security/disable-uac-secure-desktop.yml