From 49d1fe2bc5e8b78a9972729980dd1c27f3b8070e Mon Sep 17 00:00:00 2001 From: he3als <65787561+he3als@users.noreply.github.com> Date: Thu, 13 Jun 2024 17:24:42 +0100 Subject: [PATCH 1/2] fix: don't hide USB page by default --- .../Configuration/tweaks/qol/set-hidden-settings-pages.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/playbook/Configuration/tweaks/qol/set-hidden-settings-pages.yml b/src/playbook/Configuration/tweaks/qol/set-hidden-settings-pages.yml index 1fa094ef60..a6f00eb2da 100644 --- a/src/playbook/Configuration/tweaks/qol/set-hidden-settings-pages.yml +++ b/src/playbook/Configuration/tweaks/qol/set-hidden-settings-pages.yml @@ -8,7 +8,7 @@ actions: - !registryValue: path: 'HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer' value: 'SettingsPageVisibility' - data: 'hide:recovery;autoplay;usb;maps;maps-downloadmaps;findmydevice;privacy;privacy-speechtyping;privacy-speech;privacy-feedback;privacy-activityhistory;search-permissions;privacy-location;privacy-general;sync;cortana-windowssearch;mobile-devices;mobile-devices-addphone;workplace;backup' + data: 'hide:recovery;autoplay;maps;maps-downloadmaps;findmydevice;privacy;privacy-speechtyping;privacy-speech;privacy-feedback;privacy-activityhistory;search-permissions;privacy-location;privacy-general;sync;cortana-windowssearch;mobile-devices;mobile-devices-addphone;workplace;backup' type: REG_SZ builds: [ '<22000' ] @@ -16,6 +16,6 @@ actions: - !registryValue: path: 'HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer' value: 'SettingsPageVisibility' - data: 'hide:recovery;autoplay;usb;maps;maps-downloadmaps;findmydevice;privacy;privacy-feedback;privacy-activityhistory;search-permissions;privacy-location;privacy-general;sync;cortana-windowssearch;mobile-devices;mobile-devices-addphone;workplace;family-group;deviceusage;home' + data: 'hide:recovery;autoplay;maps;maps-downloadmaps;findmydevice;privacy;privacy-feedback;privacy-activityhistory;search-permissions;privacy-location;privacy-general;sync;cortana-windowssearch;mobile-devices;mobile-devices-addphone;workplace;family-group;deviceusage;home' type: REG_SZ builds: [ '>=22000' ] From 0e650ffc03e5870dbe487c776e22c521d56e8c73 Mon Sep 17 00:00:00 2001 From: he3als <65787561+he3als@users.noreply.github.com> Date: Thu, 13 Jun 2024 17:27:34 +0100 Subject: [PATCH 2/2] fix: user-choice autoplay, no reg --- src/playbook/Configuration/tweaks.yml | 2 +- .../tweaks/qol/set-hidden-settings-pages.yml | 4 +-- .../qol/shell/config-autorun-autoplay.yml | 24 -------------- .../tweaks/qol/shell/config-autorun.yml | 30 ++++++++++++++++++ .../AutoPlay/Disable AutoPlay (default).reg | Bin 842 -> 0 bytes .../AutoPlay/Enable AutoPlay.reg | Bin 794 -> 0 bytes 6 files changed, 33 insertions(+), 27 deletions(-) delete mode 100644 src/playbook/Configuration/tweaks/qol/shell/config-autorun-autoplay.yml create mode 100644 src/playbook/Configuration/tweaks/qol/shell/config-autorun.yml delete mode 100644 src/playbook/Executables/AtlasDesktop/3. General Configuration/AutoPlay/Disable AutoPlay (default).reg delete mode 100644 src/playbook/Executables/AtlasDesktop/3. General Configuration/AutoPlay/Enable AutoPlay.reg diff --git a/src/playbook/Configuration/tweaks.yml b/src/playbook/Configuration/tweaks.yml index ac45c408a6..359cc4a61b 100644 --- a/src/playbook/Configuration/tweaks.yml +++ b/src/playbook/Configuration/tweaks.yml @@ -242,7 +242,7 @@ tasks: # qol\shell # # -------------------------------------------------------------------------- # - tweaks\qol\shell\alt-tab-open-windows.yml - - tweaks\qol\shell\config-autorun-autoplay.yml + - tweaks\qol\shell\config-autorun.yml - tweaks\qol\shell\disable-aero-shake.yml - tweaks\qol\shell\disable-low-disk-warning.yml - tweaks\qol\shell\disable-menu-delay.yml diff --git a/src/playbook/Configuration/tweaks/qol/set-hidden-settings-pages.yml b/src/playbook/Configuration/tweaks/qol/set-hidden-settings-pages.yml index a6f00eb2da..048b17b5c7 100644 --- a/src/playbook/Configuration/tweaks/qol/set-hidden-settings-pages.yml +++ b/src/playbook/Configuration/tweaks/qol/set-hidden-settings-pages.yml @@ -8,7 +8,7 @@ actions: - !registryValue: path: 'HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer' value: 'SettingsPageVisibility' - data: 'hide:recovery;autoplay;maps;maps-downloadmaps;findmydevice;privacy;privacy-speechtyping;privacy-speech;privacy-feedback;privacy-activityhistory;search-permissions;privacy-location;privacy-general;sync;cortana-windowssearch;mobile-devices;mobile-devices-addphone;workplace;backup' + data: 'hide:recovery;maps;maps-downloadmaps;findmydevice;privacy;privacy-speechtyping;privacy-speech;privacy-feedback;privacy-activityhistory;search-permissions;privacy-location;privacy-general;sync;cortana-windowssearch;mobile-devices;mobile-devices-addphone;workplace;backup' type: REG_SZ builds: [ '<22000' ] @@ -16,6 +16,6 @@ actions: - !registryValue: path: 'HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer' value: 'SettingsPageVisibility' - data: 'hide:recovery;autoplay;maps;maps-downloadmaps;findmydevice;privacy;privacy-feedback;privacy-activityhistory;search-permissions;privacy-location;privacy-general;sync;cortana-windowssearch;mobile-devices;mobile-devices-addphone;workplace;family-group;deviceusage;home' + data: 'hide:recovery;maps;maps-downloadmaps;findmydevice;privacy;privacy-feedback;privacy-activityhistory;search-permissions;privacy-location;privacy-general;sync;cortana-windowssearch;mobile-devices;mobile-devices-addphone;workplace;family-group;deviceusage;home' type: REG_SZ builds: [ '>=22000' ] diff --git a/src/playbook/Configuration/tweaks/qol/shell/config-autorun-autoplay.yml b/src/playbook/Configuration/tweaks/qol/shell/config-autorun-autoplay.yml deleted file mode 100644 index 04fa9be1c2..0000000000 --- a/src/playbook/Configuration/tweaks/qol/shell/config-autorun-autoplay.yml +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: Disable AutoRun/AutoPlay -description: Disables AutoRun/AutoPlay for the optimal security and usability/QoL -actions: - - !registryValue: - path: 'HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer' - value: 'NoAutorun' - data: '1' - type: REG_DWORD - - !registryValue: - path: 'HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers' - value: 'DisableAutoplay' - data: '1' - type: REG_DWORD - - !registryValue: - path: 'HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer' - value: 'NoDriveTypeAutoRun' - data: '255' - type: REG_DWORD - - !registryValue: - path: 'HKLM\SOFTWARE\Policies\Microsoft\Windows\Explorer' - value: 'NoAutoplayfornonVolume' - data: '1' - type: REG_DWORD diff --git a/src/playbook/Configuration/tweaks/qol/shell/config-autorun.yml b/src/playbook/Configuration/tweaks/qol/shell/config-autorun.yml new file mode 100644 index 0000000000..66d9c506d0 --- /dev/null +++ b/src/playbook/Configuration/tweaks/qol/shell/config-autorun.yml @@ -0,0 +1,30 @@ +--- +title: Disable AutoRun +description: Disables AutoRun, also known as AutoPlay, for optimal security +actions: + - !registryValue: + path: 'HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers' + value: 'DisableAutoplay' + data: '1' + type: REG_DWORD + - !registryValue: + path: 'HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\EventHandlersDefaultSelection\CameraAlternate' + value: 'MSTakeNoAction' + data: '' + type: REG_NONE + - !registryValue: + path: 'HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\EventHandlersDefaultSelection\StorageOnArrival' + value: 'MSTakeNoAction' + data: '' + type: REG_NONE + - !registryValue: + path: 'HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\UserChosenExecuteHandlers\CameraAlternate\ShowPicturesOnArrival' + value: 'MSTakeNoAction' + data: '' + type: REG_NONE + - !registryValue: + path: 'HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\UserChosenExecuteHandlers\StorageOnArrival' + value: 'MSTakeNoAction' + data: '' + type: REG_NONE + diff --git a/src/playbook/Executables/AtlasDesktop/3. General Configuration/AutoPlay/Disable AutoPlay (default).reg b/src/playbook/Executables/AtlasDesktop/3. General Configuration/AutoPlay/Disable AutoPlay (default).reg deleted file mode 100644 index ef4f2e30565ecb4e6801047e628a3717d70d2566..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 842 zcmcJNQA@)>5QOJh@IRFP0MQ3u1Ro@=RJ2vnYLT7Kd*jwno?`gBFK?k zcIS3(XR>dvLs=CX%V{RBhEm<>o}AaCO1+S2gIXd-+|UJh32KQ8;$3ZNo3*Kp_>9!i zF*TRUbfQxwI$+P#WlzA4)B`o@gB@z1A^9|Bx^UjY?O=DxxzT_wc4uIyI8o9=0sgfY zqciFzk;QVtQ{UFJrsP8Jq3^5MW0M{n_g0^(D%hIZN9Qb_9BVIX3c5bl&O%)a9;+w# z2KX~&ubEO9e`dKauY-eD>x(KSE!t%Y(A ub`z0WcU`rPhe7?{XXN`IUT12S^{$$NT0e1&YQ4hu92L4@3 zq6_L~fyJ=HQQy(4=H$F~ulpuwY@)$(Zt>-+fUT)Rd@jPyi4KA%@2hUf ukjh+UH$|?;E8$w