From ef9efab2a0d0931d1fd2e087769b3c4437b84527 Mon Sep 17 00:00:00 2001
From: he3als <65787561+he3als@users.noreply.github.com>
Date: Fri, 14 Jun 2024 09:47:48 +0100
Subject: [PATCH] feat: init AME Wizard v0.7.5 support
commit 9a6a9626a15d2ccb0b318ad6ab80c7c2bee198d0
Merge: 73c71a32 47526d90
Author: he3als <65787561+he3als@users.noreply.github.com>
Date: Fri Jun 14 07:20:49 2024 +0100
Merge branch 'main' into new-ame-wizard
commit 73c71a32593ae7356fa09a8270e6cd518b51bc61
Merge: 7c140441 7d655090
Author: he3als <65787561+he3als@users.noreply.github.com>
Date: Thu Jun 13 20:17:43 2024 +0100
Merge branch 'main' into new-ame-wizard
commit 7c1404413d60a3dccac5f8daff92a5c19b47d06c
Author: he3als <65787561+he3als@users.noreply.github.com>
Date: Thu Jun 13 18:40:31 2024 +0100
feat: switch to !task action
commit c1580a194c82886986be86d9a34f6f1ff75bf815
Merge: 4af04411 cfb2416a
Author: he3als <65787561+he3als@users.noreply.github.com>
Date: Thu Jun 13 17:33:12 2024 +0100
Merge branch 'main' into new-ame-wizard
commit 4af044112213a1503f8ac90c2549dffced0dc37c
Author: he3als <65787561+he3als@users.noreply.github.com>
Date: Tue Jun 11 18:14:35 2024 +0100
fix(local-build): 'Action is taking a long time' fix
commit fe8f43725d055c3370e718fce36948700aa07883
Author: he3als <65787561+he3als@users.noreply.github.com>
Date: Tue Jun 11 18:14:12 2024 +0100
fix(UPGRADECHECK): swap comparison
commit f6204d6f8b3a9e8a194b31659acd0af3217f67de
Author: he3als <65787561+he3als@users.noreply.github.com>
Date: Tue Jun 11 17:52:02 2024 +0100
feat(playbook.conf): UniqueId
commit f23953d0575599303dda18424cce321662c06e5b
Author: he3als <65787561+he3als@users.noreply.github.com>
Date: Mon Jun 10 21:34:04 2024 +0100
fix(local-build): more fixes for live log
commit c736307202989cf5ed52097a305486b4d1c278a5
Author: he3als <65787561+he3als@users.noreply.github.com>
Date: Mon Jun 10 17:52:29 2024 +0100
feat(local-build): new logs path
---
.vscode/settings.json | 3 +-
src/local-build.ps1 | 10 +-
src/playbook/Configuration/custom.yml | 23 +-
src/playbook/Configuration/tweaks.yml | 364 +++++++++---------
.../tweaks/statuses/status-cleanup.yml | 5 -
.../tweaks/statuses/status-debloat.yml | 5 -
.../tweaks/statuses/status-misc.yml | 5 -
.../tweaks/statuses/status-networking.yml | 5 -
.../tweaks/statuses/status-performance.yml | 5 -
.../tweaks/statuses/status-privacy.yml | 5 -
.../tweaks/statuses/status-qol.yml | 5 -
.../tweaks/statuses/status-scripts.yml | 5 -
.../tweaks/statuses/status-security.yml | 5 -
src/playbook/Executables/UPGRADECHECK.ps1 | 4 +-
src/playbook/playbook.conf | 1 +
15 files changed, 206 insertions(+), 244 deletions(-)
delete mode 100644 src/playbook/Configuration/tweaks/statuses/status-cleanup.yml
delete mode 100644 src/playbook/Configuration/tweaks/statuses/status-debloat.yml
delete mode 100644 src/playbook/Configuration/tweaks/statuses/status-misc.yml
delete mode 100644 src/playbook/Configuration/tweaks/statuses/status-networking.yml
delete mode 100644 src/playbook/Configuration/tweaks/statuses/status-performance.yml
delete mode 100644 src/playbook/Configuration/tweaks/statuses/status-privacy.yml
delete mode 100644 src/playbook/Configuration/tweaks/statuses/status-qol.yml
delete mode 100644 src/playbook/Configuration/tweaks/statuses/status-scripts.yml
delete mode 100644 src/playbook/Configuration/tweaks/statuses/status-security.yml
diff --git a/.vscode/settings.json b/.vscode/settings.json
index b3cbe8ef91..7e9115e417 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -11,7 +11,8 @@
"!systemPackage: mapping",
"!cmd: mapping",
"!powerShell: mapping",
- "!writeStatus: mapping"
+ "!writeStatus: mapping",
+ "!task: mapping"
],
"files.associations": {
"playbook.conf": "xml"
diff --git a/src/local-build.ps1 b/src/local-build.ps1
index 83c805711d..39e5ed7a17 100644
--- a/src/local-build.ps1
+++ b/src/local-build.ps1
@@ -81,9 +81,17 @@ try {
Copy-Item -Path $customYmlPath -Destination $tempCustomYmlPath -Force
$customYml = Get-Content -Path $tempCustomYmlPath
+ $liveLogScript = {
+$a = Join-Path (Get-ChildItem (Join-Path $([Environment]::GetFolderPath('CommonApplicationData')) '\AME\Logs') -Directory |
+Sort-Object LastWriteTime -Descending |
+Select-Object -First 1).FullName '\OutputBuffer.txt';
+while ($true) { Get-Content -Wait -LiteralPath $a -EA 0 | Write-Output; Start-Sleep 1 }
+}
+ [string]$liveLogText = ($liveLogScript -replace '"','"""' -replace "'","''").Trim() -replace "`r?`n", " "
+
$actionsIndex = $customYml.IndexOf('actions:')
$newCustomYml = $customYml[0..$actionsIndex] + `
- " - !cmd: {command: 'start `"AME Wizard Live Log`" PowerShell -NoP -C `"gc -Wait ..\..\..\Logs\TIOutput.txt -EA 0 | Write-Output; pause`"', exeDir: true}" + `
+ " - !cmd: {command: 'start `"AME Wizard Live Log`" PowerShell -NoP -C `"$liveLogText`"'}" + `
$customYml[($actionsIndex + 1)..($customYml.Count)]
Set-Content -Path $tempCustomYmlPath -Value $newCustomYml
diff --git a/src/playbook/Configuration/custom.yml b/src/playbook/Configuration/custom.yml
index d8100d26d0..0d7203e0b9 100644
--- a/src/playbook/Configuration/custom.yml
+++ b/src/playbook/Configuration/custom.yml
@@ -51,25 +51,24 @@ actions:
powercfg /x hibernate-timeout-ac 0;
powercfg /x hibernate-timeout-dc 0;
- - !writeStatus: {status: 'Optimizing PowerShell'}
-tasks:
# Configure PowerShell first so that other PowerShell scripts work
# NGEN - .NET assemblies PowerShell optimization
- - tweaks\scripts\script-ngen.yml
- - tweaks\qol\config-powershell.yml
+ - !writeStatus: {status: 'Optimizing PowerShell'}
+ - !task: {path: 'tweaks\scripts\script-ngen.yml'}
+ - !task: {path: 'tweaks\qol\config-powershell.yml'}
# Cleanup script takes longer to finish so it has its own status
# It's ran here as you can't check when cleanmgr is finished
- - tweaks\statuses\status-cleanup.yml
- - tweaks\scripts\script-cleanup.yml
+ - !writeStatus: {status: 'Cleaning up'}
+ - !task: {path: 'tweaks\scripts\script-cleanup.yml'}
# Set hidden Settings pages
# Done before everything else as scripts will overwrite it
- - tweaks\qol\set-hidden-settings-pages.yml
+ - !task: {path: 'tweaks\qol\set-hidden-settings-pages.yml'}
# Main tasks
- - atlas\start.yml
- - atlas\services.yml
- - atlas\components.yml
- - atlas\appx.yml
- - tweaks.yml
+ - !task: {path: 'atlas\start.yml'}
+ - !task: {path: 'atlas\services.yml'}
+ - !task: {path: 'atlas\components.yml'}
+ - !task: {path: 'atlas\appx.yml'}
+ - !task: {path: 'tweaks.yml'}
diff --git a/src/playbook/Configuration/tweaks.yml b/src/playbook/Configuration/tweaks.yml
index bb2bbf1708..0afbe04eed 100644
--- a/src/playbook/Configuration/tweaks.yml
+++ b/src/playbook/Configuration/tweaks.yml
@@ -1,8 +1,7 @@
---
title: Tweaks Root Playbook File
description: Runs all of the Atlas playbook tweaks
-actions: []
-tasks:
+actions:
# ------------------------- NOTES ------------------------- #
# - Each root folder has its own AME Wizard status
@@ -24,16 +23,16 @@ tasks:
# Tweaks for modifying network settings, which can lead
# to improving network performance, security, etc.
# -----------------------------------------------------
- - tweaks\statuses\status-networking.yml
- - tweaks\networking\disable-llmnr.yml
- - tweaks\networking\atlas-network-settings.yml
+ - !writeStatus: {status: 'Running networking tweaks'}
+ - !task: {path: 'tweaks\networking\disable-llmnr.yml'}
+ - !task: {path: 'tweaks\networking\atlas-network-settings.yml'}
# -------------------------------------------------------------------------- #
# networking\shares #
# -------------------------------------------------------------------------- #
- - tweaks\networking\shares\restrict-anonymous-access.yml
- - tweaks\networking\shares\restrict-anonymous-enumeration.yml
- - tweaks\networking\shares\disable-smb-bandwidth-throttling.yml
+ - !task: {path: 'tweaks\networking\shares\restrict-anonymous-access.yml'}
+ - !task: {path: 'tweaks\networking\shares\restrict-anonymous-enumeration.yml'}
+ - !task: {path: 'tweaks\networking\shares\disable-smb-bandwidth-throttling.yml'}
@@ -45,25 +44,25 @@ tasks:
# Tweaks for improving the performance of Windows, such as
# responsiveness, latency, etc.
# -----------------------------------------------------
- - tweaks\statuses\status-performance.yml
- - tweaks\performance\config-mmcss.yml
- - tweaks\performance\disable-auto-folder-discovery.yml
- # - tweaks\performance\disable-game-bar.yml
- - tweaks\performance\config-automatic-maintenance.yml
- - tweaks\performance\disable-background-apps.yml
- - tweaks\performance\disable-fth.yml
- - tweaks\performance\disable-sleep-study.yml
+ - !writeStatus: {status: 'Running performance tweaks'}
+ - !task: {path: 'tweaks\performance\config-mmcss.yml'}
+ - !task: {path: 'tweaks\performance\disable-auto-folder-discovery.yml'}
+ # - !task: {path: 'tweaks\performance\disable-game-bar.yml'}
+ - !task: {path: 'tweaks\performance\config-automatic-maintenance.yml'}
+ - !task: {path: 'tweaks\performance\disable-background-apps.yml'}
+ - !task: {path: 'tweaks\performance\disable-fth.yml'}
+ - !task: {path: 'tweaks\performance\disable-sleep-study.yml'}
# -------------------------------------------------------------------------- #
# performance\system #
# -------------------------------------------------------------------------- #
- - tweaks\performance\system\config-boot-config.yml
+ - !task: {path: 'tweaks\performance\system\config-boot-config.yml'}
# Disabled as there's no evidence it helps (likely placebo)
- # - tweaks\performance\system\disable-paging.yml
- - tweaks\performance\system\optimize-ntfs.yml
- - tweaks\performance\system\disable-service-host-split.yml
- - tweaks\performance\system\win32-priority-seperation.yml
+ # - !task: {path: 'tweaks\performance\system\disable-paging.yml'}
+ - !task: {path: 'tweaks\performance\system\optimize-ntfs.yml'}
+ - !task: {path: 'tweaks\performance\system\disable-service-host-split.yml'}
+ - !task: {path: 'tweaks\performance\system\win32-priority-seperation.yml'}
@@ -78,52 +77,52 @@ tasks:
# Also includes disabling features that are commonly
# related to impacting privacy, like advertising.
# -----------------------------------------------------
- - tweaks\statuses\status-privacy.yml
- - tweaks\privacy\config-app-permissions.yml
- - tweaks\privacy\config-windows-media-player.yml
- - tweaks\privacy\disable-activity-feed.yml
- - tweaks\privacy\disable-app-launch-tracking.yml
- - tweaks\privacy\disable-experimentation.yml
- - tweaks\privacy\disable-location-tracking.yml
- - tweaks\privacy\disable-lockscreen-camera.yml
- - tweaks\privacy\disable-online-speech-recognition.yml
- - tweaks\privacy\disable-pca.yml
- - tweaks\privacy\disable-perf-track.yml
- - tweaks\privacy\disable-privacy-experience.yml
- - tweaks\privacy\disable-device-monitoring.yml
- - tweaks\privacy\disable-rsop-logging.yml
- - tweaks\privacy\disable-speech-auto-updates.yml
- - tweaks\privacy\disable-tailored-experiences.yml
- - tweaks\privacy\disable-user-tracking.yml
- - tweaks\privacy\disable-web-lang-list-access.yml
- - tweaks\privacy\disable-win-error-reporting.yml
- - tweaks\privacy\disallow-ms-accounts.yml
- - tweaks\privacy\disallow-user-activity-upload.yml
- - tweaks\privacy\search-settings.yml
+ - !writeStatus: {status: 'Running privacy tweaks'}
+ - !task: {path: 'tweaks\privacy\config-app-permissions.yml'}
+ - !task: {path: 'tweaks\privacy\config-windows-media-player.yml'}
+ - !task: {path: 'tweaks\privacy\disable-activity-feed.yml'}
+ - !task: {path: 'tweaks\privacy\disable-app-launch-tracking.yml'}
+ - !task: {path: 'tweaks\privacy\disable-experimentation.yml'}
+ - !task: {path: 'tweaks\privacy\disable-location-tracking.yml'}
+ - !task: {path: 'tweaks\privacy\disable-lockscreen-camera.yml'}
+ - !task: {path: 'tweaks\privacy\disable-online-speech-recognition.yml'}
+ - !task: {path: 'tweaks\privacy\disable-pca.yml'}
+ - !task: {path: 'tweaks\privacy\disable-perf-track.yml'}
+ - !task: {path: 'tweaks\privacy\disable-privacy-experience.yml'}
+ - !task: {path: 'tweaks\privacy\disable-device-monitoring.yml'}
+ - !task: {path: 'tweaks\privacy\disable-rsop-logging.yml'}
+ - !task: {path: 'tweaks\privacy\disable-speech-auto-updates.yml'}
+ - !task: {path: 'tweaks\privacy\disable-tailored-experiences.yml'}
+ - !task: {path: 'tweaks\privacy\disable-user-tracking.yml'}
+ - !task: {path: 'tweaks\privacy\disable-web-lang-list-access.yml'}
+ - !task: {path: 'tweaks\privacy\disable-win-error-reporting.yml'}
+ - !task: {path: 'tweaks\privacy\disallow-ms-accounts.yml'}
+ - !task: {path: 'tweaks\privacy\disallow-user-activity-upload.yml'}
+ - !task: {path: 'tweaks\privacy\search-settings.yml'}
# -------------------------------------------------------------------------- #
# privacy\advertising #
# -------------------------------------------------------------------------- #
- - tweaks\privacy\advertising\disable-advertising-info.yml
- - tweaks\privacy\advertising\disable-bluetooth-advertising.yml
- - tweaks\privacy\advertising\disable-sync-provider-notifs.yml
+ - !task: {path: 'tweaks\privacy\advertising\disable-advertising-info.yml'}
+ - !task: {path: 'tweaks\privacy\advertising\disable-bluetooth-advertising.yml'}
+ - !task: {path: 'tweaks\privacy\advertising\disable-sync-provider-notifs.yml'}
# -------------------------------------------------------------------------- #
# privacy\cloud #
# -------------------------------------------------------------------------- #
- - tweaks\privacy\cloud\disable-setting-sync.yml
- - tweaks\privacy\cloud\disable-suggest-ways-to-finish-setup.yml
- - tweaks\privacy\cloud\disallow-message-cloud-sync.yml
+ - !task: {path: 'tweaks\privacy\cloud\disable-setting-sync.yml'}
+ - !task: {path: 'tweaks\privacy\cloud\disable-suggest-ways-to-finish-setup.yml'}
+ - !task: {path: 'tweaks\privacy\cloud\disallow-message-cloud-sync.yml'}
# -------------------------------------------------------------------------- #
# privacy\telemetry #
# -------------------------------------------------------------------------- #
- - tweaks\privacy\telemetry\disable-activation-telemetry.yml
- - tweaks\privacy\telemetry\disable-ceip.yml
- - tweaks\privacy\telemetry\disable-diagnostic-tracing.yml
- - tweaks\privacy\telemetry\disable-dotnet-cli-telemetry.yml
- - tweaks\privacy\telemetry\disable-input-telemetry.yml
- - tweaks\privacy\telemetry\disallow-data-collection.yml
+ - !task: {path: 'tweaks\privacy\telemetry\disable-activation-telemetry.yml'}
+ - !task: {path: 'tweaks\privacy\telemetry\disable-ceip.yml'}
+ - !task: {path: 'tweaks\privacy\telemetry\disable-diagnostic-tracing.yml'}
+ - !task: {path: 'tweaks\privacy\telemetry\disable-dotnet-cli-telemetry.yml'}
+ - !task: {path: 'tweaks\privacy\telemetry\disable-input-telemetry.yml'}
+ - !task: {path: 'tweaks\privacy\telemetry\disallow-data-collection.yml'}
@@ -139,150 +138,149 @@ tasks:
# QoL tweaks can be anything, but they are mostly to do
# with modifying the graphical user interface (GUI).
# -----------------------------------------------------
- - tweaks\statuses\status-qol.yml
- - tweaks\qol\best-wallpaper-quality.yml
- - tweaks\qol\config-start-menu.yml
- - tweaks\qol\config-windows-ink-workspace.yml
- - tweaks\qol\disable-background-auto-login.yml
- - tweaks\qol\disable-mouse-accel.yml
- - tweaks\qol\disable-settings-tips.yml
- - tweaks\qol\disable-spell-checking.yml
- - tweaks\qol\disable-store-auto-updates.yml
- - tweaks\qol\disable-touch-keyboard-features.yml
- - tweaks\qol\disable-touch-visual-feedback.yml
- - tweaks\qol\disable-usb-issues-notifications.yml
- - tweaks\qol\disable-windows-feedback.yml
- - tweaks\qol\disable-windows-spotlight.yml
- - tweaks\qol\do-not-reduce-sounds.yml
- - tweaks\qol\hide-disabled-disconnected-sounds.yml
- - tweaks\qol\show-all-tasks-control-panel.yml
- - tweaks\qol\visual-effects.yml
- - tweaks\qol\disable-tips.yml
- - tweaks\qol\disable-win11-settings-banner.yml
+ - !writeStatus: {status: 'Running QoL tweaks'}
+ - !task: {path: 'tweaks\qol\best-wallpaper-quality.yml'}
+ - !task: {path: 'tweaks\qol\config-start-menu.yml'}
+ - !task: {path: 'tweaks\qol\config-windows-ink-workspace.yml'}
+ - !task: {path: 'tweaks\qol\disable-background-auto-login.yml'}
+ - !task: {path: 'tweaks\qol\disable-mouse-accel.yml'}
+ - !task: {path: 'tweaks\qol\disable-settings-tips.yml'}
+ - !task: {path: 'tweaks\qol\disable-spell-checking.yml'}
+ - !task: {path: 'tweaks\qol\disable-store-auto-updates.yml'}
+ - !task: {path: 'tweaks\qol\disable-touch-keyboard-features.yml'}
+ - !task: {path: 'tweaks\qol\disable-touch-visual-feedback.yml'}
+ - !task: {path: 'tweaks\qol\disable-usb-issues-notifications.yml'}
+ - !task: {path: 'tweaks\qol\disable-windows-feedback.yml'}
+ - !task: {path: 'tweaks\qol\disable-windows-spotlight.yml'}
+ - !task: {path: 'tweaks\qol\do-not-reduce-sounds.yml'}
+ - !task: {path: 'tweaks\qol\hide-disabled-disconnected-sounds.yml'}
+ - !task: {path: 'tweaks\qol\show-all-tasks-control-panel.yml'}
+ - !task: {path: 'tweaks\qol\visual-effects.yml'}
+ - !task: {path: 'tweaks\qol\disable-tips.yml'}
+ - !task: {path: 'tweaks\qol\disable-win11-settings-banner.yml'}
# -------------------------------------------------------------------------- #
# qol\appearance #
# -------------------------------------------------------------------------- #
- - tweaks\qol\appearance\blue-tooltips.yml
- - tweaks\qol\appearance\atlas-theme.yml
- - tweaks\qol\appearance\disallow-theme-changes.yml
+ - !task: {path: 'tweaks\qol\appearance\blue-tooltips.yml'}
+ - !task: {path: 'tweaks\qol\appearance\atlas-theme.yml'}
+ - !task: {path: 'tweaks\qol\appearance\disallow-theme-changes.yml'}
# -------------------------------------------------------------------------- #
# qol\windows-update #
# -------------------------------------------------------------------------- #
- - tweaks\qol\windows-update\disable-nagging.yml
- - tweaks\qol\windows-update\disable-insider.yml
- - tweaks\qol\windows-update\disable-msrt-telemetry.yml
- - tweaks\qol\windows-update\disable-feature-updates.yml
- - tweaks\qol\windows-update\disable-auto-updates.yml
- - tweaks\qol\windows-update\disable-auto-reboot.yml
- - tweaks\qol\windows-update\disable-delivery-optimization.yml
+ - !task: {path: 'tweaks\qol\windows-update\disable-nagging.yml'}
+ - !task: {path: 'tweaks\qol\windows-update\disable-insider.yml'}
+ - !task: {path: 'tweaks\qol\windows-update\disable-msrt-telemetry.yml'}
+ - !task: {path: 'tweaks\qol\windows-update\disable-feature-updates.yml'}
+ - !task: {path: 'tweaks\qol\windows-update\disable-auto-updates.yml'}
+ - !task: {path: 'tweaks\qol\windows-update\disable-auto-reboot.yml'}
+ - !task: {path: 'tweaks\qol\windows-update\disable-delivery-optimization.yml'}
# -------------------------------------------------------------------------- #
# qol\ease-of-access #
# -------------------------------------------------------------------------- #
- - tweaks\qol\ease-of-access\disable-always-read-section.yml
- - tweaks\qol\ease-of-access\disable-annoying-features-shortcuts.yml
- - tweaks\qol\ease-of-access\disable-making-touch-easier.yml
- - tweaks\qol\ease-of-access\disable-warning-sounds.yml
+ - !task: {path: 'tweaks\qol\ease-of-access\disable-always-read-section.yml'}
+ - !task: {path: 'tweaks\qol\ease-of-access\disable-annoying-features-shortcuts.yml'}
+ - !task: {path: 'tweaks\qol\ease-of-access\disable-making-touch-easier.yml'}
+ - !task: {path: 'tweaks\qol\ease-of-access\disable-warning-sounds.yml'}
# -------------------------------------------------------------------------- #
# qol\explorer #
# -------------------------------------------------------------------------- #
- - tweaks\qol\explorer\always-more-details-transfer.yml
- - tweaks\qol\explorer\disable-invalid-shortcuts-search.yml
- - tweaks\qol\explorer\disable-check-boxes.yml
- - tweaks\qol\explorer\disable-folders-this-pc.yml
- - tweaks\qol\explorer\disable-network-navigation-pane.yml
- - tweaks\qol\explorer\disable-sharing-wizard.yml
- - tweaks\qol\explorer\full-context-on-more-than-15-items.yml
- - tweaks\qol\explorer\hide-frequently-used-items.yml
- - tweaks\qol\explorer\import-power-plan.yml
- - tweaks\qol\explorer\extend-cache.yml
- - tweaks\qol\explorer\minimize-mouse-hover-time.yml
- - tweaks\qol\explorer\no-internet-open-with.yml
- - tweaks\qol\explorer\open-to-this-pc.yml
- - tweaks\qol\explorer\removable-drives-only-this-pc.yml
- - tweaks\qol\explorer\remove-previous-versions.yml
- - tweaks\qol\explorer\remove-shortcut-text.yml
- - tweaks\qol\explorer\show-files.yml
- - tweaks\qol\explorer\classic-search.yml
- - tweaks\qol\explorer\dont-show-office-files.yml
- - tweaks\qol\explorer\use-compact-mode.yml
- - tweaks\qol\explorer\disable-gallery.yml
- - tweaks\qol\explorer\debloat-send-to.yml
+ - !task: {path: 'tweaks\qol\explorer\always-more-details-transfer.yml'}
+ - !task: {path: 'tweaks\qol\explorer\disable-invalid-shortcuts-search.yml'}
+ - !task: {path: 'tweaks\qol\explorer\disable-check-boxes.yml'}
+ - !task: {path: 'tweaks\qol\explorer\disable-folders-this-pc.yml'}
+ - !task: {path: 'tweaks\qol\explorer\disable-network-navigation-pane.yml'}
+ - !task: {path: 'tweaks\qol\explorer\disable-sharing-wizard.yml'}
+ - !task: {path: 'tweaks\qol\explorer\full-context-on-more-than-15-items.yml'}
+ - !task: {path: 'tweaks\qol\explorer\hide-frequently-used-items.yml'}
+ - !task: {path: 'tweaks\qol\explorer\import-power-plan.yml'}
+ - !task: {path: 'tweaks\qol\explorer\extend-cache.yml'}
+ - !task: {path: 'tweaks\qol\explorer\minimize-mouse-hover-time.yml'}
+ - !task: {path: 'tweaks\qol\explorer\no-internet-open-with.yml'}
+ - !task: {path: 'tweaks\qol\explorer\open-to-this-pc.yml'}
+ - !task: {path: 'tweaks\qol\explorer\removable-drives-only-this-pc.yml'}
+ - !task: {path: 'tweaks\qol\explorer\remove-previous-versions.yml'}
+ - !task: {path: 'tweaks\qol\explorer\remove-shortcut-text.yml'}
+ - !task: {path: 'tweaks\qol\explorer\show-files.yml'}
+ - !task: {path: 'tweaks\qol\explorer\classic-search.yml'}
+ - !task: {path: 'tweaks\qol\explorer\dont-show-office-files.yml'}
+ - !task: {path: 'tweaks\qol\explorer\use-compact-mode.yml'}
+ - !task: {path: 'tweaks\qol\explorer\disable-gallery.yml'}
+ - !task: {path: 'tweaks\qol\explorer\debloat-send-to.yml'}
# -------------------------------------------------------------------------- #
# qol\explorer\add-context-menus #
# -------------------------------------------------------------------------- #
- - tweaks\qol\explorer\add-context-menus\merge-as-trustedinstaller.yml
- - tweaks\qol\explorer\add-context-menus\new-bat.yml
- - tweaks\qol\explorer\add-context-menus\new-ps1.yml
- - tweaks\qol\explorer\add-context-menus\new-reg.yml
+ - !task: {path: 'tweaks\qol\explorer\add-context-menus\merge-as-trustedinstaller.yml'}
+ - !task: {path: 'tweaks\qol\explorer\add-context-menus\new-bat.yml'}
+ - !task: {path: 'tweaks\qol\explorer\add-context-menus\new-ps1.yml'}
+ - !task: {path: 'tweaks\qol\explorer\add-context-menus\new-reg.yml'}
# -------------------------------------------------------------------------- #
# qol\explorer\remove-context-menus #
# -------------------------------------------------------------------------- #
- - tweaks\qol\explorer\remove-context-menus\cast-to-device.yml
- - tweaks\qol\explorer\remove-context-menus\extract-all.yml
- - tweaks\qol\explorer\remove-context-menus\give-access-to.yml
- - tweaks\qol\explorer\remove-context-menus\include-in-library.yml
- - tweaks\qol\explorer\remove-context-menus\new-bitmap.yml
- - tweaks\qol\explorer\remove-context-menus\new-rtf.yml
- - tweaks\qol\explorer\remove-context-menus\paint-3D.yml
- - tweaks\qol\explorer\remove-context-menus\share.yml
- - tweaks\qol\explorer\remove-context-menus\troubleshooting-compat.yml
- - tweaks\qol\explorer\remove-context-menus\printing.yml
+ - !task: {path: 'tweaks\qol\explorer\remove-context-menus\cast-to-device.yml'}
+ - !task: {path: 'tweaks\qol\explorer\remove-context-menus\extract-all.yml'}
+ - !task: {path: 'tweaks\qol\explorer\remove-context-menus\give-access-to.yml'}
+ - !task: {path: 'tweaks\qol\explorer\remove-context-menus\include-in-library.yml'}
+ - !task: {path: 'tweaks\qol\explorer\remove-context-menus\new-bitmap.yml'}
+ - !task: {path: 'tweaks\qol\explorer\remove-context-menus\new-rtf.yml'}
+ - !task: {path: 'tweaks\qol\explorer\remove-context-menus\paint-3D.yml'}
+ - !task: {path: 'tweaks\qol\explorer\remove-context-menus\share.yml'}
+ - !task: {path: 'tweaks\qol\explorer\remove-context-menus\troubleshooting-compat.yml'}
+ - !task: {path: 'tweaks\qol\explorer\remove-context-menus\printing.yml'}
# -------------------------------------------------------------------------- #
# qol\security #
# -------------------------------------------------------------------------- #
- - tweaks\qol\security\disable-uac-secure-desktop.yml
+ - !task: {path: 'tweaks\qol\security\disable-uac-secure-desktop.yml'}
# -------------------------------------------------------------------------- #
# qol\shell #
# -------------------------------------------------------------------------- #
- - tweaks\qol\shell\alt-tab-open-windows.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
- - tweaks\qol\shell\disable-network-location-wizard.yml
- - tweaks\qol\shell\set-unpinned-notification-items.yml
- - tweaks\qol\shell\restore-old-context-menu.yml
- - tweaks\qol\shell\show-more-pins.yml
- - tweaks\qol\shell\no-recommendations-start-menu.yml
- - tweaks\qol\shell\disable-nearby-sharing.yml
+ - !task: {path: 'tweaks\qol\shell\alt-tab-open-windows.yml'}
+ - !task: {path: 'tweaks\qol\shell\disable-aero-shake.yml'}
+ - !task: {path: 'tweaks\qol\shell\disable-low-disk-warning.yml'}
+ - !task: {path: 'tweaks\qol\shell\disable-menu-delay.yml'}
+ - !task: {path: 'tweaks\qol\shell\disable-network-location-wizard.yml'}
+ - !task: {path: 'tweaks\qol\shell\set-unpinned-notification-items.yml'}
+ - !task: {path: 'tweaks\qol\shell\restore-old-context-menu.yml'}
+ - !task: {path: 'tweaks\qol\shell\show-more-pins.yml'}
+ - !task: {path: 'tweaks\qol\shell\no-recommendations-start-menu.yml'}
+ - !task: {path: 'tweaks\qol\shell\disable-nearby-sharing.yml'}
# -------------------------------------------------------------------------- #
# qol\startup-shutdown #
# -------------------------------------------------------------------------- #
- - tweaks\qol\startup-shutdown\decrease-shutdown-time.yml
- - tweaks\qol\startup-shutdown\disable-startup-delay.yml
- - tweaks\qol\startup-shutdown\force-end-shutdown-apps.yml
- - tweaks\qol\startup-shutdown\enable-verbose-messages.yml
+ - !task: {path: 'tweaks\qol\startup-shutdown\decrease-shutdown-time.yml'}
+ - !task: {path: 'tweaks\qol\startup-shutdown\disable-startup-delay.yml'}
+ - !task: {path: 'tweaks\qol\startup-shutdown\force-end-shutdown-apps.yml'}
+ - !task: {path: 'tweaks\qol\startup-shutdown\enable-verbose-messages.yml'}
# -------------------------------------------------------------------------- #
# qol\system #
# -------------------------------------------------------------------------- #
- - tweaks\qol\system\crash-control-qol.yml
- - tweaks\qol\system\disable-wpbt.yml
+ - !task: {path: 'tweaks\qol\system\crash-control-qol.yml'}
+ - !task: {path: 'tweaks\qol\system\disable-wpbt.yml'}
# -------------------------------------------------------------------------- #
# qol\taskbar #
# -------------------------------------------------------------------------- #
- - tweaks\qol\taskbar\cmd-win-x.yml
- - tweaks\qol\taskbar\disable-cloud-optimized-content.yml
- - tweaks\qol\taskbar\disable-desktop-peek.yml
- - tweaks\qol\taskbar\disable-news-and-interests.yml
- - tweaks\qol\taskbar\disable-tablet-mode.yml
- - tweaks\qol\taskbar\hide-meet-now.yml
- - tweaks\qol\taskbar\hide-task-view.yml
- - tweaks\qol\taskbar\config-pins.yml
- - tweaks\qol\taskbar\disable-copilot.yml
- - tweaks\qol\taskbar\disable-windows-chat.yml
- - tweaks\qol\taskbar\set-to-left.yml
- - tweaks\qol\taskbar\end-task.yml
+ - !task: {path: 'tweaks\qol\taskbar\cmd-win-x.yml'}
+ - !task: {path: 'tweaks\qol\taskbar\disable-cloud-optimized-content.yml'}
+ - !task: {path: 'tweaks\qol\taskbar\disable-desktop-peek.yml'}
+ - !task: {path: 'tweaks\qol\taskbar\disable-news-and-interests.yml'}
+ - !task: {path: 'tweaks\qol\taskbar\disable-tablet-mode.yml'}
+ - !task: {path: 'tweaks\qol\taskbar\hide-meet-now.yml'}
+ - !task: {path: 'tweaks\qol\taskbar\hide-task-view.yml'}
+ - !task: {path: 'tweaks\qol\taskbar\config-pins.yml'}
+ - !task: {path: 'tweaks\qol\taskbar\disable-copilot.yml'}
+ - !task: {path: 'tweaks\qol\taskbar\disable-windows-chat.yml'}
+ - !task: {path: 'tweaks\qol\taskbar\set-to-left.yml'}
+ - !task: {path: 'tweaks\qol\taskbar\end-task.yml'}
@@ -294,10 +292,10 @@ tasks:
# These tweaks aim to enhance Windows' security, upon
# its defaults.
# -----------------------------------------------------
- - tweaks\statuses\status-security.yml
- - tweaks\security\block-anonymous-enum-sam.yml
- - tweaks\security\delete-defaultuser0.yml
- - tweaks\security\disable-remote-assistance.yml
+ - !writeStatus: {status: 'Running security tweaks'}
+ - !task: {path: 'tweaks\security\block-anonymous-enum-sam.yml'}
+ - !task: {path: 'tweaks\security\delete-defaultuser0.yml'}
+ - !task: {path: 'tweaks\security\disable-remote-assistance.yml'}
@@ -309,12 +307,12 @@ tasks:
# Tweaks for debloating Windows, which could be for
# storage space or convienience.
# -----------------------------------------------------
- - tweaks\statuses\status-debloat.yml
- - tweaks\debloat\config-content-delivery.yml
- - tweaks\debloat\disable-reserved-storage.yml
- - tweaks\debloat\disable-scheduled-tasks.yml
- - tweaks\debloat\hide-unused-security-pages.yml
- - tweaks\debloat\config-storage-sense.yml
+ - !writeStatus: {status: 'Running debloating tweaks'}
+ - !task: {path: 'tweaks\debloat\config-content-delivery.yml'}
+ - !task: {path: 'tweaks\debloat\disable-reserved-storage.yml'}
+ - !task: {path: 'tweaks\debloat\disable-scheduled-tasks.yml'}
+ - !task: {path: 'tweaks\debloat\hide-unused-security-pages.yml'}
+ - !task: {path: 'tweaks\debloat\config-storage-sense.yml'}
@@ -326,14 +324,14 @@ tasks:
# These are playbook files that run external PowerShell
# or batch scripts for more advanced operations.
# -----------------------------------------------------
- - tweaks\statuses\status-scripts.yml
- - tweaks\scripts\script-file-associations.yml
- - tweaks\scripts\script-core-isolation.yml
- - tweaks\scripts\script-mitigations.yml
- - tweaks\scripts\script-devices.yml
- - tweaks\scripts\script-pfp.yml
- - tweaks\scripts\script-backup2.yml
- - tweaks\scripts\script-clientcbs.yml
+ - !writeStatus: {status: 'Running scripts'}
+ - !task: {path: 'tweaks\scripts\script-file-associations.yml'}
+ - !task: {path: 'tweaks\scripts\script-core-isolation.yml'}
+ - !task: {path: 'tweaks\scripts\script-mitigations.yml'}
+ - !task: {path: 'tweaks\scripts\script-devices.yml'}
+ - !task: {path: 'tweaks\scripts\script-pfp.yml'}
+ - !task: {path: 'tweaks\scripts\script-backup2.yml'}
+ - !task: {path: 'tweaks\scripts\script-clientcbs.yml'}
@@ -345,13 +343,13 @@ tasks:
# Miscellaneous tweaks which do not fit into other
# categories.
# -----------------------------------------------------
- - tweaks\statuses\status-misc.yml
- - tweaks\misc\config-time.yml
- - tweaks\misc\delete-windows-specific-files.yml
- - tweaks\misc\rebuild-perf-counters.yml
- - tweaks\misc\create-shortcuts.yml
- - tweaks\misc\add-music-videos-to-home.yml
- - tweaks\misc\add-newUsers-script.yml
- - tweaks\scripts\script-power.yml # Done last on purpose
- - tweaks\misc\enable-notifications.yml
- - tweaks\misc\config-oem-information.yml
+ - !writeStatus: {status: 'Running miscellaneous tweaks'}
+ - !task: {path: 'tweaks\misc\config-time.yml'}
+ - !task: {path: 'tweaks\misc\delete-windows-specific-files.yml'}
+ - !task: {path: 'tweaks\misc\rebuild-perf-counters.yml'}
+ - !task: {path: 'tweaks\misc\create-shortcuts.yml'}
+ - !task: {path: 'tweaks\misc\add-music-videos-to-home.yml'}
+ - !task: {path: 'tweaks\misc\add-newUsers-script.yml'}
+ - !task: {path: 'tweaks\scripts\script-power.yml'} # Done last on purpose
+ - !task: {path: 'tweaks\misc\enable-notifications.yml'}
+ - !task: {path: 'tweaks\misc\config-oem-information.yml'}
diff --git a/src/playbook/Configuration/tweaks/statuses/status-cleanup.yml b/src/playbook/Configuration/tweaks/statuses/status-cleanup.yml
deleted file mode 100644
index a592b98cb8..0000000000
--- a/src/playbook/Configuration/tweaks/statuses/status-cleanup.yml
+++ /dev/null
@@ -1,5 +0,0 @@
----
-title: Status in AME Wizard for cleaner script
-description: Displays a status in AME Wizard for a specified category
-actions:
- - !writeStatus: {status: 'Cleaning up'}
diff --git a/src/playbook/Configuration/tweaks/statuses/status-debloat.yml b/src/playbook/Configuration/tweaks/statuses/status-debloat.yml
deleted file mode 100644
index 00094f37da..0000000000
--- a/src/playbook/Configuration/tweaks/statuses/status-debloat.yml
+++ /dev/null
@@ -1,5 +0,0 @@
----
-title: Status in AME Wizard for the Debloating Category
-description: Displays a status in AME Wizard for a specified category
-actions:
- - !writeStatus: {status: 'Running debloating tweaks'}
diff --git a/src/playbook/Configuration/tweaks/statuses/status-misc.yml b/src/playbook/Configuration/tweaks/statuses/status-misc.yml
deleted file mode 100644
index faeaf6182b..0000000000
--- a/src/playbook/Configuration/tweaks/statuses/status-misc.yml
+++ /dev/null
@@ -1,5 +0,0 @@
----
-title: Status in AME Wizard for the Miscellaneous Category
-description: Displays a status in AME Wizard for a specified category
-actions:
- - !writeStatus: {status: 'Running miscellaneous tweaks'}
diff --git a/src/playbook/Configuration/tweaks/statuses/status-networking.yml b/src/playbook/Configuration/tweaks/statuses/status-networking.yml
deleted file mode 100644
index 9235f13279..0000000000
--- a/src/playbook/Configuration/tweaks/statuses/status-networking.yml
+++ /dev/null
@@ -1,5 +0,0 @@
----
-title: Status in AME Wizard for the Networking Category
-description: Displays a status in AME Wizard for a specified category
-actions:
- - !writeStatus: {status: 'Running networking tweaks'}
diff --git a/src/playbook/Configuration/tweaks/statuses/status-performance.yml b/src/playbook/Configuration/tweaks/statuses/status-performance.yml
deleted file mode 100644
index 86368cce72..0000000000
--- a/src/playbook/Configuration/tweaks/statuses/status-performance.yml
+++ /dev/null
@@ -1,5 +0,0 @@
----
-title: Status in AME Wizard for the Performance Category
-description: Displays a status in AME Wizard for a specified category
-actions:
- - !writeStatus: {status: 'Running performance tweaks'}
diff --git a/src/playbook/Configuration/tweaks/statuses/status-privacy.yml b/src/playbook/Configuration/tweaks/statuses/status-privacy.yml
deleted file mode 100644
index 83b213f446..0000000000
--- a/src/playbook/Configuration/tweaks/statuses/status-privacy.yml
+++ /dev/null
@@ -1,5 +0,0 @@
----
-title: Status in AME Wizard for the Privacy Category
-description: Displays a status in AME Wizard for a specified category
-actions:
- - !writeStatus: {status: 'Running privacy tweaks'}
diff --git a/src/playbook/Configuration/tweaks/statuses/status-qol.yml b/src/playbook/Configuration/tweaks/statuses/status-qol.yml
deleted file mode 100644
index 9255a26657..0000000000
--- a/src/playbook/Configuration/tweaks/statuses/status-qol.yml
+++ /dev/null
@@ -1,5 +0,0 @@
----
-title: Status in AME Wizard for the QoL Category
-description: Displays a status in AME Wizard for a specified category
-actions:
- - !writeStatus: {status: 'Running QoL tweaks'}
diff --git a/src/playbook/Configuration/tweaks/statuses/status-scripts.yml b/src/playbook/Configuration/tweaks/statuses/status-scripts.yml
deleted file mode 100644
index d648917fe6..0000000000
--- a/src/playbook/Configuration/tweaks/statuses/status-scripts.yml
+++ /dev/null
@@ -1,5 +0,0 @@
----
-title: Status in AME Wizard for the Scripts Category
-description: Displays a status in AME Wizard for a specified category
-actions:
- - !writeStatus: {status: 'Running scripts'}
diff --git a/src/playbook/Configuration/tweaks/statuses/status-security.yml b/src/playbook/Configuration/tweaks/statuses/status-security.yml
deleted file mode 100644
index 467b0d66f0..0000000000
--- a/src/playbook/Configuration/tweaks/statuses/status-security.yml
+++ /dev/null
@@ -1,5 +0,0 @@
----
-title: Status in AME Wizard for the Security Category
-description: Displays a status in AME Wizard for a specified category
-actions:
- - !writeStatus: {status: 'Running security tweaks'}
diff --git a/src/playbook/Executables/UPGRADECHECK.ps1 b/src/playbook/Executables/UPGRADECHECK.ps1
index 386462b0fd..8e02f95663 100644
--- a/src/playbook/Executables/UPGRADECHECK.ps1
+++ b/src/playbook/Executables/UPGRADECHECK.ps1
@@ -29,7 +29,7 @@ function KillAme {
exit 1
}
-$version = $version -replace '[^0-9]' -replace '^0+'
+$version = [int]($version -replace '[^0-9]' -replace '^0+')
# Check if Atlas is installed
$model = (Get-ItemProperty $oemInfo -Name "Model" -EA 0).Model
@@ -63,7 +63,7 @@ $guide
}
# Check if user is trying to downgrade
-if ($version -gt $installedVersion) {
+if ($installedVersion -gt $version) {
@"
You can't downgrade from your current version of Atlas to this older version.
diff --git a/src/playbook/playbook.conf b/src/playbook/playbook.conf
index 3ecd6dfbd1..283a45c8e2 100644
--- a/src/playbook/playbook.conf
+++ b/src/playbook/playbook.conf
@@ -24,6 +24,7 @@ Atlas makes your computer snappier and more private with lots of usability impro
NoPendingUpdates
PluggedIn
+ 00000000-0000-4000-6174-6c6173203a33
true
false
64