From 0540243e4f437b72964d1dfb0a3b03e9fd70cf2b Mon Sep 17 00:00:00 2001 From: he3als <65787561+he3als@users.noreply.github.com> Date: Sat, 1 Jun 2024 20:03:46 +0100 Subject: [PATCH 1/3] feat: refactor Playbook options --- .../tweaks/misc/enable-notifications.yml | 6 --- .../windows-update/disable-auto-updates.yml | 2 +- .../tweaks/scripts/script-core-isolation.yml | 2 +- src/playbook/playbook.conf | 46 ++++++------------- 4 files changed, 16 insertions(+), 40 deletions(-) diff --git a/src/playbook/Configuration/tweaks/misc/enable-notifications.yml b/src/playbook/Configuration/tweaks/misc/enable-notifications.yml index fbd3f70b75..8c103b6840 100644 --- a/src/playbook/Configuration/tweaks/misc/enable-notifications.yml +++ b/src/playbook/Configuration/tweaks/misc/enable-notifications.yml @@ -6,9 +6,3 @@ actions: command: '"AtlasDesktop\3. General Configuration\Notifications\Enable Notifications.cmd" /silent' exeDir: true wait: true - option: '!disable-notifications' - - !cmd: - command: '"AtlasDesktop\3. General Configuration\Notifications\Enable Notifications.cmd" /justuserservice' - exeDir: true - wait: true - option: 'disable-notifications' diff --git a/src/playbook/Configuration/tweaks/qol/windows-update/disable-auto-updates.yml b/src/playbook/Configuration/tweaks/qol/windows-update/disable-auto-updates.yml index 72e4c10e44..95e96fcd44 100644 --- a/src/playbook/Configuration/tweaks/qol/windows-update/disable-auto-updates.yml +++ b/src/playbook/Configuration/tweaks/qol/windows-update/disable-auto-updates.yml @@ -7,7 +7,7 @@ actions: command: 'reg import "AtlasDesktop\3. General Configuration\Windows Update\Automatic Updates\Disable Automatic Updates (default).reg"' exeDir: true wait: true - option: 'disable-auto-updates' + option: 'auto-updates-disable' # Prevent DevHome & Outlook from re-installing - !registryKey: {path: 'HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Orchestrator\UScheduler\DevHomeUpdate'} diff --git a/src/playbook/Configuration/tweaks/scripts/script-core-isolation.yml b/src/playbook/Configuration/tweaks/scripts/script-core-isolation.yml index 9c4e3c872d..545111e00b 100644 --- a/src/playbook/Configuration/tweaks/scripts/script-core-isolation.yml +++ b/src/playbook/Configuration/tweaks/scripts/script-core-isolation.yml @@ -1,7 +1,7 @@ --- title: Disable Core Isolation description: Disables Core Isolation (VBS) based on the user's options -option: 'vbs-disable' +option: 'disable-core-isolation' actions: - !powerShell: command: '& """.\AtlasModules\Scripts\ScriptWrappers\ConfigVBS.ps1""" -DisableAllVBS' diff --git a/src/playbook/playbook.conf b/src/playbook/playbook.conf index 3611e3d498..9f60268b75 100644 --- a/src/playbook/playbook.conf +++ b/src/playbook/playbook.conf @@ -46,8 +46,8 @@ Atlas makes your computer snappier and more private with lots of usability impro - - + + Default Windows Mitigations (recommended) @@ -60,37 +60,20 @@ Atlas makes your computer snappier and more private with lots of usability impro - + - Disable Core Isolation (recommended) - vbs-disable + Disable Automatic Windows Updates + auto-updates-disable - Windows Default - vbs-default + Enable Automatic Windows Updates + auto-updates-default - + - - - - Disable Printing - disable-printing - - - Disable Bluetooth - disable-bluetooth - - - Disable Power Saving - disable-power-saving - - - - @@ -98,21 +81,20 @@ Atlas makes your computer snappier and more private with lots of usability impro disable-hibernation - Disable Automatic Updates - disable-auto-updates + Disable Power Saving + disable-power-saving - Remove Snipping Tool App - remove-snipping-tool + Disable Core Isolation + disable-core-isolation - - Disable Notifications - disable-notifications + Remove Snipping Tool App + remove-snipping-tool Remove Microsoft Edge From c684c504cf43d23d8c54b2fd861c27398799f579 Mon Sep 17 00:00:00 2001 From: he3als <65787561+he3als@users.noreply.github.com> Date: Sat, 1 Jun 2024 20:11:46 +0100 Subject: [PATCH 2/3] add services.yml changes --- src/playbook/Configuration/atlas/services.yml | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/src/playbook/Configuration/atlas/services.yml b/src/playbook/Configuration/atlas/services.yml index dac2544019..c11caa3f6b 100644 --- a/src/playbook/Configuration/atlas/services.yml +++ b/src/playbook/Configuration/atlas/services.yml @@ -21,18 +21,6 @@ actions: ## SCRIPTS ## ############################################################################################## - - !writeStatus: {status: 'Disabling Printing', option: 'disable-printing'} - - !cmd: - command: '"AtlasDesktop\3. General Configuration\Printing\Disable Printing.cmd" /silent' - option: 'disable-printing' - exeDir: true - wait: true - - !writeStatus: {status: 'Disabling Bluetooth', option: 'disable-bluetooth'} - - !cmd: - command: '"AtlasDesktop\3. General Configuration\Bluetooth\Disable Bluetooth.cmd" /silent' - option: 'disable-bluetooth' - exeDir: true - wait: true - !writeStatus: {status: 'Disabling File Sharing'} - !powerShell: command: '.\AtlasModules\Scripts\ScriptWrappers\DisableFileSharing.ps1 -Silent' @@ -69,7 +57,7 @@ actions: - !writeStatus: {status: 'Configuring drivers'} - # NetBios support can be enabled with the file sharing script - !service: {name: 'GpuEnergyDrv', operation: change, startup: 4} + # NetBios support can be enabled with the file sharing script - !service: {name: 'NetBT', operation: change, startup: 4} - !service: {name: 'Telemetry', operation: change, startup: 4} From a959122021d4446544fd5a5c3d14c919ea116b54 Mon Sep 17 00:00:00 2001 From: he3als <65787561+he3als@users.noreply.github.com> Date: Sat, 1 Jun 2024 20:22:55 +0100 Subject: [PATCH 3/3] fix: add bottom line to page --- src/playbook/playbook.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/src/playbook/playbook.conf b/src/playbook/playbook.conf index 9f60268b75..3ecd6dfbd1 100644 --- a/src/playbook/playbook.conf +++ b/src/playbook/playbook.conf @@ -89,6 +89,7 @@ Atlas makes your computer snappier and more private with lots of usability impro disable-core-isolation +