diff --git a/src/playbook/Configuration/atlas/appx.yml b/src/playbook/Configuration/atlas/appx.yml index 873e1db18a..6ecbc4b15f 100644 --- a/src/playbook/Configuration/atlas/appx.yml +++ b/src/playbook/Configuration/atlas/appx.yml @@ -35,6 +35,7 @@ actions: # Content Delivery Manager # Installs unwanted content such as apps like Disney+ and advertisements + # Removed at a component level as well - !appx: {name: '*Microsoft.Windows.ContentDeliveryManager*', type: family} # Dev Home @@ -61,16 +62,16 @@ actions: # Get Started - !appx: {name: '*Microsoft.Getstarted*', type: family} - - !appx: {name: '*WebExperienceHost*', type: app} + - !appx: {name: '*WebExperienceHost*', type: app, unregister: true} # Windows Backup - - !appx: {name: '*WindowsBackup*', type: app} + - !appx: {name: '*WindowsBackup*', type: app, unregister: true} # Advertisements/Telemetry - - !appx: {name: '*Global.Accounts*', type: app} - - !appx: {name: '*Global.BackupBanner*', type: app} - - !appx: {name: '*Global.IrisService*', type: app} - - !appx: {name: '*Global.ValueBanner*', type: app} + - !appx: {name: '*Global.Accounts*', type: app, unregister: true} + - !appx: {name: '*Global.BackupBanner*', type: app, unregister: true} + - !appx: {name: '*Global.IrisService*', type: app, unregister: true} + - !appx: {name: '*Global.ValueBanner*', type: app, unregister: true} - !run: exe: 'powershell.exe' diff --git a/src/playbook/Configuration/atlas/components.yml b/src/playbook/Configuration/atlas/components.yml index bed7ad421f..280bee5670 100644 --- a/src/playbook/Configuration/atlas/components.yml +++ b/src/playbook/Configuration/atlas/components.yml @@ -24,9 +24,10 @@ actions: # Microsoft Edge - !writeStatus: {status: 'Removing Microsoft Edge', option: 'uninstall-edge'} - !cmd: - command: 'NSudoLC.exe -U:E -UseCurrentConsole -Wait powershell.exe -NoP -EP Unrestricted -File "%windir%\AtlasDesktop\1. Software\Remove Edge.ps1" -UninstallEdge -KeepAppX -Exit' + command: 'powershell.exe -NoP -EP Unrestricted -File "%windir%\AtlasDesktop\1. Software\Remove Edge.ps1" -UninstallEdge -KeepAppX -Exit' wait: true exeDir: true + runas: currentUserElevated option: 'uninstall-edge' # AppX uninstallation in the script seems to fail with NSudo, therefore it's not used and AME Wizard is used instead - !appx: {name: '*Microsoft.MicrosoftEdge.Stable*', type: family, option: 'uninstall-edge'} diff --git a/src/playbook/Configuration/atlas/kill-kph.yml b/src/playbook/Configuration/atlas/kill-kph.yml deleted file mode 100644 index df33fe9d59..0000000000 --- a/src/playbook/Configuration/atlas/kill-kph.yml +++ /dev/null @@ -1,9 +0,0 @@ ---- -title: Kill & Disable KProcessHacker2 -description: Kills, removes and disables ProcessHacker using its kernel mode driver to prevent conflicts with Memory Integrity and the Microsoft Vulnerable Driver Blocklist -privilege: TrustedInstaller -actions: - - !run: - exe: 'powershell.exe' - args: '-NoP -Ex Unrestricted -File KILLKPH.ps1' - exeDir: true diff --git a/src/playbook/Configuration/atlas/services.yml b/src/playbook/Configuration/atlas/services.yml index 7d53975610..e3068738c3 100644 --- a/src/playbook/Configuration/atlas/services.yml +++ b/src/playbook/Configuration/atlas/services.yml @@ -38,6 +38,8 @@ actions: - !service: {name: 'WerSvc', operation: change, startup: 4} - !service: {name: 'wisvc', operation: change, startup: 4} - !service: {name: 'WSearch', operation: change, startup: 4} + - !service: {name: 'webthreatdefsvc', operation: change, startup: 4} + - !service: {name: 'webthreatdefusersvc', operation: change, startup: 4} # Set to manual from automatic # Might not be all too beneficial, as services starting and always being ready is probably ideal diff --git a/src/playbook/Configuration/atlas/start.yml b/src/playbook/Configuration/atlas/start.yml index 3c1df582bc..ff427a8d00 100644 --- a/src/playbook/Configuration/atlas/start.yml +++ b/src/playbook/Configuration/atlas/start.yml @@ -39,7 +39,7 @@ actions: - !writeStatus: {status: 'Configuring Optional Features'} # Disabled for security purposes - - !run: {exe: 'DISM.exe', args: '/Online /Disable-Feature /FeatureName:"Internet-Explorer-Optional-amd64" /NoRestart', weight: 30} + - !run: {exe: 'DISM.exe', args: '/Online /Disable-Feature /FeatureName:"Internet-Explorer-Optional-amd64" /NoRestart', weight: 30, builds: [ '!>=22000' ]} - !run: {exe: 'DISM.exe', args: '/Online /Disable-Feature /FeatureName:"MicrosoftWindowsPowerShellV2" /NoRestart', weight: 30} - !run: {exe: 'DISM.exe', args: '/Online /Disable-Feature /FeatureName:"MicrosoftWindowsPowerShellV2Root" /NoRestart', weight: 30} diff --git a/src/playbook/Configuration/custom.yml b/src/playbook/Configuration/custom.yml index b3f02027fa..265227d78c 100644 --- a/src/playbook/Configuration/custom.yml +++ b/src/playbook/Configuration/custom.yml @@ -4,8 +4,6 @@ description: Runs all of the playbook files privilege: TrustedInstaller actions: [] tasks: - # Remove KProcessHacker2 to prevent conflicts with the Microsoft Vulnerable Driver Blocklist and Memory Integrity - - atlas\kill-kph.yml # Configure PowerShell first so that other PowerShell scripts work - tweaks\qol\config-powershell.yml - atlas\start.yml diff --git a/src/playbook/Configuration/tweaks.yml b/src/playbook/Configuration/tweaks.yml index 055ae4b384..dab3a618e2 100644 --- a/src/playbook/Configuration/tweaks.yml +++ b/src/playbook/Configuration/tweaks.yml @@ -162,6 +162,7 @@ tasks: - tweaks\qol\visual-effects.yml - tweaks\qol\disable-tips.yml - tweaks\qol\disable-consumer-expierences.yml + - tweaks\qol\set-hidden-settings-pages.yml # -------------------------------------------------------------------------- # # qol\appearance # @@ -210,6 +211,9 @@ tasks: - tweaks\qol\explorer\show-files.yml - tweaks\qol\explorer\add-music-vids-to-home.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 # -------------------------------------------------------------------------- # # qol\explorer\add-context-menus # @@ -253,6 +257,10 @@ tasks: - tweaks\qol\shell\disable-network-location-wizard.yml - tweaks\qol\shell\disable-shared-experiences.yml - tweaks\qol\shell\legacy-alt-tab.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 # -------------------------------------------------------------------------- # # qol\startup-shutdown # @@ -279,6 +287,9 @@ tasks: - 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 # ----------------------------------------------------- # Security @@ -325,7 +336,6 @@ tasks: - tweaks\scripts\script-file-associations.yml - tweaks\scripts\script-core-isolation.yml - tweaks\scripts\script-mitigations.yml - - tweaks\scripts\script-win11.yml - tweaks\scripts\script-devices.yml - tweaks\scripts\script-pfp.yml - tweaks\scripts\script-power.yml @@ -350,4 +360,5 @@ tasks: - tweaks\misc\oem-information.yml - tweaks\misc\rebuild-perf-counters.yml - tweaks\misc\restore-default-sleep-timeout.yml - - tweaks\misc\make-shortcuts.yml \ No newline at end of file + - tweaks\misc\make-shortcuts.yml + - tweaks\misc\delete-version-specific-files.yml diff --git a/src/playbook/Configuration/tweaks/misc/config-boot-description.yml b/src/playbook/Configuration/tweaks/misc/config-boot-description.yml new file mode 100644 index 0000000000..1dbcb7dc74 --- /dev/null +++ b/src/playbook/Configuration/tweaks/misc/config-boot-description.yml @@ -0,0 +1,13 @@ +--- +title: Configure Boot Description +description: Configures the boot description that you see in the Windows Boot Manager to say Atlas +privilege: TrustedInstaller +actions: + - !run: + exe: 'bcdedit' + args: '/set description "AtlasOS 10"' + builds: [ '!>=22000' ] + - !run: + exe: 'bcdedit' + args: '/set description "AtlasOS 11"' + builds: [ '>=22000' ] diff --git a/src/playbook/Configuration/tweaks/misc/delete-version-specific-files.yml b/src/playbook/Configuration/tweaks/misc/delete-version-specific-files.yml new file mode 100644 index 0000000000..0cc8e986b2 --- /dev/null +++ b/src/playbook/Configuration/tweaks/misc/delete-version-specific-files.yml @@ -0,0 +1,15 @@ +--- +title: Delete Windows-version Specific Tweaks +description: Deletes Windows 10 or Windows 11-only tweaks in the Atlas folder, dependant on the Windows version +privilege: TrustedInstaller +actions: + # Delete Windows 11-only tweaks + - !file: {path: '%windir%\AtlasDesktop\3. Configuration\Background Apps', builds: [ '!>=22000' ]} + - !file: {path: '%windir%\AtlasDesktop\3. Configuration\Power\Timer Resolution', builds: [ '!>=22000' ]} + - !file: {path: '%windir%\AtlasDesktop\4. Optional Tweaks\File Explorer Customization\Compact View', builds: [ '!>=22000' ]} + - !file: {path: '%windir%\AtlasDesktop\4. Optional Tweaks\File Explorer Customization\Gallery', builds: [ '!>=22000' ]} + - !file: {path: '%windir%\AtlasDesktop\4. Optional Tweaks\Windows 11 Context Menu', builds: [ '!>=22000' ]} + - !file: {path: '%windir%\AtlasModules\Tools\TimerResolution.exe', builds: [ '!>=22000' ]} + + # Delete Windows 10-only tweaks + - !file: {path: '%windir%\AtlasDesktop\3. Configuration\4. Optional Tweaks\Volume Flyout', builds: [ '>=22000' ]} diff --git a/src/playbook/Configuration/tweaks/misc/restore-default-sleep-timeout.yml b/src/playbook/Configuration/tweaks/misc/restore-default-sleep-timeout.yml index 9641cbbff0..637b9201b4 100644 --- a/src/playbook/Configuration/tweaks/misc/restore-default-sleep-timeout.yml +++ b/src/playbook/Configuration/tweaks/misc/restore-default-sleep-timeout.yml @@ -2,6 +2,7 @@ title: Restore Default Sleep Timeout description: If the power saving option is disabled, this restores the default automatic sleep timeout privilege: TrustedInstaller +option: '!disable-power-saving' actions: - - !run: {exe: 'powercfg.exe', args: '/setacvalueindex scheme_current sub_sleep standbyidle 900', option: '!disable-power-saving'} - - !run: {exe: 'powercfg.exe', args: '/setdcvalueindex scheme_current sub_sleep standbyidle 600', option: '!disable-power-saving'} + - !run: {exe: 'powercfg.exe', args: '/setacvalueindex scheme_current sub_sleep standbyidle 900'} + - !run: {exe: 'powercfg.exe', args: '/setdcvalueindex scheme_current sub_sleep standbyidle 600'} diff --git a/src/playbook/Configuration/tweaks/performance/system/config-boot-config.yml b/src/playbook/Configuration/tweaks/performance/system/config-boot-config.yml index 6a57f880a1..5c8e659022 100644 --- a/src/playbook/Configuration/tweaks/performance/system/config-boot-config.yml +++ b/src/playbook/Configuration/tweaks/performance/system/config-boot-config.yml @@ -9,3 +9,13 @@ actions: # Use legacy boot menu - !run: {exe: 'bcdedit', args: '/set bootmenupolicy Legacy'} + + # Set boot manager descriptions + - !run: + exe: 'bcdedit' + args: '/set description "AtlasOS 10"' + builds: [ '!>=22000' ] + - !run: + exe: 'bcdedit' + args: '/set description "AtlasOS 11"' + builds: [ '>=22000' ] diff --git a/src/playbook/Configuration/tweaks/qol/appearance/atlas-theme.yml b/src/playbook/Configuration/tweaks/qol/appearance/atlas-theme.yml index 9935791af3..31e3e224bc 100644 --- a/src/playbook/Configuration/tweaks/qol/appearance/atlas-theme.yml +++ b/src/playbook/Configuration/tweaks/qol/appearance/atlas-theme.yml @@ -10,10 +10,11 @@ actions: wait: true # Apply theme to current user - - !run: - exe: 'NSudoLC.exe' - args: '-U:E -UseCurrentConsole -Wait cmd /c start "" "%windir%\Resources\Themes\atlas-dark.theme"' + - !cmd: + command: 'start "" "%windir%\Resources\Themes\atlas-dark.theme"' + wait: true exeDir: true + runas: currentUser - !cmd: {command: 'timeout /t 3 /nobreak', wait: true} - !taskKill: {name: 'SystemSettings'} diff --git a/src/playbook/Configuration/tweaks/qol/explorer/add-music-vids-to-home.yml b/src/playbook/Configuration/tweaks/qol/explorer/add-music-vids-to-home.yml index de34d3ff62..d72e3f4889 100644 --- a/src/playbook/Configuration/tweaks/qol/explorer/add-music-vids-to-home.yml +++ b/src/playbook/Configuration/tweaks/qol/explorer/add-music-vids-to-home.yml @@ -3,7 +3,9 @@ title: Add Music and Videos folders to Quick Access description: Adds the 'Music' and 'Videos' folders to Quick Access/Home as they're unpinned by default with recent files being disabled. Win11 fix is available in WIN11.cmd. privilege: TrustedInstaller actions: - - !run: - exe: 'NSudoLC.exe' - args: '-U:E -UseCurrentConsole -Wait powershell.exe -NoP -EP Unrestricted -C "$o = new-object -com shell.application; $o.Namespace("""$env:userprofile\Videos""").Self.InvokeVerb(''pintohome''); $o.Namespace("""$env:userprofile\Music""").Self.InvokeVerb(''pintohome'')"' + - !powerShell: + command: '$o = new-object -com shell.application; $o.Namespace("""$env:userprofile\Videos""").Self.InvokeVerb(''pintohome''); $o.Namespace("""$env:userprofile\Music""").Self.InvokeVerb(''pintohome'')"' + wait: true exeDir: true + runas: currentUserElevated + diff --git a/src/playbook/Configuration/tweaks/qol/explorer/disable-gallery.yml b/src/playbook/Configuration/tweaks/qol/explorer/disable-gallery.yml new file mode 100644 index 0000000000..b24bf57550 --- /dev/null +++ b/src/playbook/Configuration/tweaks/qol/explorer/disable-gallery.yml @@ -0,0 +1,11 @@ +--- +title: Hide Gallery in File Explorer +description: Hides the new 23H2 'Gallery' in File Explorer for viewing pictures +privilege: TrustedInstaller +builds: [ '>=22000' ] +actions: + - !registryValue: + path: 'HKCU\SOFTWARE\Classes\CLSID\{e88865ea-0e1c-4e20-9aa6-edcd0212c87c}' + value: 'System.IsPinnedToNameSpaceTree' + data: '0' + type: REG_DWORD diff --git a/src/playbook/Configuration/tweaks/qol/explorer/dont-show-office-files.yml b/src/playbook/Configuration/tweaks/qol/explorer/dont-show-office-files.yml new file mode 100644 index 0000000000..b858385fc4 --- /dev/null +++ b/src/playbook/Configuration/tweaks/qol/explorer/dont-show-office-files.yml @@ -0,0 +1,11 @@ +--- +title: Don't Show Office Files +description: Don't show Office files in Quick Access (Home) +privilege: TrustedInstaller +builds: [ '>=22000' ] +actions: + - !registryValue: + path: 'HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer' + value: 'ShowCloudFilesInQuickAccess' + data: '0' + type: REG_DWORD diff --git a/src/playbook/Configuration/tweaks/qol/explorer/remove-context-menus/new-bitmap.yml b/src/playbook/Configuration/tweaks/qol/explorer/remove-context-menus/new-bitmap.yml index 62378feee6..20cb06a3cc 100644 --- a/src/playbook/Configuration/tweaks/qol/explorer/remove-context-menus/new-bitmap.yml +++ b/src/playbook/Configuration/tweaks/qol/explorer/remove-context-menus/new-bitmap.yml @@ -4,3 +4,8 @@ description: Removes bitmap image from the 'New' context menu privilege: TrustedInstaller actions: - !registryKey: {path: 'HKCR\.bmp\ShellNew'} + - !run: + exe: 'powershell.exe' + args: '-NoP -File REMOVEBITMAP.ps1' + exeDir: true + wait: true diff --git a/src/playbook/Configuration/tweaks/qol/explorer/use-compact-mode.yml b/src/playbook/Configuration/tweaks/qol/explorer/use-compact-mode.yml new file mode 100644 index 0000000000..2f000e440d --- /dev/null +++ b/src/playbook/Configuration/tweaks/qol/explorer/use-compact-mode.yml @@ -0,0 +1,11 @@ +--- +title: Use Compact Mode +description: Sets compact mode in File Explorer +privilege: TrustedInstaller +builds: [ '>=22000' ] +actions: + - !registryValue: + path: 'HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced' + value: 'UseCompactMode' + data: '1' + type: REG_DWORD diff --git a/src/playbook/Configuration/tweaks/qol/set-hidden-settings-pages.yml b/src/playbook/Configuration/tweaks/qol/set-hidden-settings-pages.yml new file mode 100644 index 0000000000..28418ebed9 --- /dev/null +++ b/src/playbook/Configuration/tweaks/qol/set-hidden-settings-pages.yml @@ -0,0 +1,22 @@ +--- +title: Set Hidden Pages +description: Hides Settings pages that are either broken or unused +privilege: TrustedInstaller +actions: + # https://learn.microsoft.com/en-us/windows/uwp/launch-resume/launch-settings-app + + # Windows 10 + - !registryValue: + path: 'HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer' + value: 'SettingsPageVisibility' + data: 'hide:crossdevice;recovery;autoplay;usb;maps;maps-downloadmaps;findmydevice;privacy;privacy-speech;privacy-feedback;privacy-activityhistory;search-permissions;privacy-location;privacy-general;sync;printers;cortana-windowssearch;mobile-devices;mobile-devices-addphone;backup;' + type: REG_SZ + builds: [ '!>=22000' ] + + # Windows 11 + - !registryValue: + path: 'HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer' + value: 'SettingsPageVisibility' + data: 'hide:crossdevice;recovery;autoplay;usb;maps;maps-downloadmaps;findmydevice;privacy;privacy-speech;privacy-feedback;privacy-activityhistory;search-permissions;privacy-location;privacy-general;sync;printers;cortana-windowssearch;mobile-devices;mobile-devices-addphone;family-group;deviceusage;home;' + type: REG_SZ + builds: [ '>=22000' ] diff --git a/src/playbook/Configuration/tweaks/qol/shell/no-recommendations-start-menu.yml b/src/playbook/Configuration/tweaks/qol/shell/no-recommendations-start-menu.yml new file mode 100644 index 0000000000..1924a8c88d --- /dev/null +++ b/src/playbook/Configuration/tweaks/qol/shell/no-recommendations-start-menu.yml @@ -0,0 +1,16 @@ +--- +title: Disable Recommendations in the Start Menu +description: Do not show recommendations for tips, shortcuts, new apps, and more in the Start Menu +privilege: TrustedInstaller +builds: [ '>=22000' ] +actions: + - !registryValue: + path: 'HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced' + value: 'Start_IrisRecommendations' + data: '0' + type: REG_DWORD + - !registryValue: + path: 'HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced' + value: 'Start_AccountNotifications' + data: '0' + type: REG_DWORD diff --git a/src/playbook/Configuration/tweaks/qol/shell/restore-old-context-menu.yml b/src/playbook/Configuration/tweaks/qol/shell/restore-old-context-menu.yml new file mode 100644 index 0000000000..0441c89bb3 --- /dev/null +++ b/src/playbook/Configuration/tweaks/qol/shell/restore-old-context-menu.yml @@ -0,0 +1,11 @@ +--- +title: Restore Old Context Menu +description: Restores the old context menu in Windows 11 +privilege: TrustedInstaller +builds: [ '>=22000' ] +actions: + - !registryValue: + path: 'HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32' + value: '' + data: '' + type: REG_SZ diff --git a/src/playbook/Configuration/tweaks/qol/shell/set-unpinned-notification-items.yml b/src/playbook/Configuration/tweaks/qol/shell/set-unpinned-notification-items.yml new file mode 100644 index 0000000000..ec5b0084bb --- /dev/null +++ b/src/playbook/Configuration/tweaks/qol/shell/set-unpinned-notification-items.yml @@ -0,0 +1,50 @@ +--- +title: Disable Windows Chat +description: Disables Windows Chat as it's not commonly used +privilege: TrustedInstaller +actions: + # Windows 10 + - !registryValue: + path: 'HKCU\Control Panel\Quick Actions\Control Center\Unpinned' + value: 'Microsoft.QuickAction.Connect' + data: '' + type: REG_NONE + builds: [ '!>=22000' ] + - !registryValue: + path: 'HKCU\Control Panel\Quick Actions\Control Center\Unpinned' + value: 'Microsoft.QuickAction.Location' + data: '' + type: REG_NONE + builds: [ '!>=22000' ] + - !registryValue: + path: 'HKCU\Control Panel\Quick Actions\Control Center\Unpinned' + value: 'Microsoft.QuickAction.ScreenClipping' + data: '' + type: REG_NONE + builds: [ '!>=22000' ] + - !registryValue: + path: 'HKCU\Control Panel\Quick Actions\Control Center\QuickActionsStateCapture' + value: 'Toggles' + data: 'Toggles,Microsoft.QuickAction.BlueLightReduction:false,Microsoft.QuickAction.AllSettings:false,Microsoft.QuickAction.Project:false' + type: REG_SZ + builds: [ '!>=22000' ] + + # Windows 11 + - !registryValue: + path: 'HKCU\Control Panel\Quick Actions\Control Center\Unpinned' + value: 'Microsoft.QuickAction.Cast' + data: '' + type: REG_NONE + builds: [ '>=22000' ] + - !registryValue: + path: 'HKCU\Control Panel\Quick Actions\Control Center\Unpinned' + value: 'Microsoft.QuickAction.NearShare' + data: '' + type: REG_NONE + builds: [ '>=22000' ] + - !registryValue: + path: 'HKCU\Control Panel\Quick Actions\Control Center\QuickActionsStateCapture' + value: 'Toggles' + data: 'Toggles,Microsoft.QuickAction.BlueLightReduction:false,Microsoft.QuickAction.Accessibility:false,Microsoft.QuickAction.ProjectL2:false' + type: REG_SZ + builds: [ '>=22000' ] diff --git a/src/playbook/Configuration/tweaks/qol/shell/show-more-pins.yml b/src/playbook/Configuration/tweaks/qol/shell/show-more-pins.yml new file mode 100644 index 0000000000..9b8300b6b6 --- /dev/null +++ b/src/playbook/Configuration/tweaks/qol/shell/show-more-pins.yml @@ -0,0 +1,11 @@ +--- +title: Show More Pins in Start +description: Shows more pins in the Start Menu, meaning less recommendations +privilege: TrustedInstaller +builds: [ '>=22000' ] +actions: + - !registryValue: + path: 'HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced' + value: 'Start_Layout' + data: '1' + type: REG_DWORD diff --git a/src/playbook/Configuration/tweaks/qol/taskbar/disable-copilot.yml b/src/playbook/Configuration/tweaks/qol/taskbar/disable-copilot.yml new file mode 100644 index 0000000000..c3d86105a6 --- /dev/null +++ b/src/playbook/Configuration/tweaks/qol/taskbar/disable-copilot.yml @@ -0,0 +1,11 @@ +--- +title: Disable Windows Copilot +description: Disables Windows Copilot as it depends on Edge, as well it collecting data and it not being used by most users +privilege: TrustedInstaller +builds: [ '>=22000' ] +actions: + - !registryValue: + path: 'HKLM\Software\Policies\Microsoft\Windows\WindowsCopilot' + value: 'TurnOffWindowsCopilot' + data: '1' + type: REG_DWORD diff --git a/src/playbook/Configuration/tweaks/qol/taskbar/disable-news-and-interests.yml b/src/playbook/Configuration/tweaks/qol/taskbar/disable-news-and-interests.yml index 15b7ae5ca2..3cdef43933 100644 --- a/src/playbook/Configuration/tweaks/qol/taskbar/disable-news-and-interests.yml +++ b/src/playbook/Configuration/tweaks/qol/taskbar/disable-news-and-interests.yml @@ -27,3 +27,10 @@ actions: data: '0' type: REG_DWORD operation: add + # Disable Widgets in taskbar + - !registryValue: + path: 'HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced' + value: 'TaskbarDa' + data: '0' + type: REG_DWORD + builds: [ '>=22000' ] diff --git a/src/playbook/Configuration/tweaks/qol/taskbar/disable-windows-chat.yml b/src/playbook/Configuration/tweaks/qol/taskbar/disable-windows-chat.yml new file mode 100644 index 0000000000..0c75f4bc53 --- /dev/null +++ b/src/playbook/Configuration/tweaks/qol/taskbar/disable-windows-chat.yml @@ -0,0 +1,16 @@ +--- +title: Disable Windows Chat +description: Disables Windows Chat as it's not commonly used +privilege: TrustedInstaller +builds: [ '>=22000' ] +actions: + - !registryValue: + path: 'HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Chat' + value: 'ChatIcon' + data: '3' + type: REG_DWORD + - !registryValue: + path: 'HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced' + value: 'TaskbarMn' + data: '0' + type: REG_DWORD diff --git a/src/playbook/Configuration/tweaks/qol/taskbar/set-to-left.yml b/src/playbook/Configuration/tweaks/qol/taskbar/set-to-left.yml new file mode 100644 index 0000000000..47e248ae9d --- /dev/null +++ b/src/playbook/Configuration/tweaks/qol/taskbar/set-to-left.yml @@ -0,0 +1,11 @@ +--- +title: Set Taskbar to Align Left +description: Sets taskbar to align left instead of centered +privilege: TrustedInstaller +builds: [ '>=22000' ] +actions: + - !registryValue: + path: 'HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced' + value: 'TaskbarAl' + data: '0' + type: REG_DWORD diff --git a/src/playbook/Configuration/tweaks/scripts/script-core-isolation.yml b/src/playbook/Configuration/tweaks/scripts/script-core-isolation.yml index d06c01be19..bdf440aa82 100644 --- a/src/playbook/Configuration/tweaks/scripts/script-core-isolation.yml +++ b/src/playbook/Configuration/tweaks/scripts/script-core-isolation.yml @@ -2,9 +2,9 @@ title: Disable Core Isolation description: Disables Core Isolation (VBS) based on the user's options privilege: TrustedInstaller +option: 'vbs-disable' actions: - !powerShell: command: '& """$env:windir\AtlasDesktop\7. Security\Core Isolation (VBS)\Current Configuration.ps1""" -DisableAllVBS' exeDir: true wait: true - option: 'vbs-disable' diff --git a/src/playbook/Configuration/tweaks/scripts/script-file-associations.yml b/src/playbook/Configuration/tweaks/scripts/script-file-associations.yml index a62496353f..90e9b5b534 100644 --- a/src/playbook/Configuration/tweaks/scripts/script-file-associations.yml +++ b/src/playbook/Configuration/tweaks/scripts/script-file-associations.yml @@ -6,6 +6,7 @@ actions: - !run: exe: 'FILEASSOC.cmd' exeDir: true + option: '!uninstall-edge' - !run: exe: 'FILEASSOC.cmd' args: '"Brave"' diff --git a/src/playbook/Configuration/tweaks/scripts/script-mitigations.yml b/src/playbook/Configuration/tweaks/scripts/script-mitigations.yml index 28aab3377a..34216f3990 100644 --- a/src/playbook/Configuration/tweaks/scripts/script-mitigations.yml +++ b/src/playbook/Configuration/tweaks/scripts/script-mitigations.yml @@ -2,9 +2,9 @@ title: Disable Mitigations description: Disables mitigations in Windows dependant on the user's options privilege: TrustedInstaller +option: 'mitigations-disable' actions: - !run: exe: 'Disable All Mitigations.cmd' path: '%windir%\AtlasDesktop\7. Security\Mitigations' args: '/silent' - option: 'mitigations-disable' diff --git a/src/playbook/Configuration/tweaks/scripts/script-win11.yml b/src/playbook/Configuration/tweaks/scripts/script-win11.yml deleted file mode 100644 index 3c98536a66..0000000000 --- a/src/playbook/Configuration/tweaks/scripts/script-win11.yml +++ /dev/null @@ -1,9 +0,0 @@ ---- -title: Run Windows 11 Configuration -description: Configures Windows 11 registry and settings -privilege: TrustedInstaller -actions: - - !run: - exeDir: true - exe: 'WIN11.cmd' - weight: 20 diff --git a/src/playbook/Configuration/tweaks/statuses/status-ngen.yml b/src/playbook/Configuration/tweaks/statuses/status-ngen.yml index 282b79b7f3..4b21d03a36 100644 --- a/src/playbook/Configuration/tweaks/statuses/status-ngen.yml +++ b/src/playbook/Configuration/tweaks/statuses/status-ngen.yml @@ -3,4 +3,4 @@ title: Status in AME Wizard for Running .NET Optimization description: Displays a status in AME Wizard for a specified category privilege: TrustedInstaller actions: - - !writeStatus: {status: 'Running NGEN'} \ No newline at end of file + - !writeStatus: {status: 'Optimizing PowerShell'} \ No newline at end of file diff --git a/src/playbook/Executables/AtlasDesktop/3. Configuration/Notifications/Disable Notifications.cmd b/src/playbook/Executables/AtlasDesktop/3. Configuration/Notifications/Disable Notifications.cmd index 790de32b4c..123f75b36f 100644 --- a/src/playbook/Executables/AtlasDesktop/3. Configuration/Notifications/Disable Notifications.cmd +++ b/src/playbook/Executables/AtlasDesktop/3. Configuration/Notifications/Disable Notifications.cmd @@ -10,13 +10,10 @@ reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Notifications\Settings" /v "NOC_GLOBAL_SETTING_ALLOW_NOTIFICATION_SOUND" /t REG_DWORD /d "0" /f > nul reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\PushNotifications" /v "ToastEnabled" /t REG_DWORD /d "0" /f > nul reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\CurrentVersion\PushNotifications" /v "NoCloudApplicationNotification" /t REG_DWORD /d "1" /f > nul -reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Explorer" /v "DisableNotificationCenter" /t REG_DWORD /d "1" /f > nul :: Re-enable action center on Windows 11 as it breaks calendar for /f "tokens=6 delims=[.] " %%a in ('ver') do ( - if %%a GEQ 22000 ( - reg delete "HKLM\SOFTWARE\Policies\Microsoft\Windows\Explorer" /v "DisableNotificationCenter" /f > nul 2>&1 - ) + if %%a LSS 22000 reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Explorer" /v "DisableNotificationCenter" /t REG_DWORD /d "1" /f > nul > nul ) echo Finished, please reboot your device for changes to apply. diff --git a/src/playbook/Executables/AtlasDesktop/4. Optional Tweaks/File Explorer Customization/Gallery/Disable Gallery (default).reg b/src/playbook/Executables/AtlasDesktop/4. Optional Tweaks/File Explorer Customization/Gallery/Disable Gallery (default).reg new file mode 100644 index 0000000000..6363387f7a Binary files /dev/null and b/src/playbook/Executables/AtlasDesktop/4. Optional Tweaks/File Explorer Customization/Gallery/Disable Gallery (default).reg differ diff --git a/src/playbook/Executables/AtlasDesktop/4. Optional Tweaks/File Explorer Customization/Gallery/Enable Gallery.reg b/src/playbook/Executables/AtlasDesktop/4. Optional Tweaks/File Explorer Customization/Gallery/Enable Gallery.reg new file mode 100644 index 0000000000..cc5b2d055c Binary files /dev/null and b/src/playbook/Executables/AtlasDesktop/4. Optional Tweaks/File Explorer Customization/Gallery/Enable Gallery.reg differ diff --git a/src/playbook/Executables/AtlasDesktop/4. Optional Tweaks/File Explorer Customization/Gallery/Remove Gallery under Home (default).reg b/src/playbook/Executables/AtlasDesktop/4. Optional Tweaks/File Explorer Customization/Gallery/Remove Gallery under Home (default).reg deleted file mode 100644 index e3fdcdb25c..0000000000 Binary files a/src/playbook/Executables/AtlasDesktop/4. Optional Tweaks/File Explorer Customization/Gallery/Remove Gallery under Home (default).reg and /dev/null differ diff --git a/src/playbook/Executables/AtlasDesktop/4. Optional Tweaks/File Explorer Customization/Gallery/Show Gallery under Home.reg b/src/playbook/Executables/AtlasDesktop/4. Optional Tweaks/File Explorer Customization/Gallery/Show Gallery under Home.reg deleted file mode 100644 index 249bf8d03a..0000000000 Binary files a/src/playbook/Executables/AtlasDesktop/4. Optional Tweaks/File Explorer Customization/Gallery/Show Gallery under Home.reg and /dev/null differ diff --git a/src/playbook/Executables/AtlasModules/Packages/Z-Atlas-NoDefender-Package31bf3856ad364e35amd643.0.0.0.cab b/src/playbook/Executables/AtlasModules/Packages/Z-Atlas-NoDefender-Package31bf3856ad364e35amd643.0.0.0.cab index b08a3dacba..41718278f3 100644 Binary files a/src/playbook/Executables/AtlasModules/Packages/Z-Atlas-NoDefender-Package31bf3856ad364e35amd643.0.0.0.cab and b/src/playbook/Executables/AtlasModules/Packages/Z-Atlas-NoDefender-Package31bf3856ad364e35amd643.0.0.0.cab differ diff --git a/src/playbook/Executables/AtlasModules/README.md b/src/playbook/Executables/AtlasModules/README.md index f2bd61c53b..3a64456904 100644 --- a/src/playbook/Executables/AtlasModules/README.md +++ b/src/playbook/Executables/AtlasModules/README.md @@ -22,15 +22,6 @@ The root of the file paths listed here starts in `src\playbook\Executables`. - License: [GNU General Public License v3.0](https://github.com/Atlas-OS/utilities/blob/main/LICENSE) - Last Verified: 8/9/2023 by Xyueta -## NSudo -- Path: `NSudoLC.exe` -- SHA256 Hash: `9E166D334ECC9814E42ECCE759C3FA30F350D0AAEF68A67CC77E04258BE69722` -- Source: https://github.com/M2TeamArchived/NSudo/releases/download/9.0-Preview1/NSudo_9.0_Preview1_9.0.2676.0.zip -- Repository: https://github.com/M2TeamArchived/NSudo -- Version: 9.0 Preview 1 (9.0.2676.0) -- License: [The MIT License](https://github.com/M2TeamArchived/NSudo/blob/master/License.md) -- Last Verified: 8/9/2023 by Xyueta - ## SetTimerResolution & MeasureSleep - Path: `\AtlasModules\Tools\SetTimerResolution.exe` - SHA256 Hash: `FE3CDBE2E332E48921FFA2A9697A66F71472D878154BA331D12ADC7E7C767A2B` diff --git a/src/playbook/Executables/CLEANUP.ps1 b/src/playbook/Executables/CLEANUP.ps1 index 6ee138cce1..f7303894fd 100644 --- a/src/playbook/Executables/CLEANUP.ps1 +++ b/src/playbook/Executables/CLEANUP.ps1 @@ -78,8 +78,7 @@ $foldersToRemove = @( "SoftwareDistribution", "System32\catroot2", "System32\LogFiles", - "System32\sru", - "WinSxS\Backup" + "System32\sru" ) foreach ($folderName in $foldersToRemove) { diff --git a/src/playbook/Executables/KILLKPH.ps1 b/src/playbook/Executables/KILLKPH.ps1 deleted file mode 100644 index d204b5b024..0000000000 --- a/src/playbook/Executables/KILLKPH.ps1 +++ /dev/null @@ -1,28 +0,0 @@ -Get-Process -Name "ProcessHacker" -EA SilentlyContinue | Stop-Process -Force -EA SilentlyContinue -Stop-Service -Name "kprocesshacker2" -Force -EA SilentlyContinue -NoWait -Start-Sleep 10 -sc.exe delete "kprocesshacker2" *>$null - -$settingsXml = @" - - 0 - -"@ -$settingsFilePath = "$env:windir\System32\config\systemprofile\AppData\Roaming\Process Hacker 2\settings.xml" -$settingsDirectory = Split-Path -Path $settingsFilePath -Parent -Remove-Item -Path $settingsDirectory -Recurse -Force -EA SilentlyContinue -New-Item -Path $settingsDirectory -ItemType Directory -Force | Out-Null -$settingsXml | Set-Content -Path $settingsFilePath -Force - -$userDirectories = Get-ChildItem -Path "$env:SystemDrive\Users" -Directory -Exclude "Public", "Default", "Default User", "All Users" -foreach ($userDir in $userDirectories) { - $destinationPath = Join-Path $userDir.FullName "AppData\Roaming\Process Hacker 2\settings.xml" - $destinationDirectory = Split-Path -Path $destinationPath -Parent - if (!(Test-Path -Path $destinationDirectory -PathType Container)) { - New-Item -Path $destinationDirectory -ItemType Directory -Force | Out-Null - } - Copy-Item -Path $settingsFilePath -Destination $destinationPath -Force -} - -# Kill the window informing about process hacker during deployment -Stop-Process -name pcaui -Force -ErrorAction SilentlyContinue \ No newline at end of file diff --git a/src/playbook/Executables/NSudoLC.exe b/src/playbook/Executables/NSudoLC.exe deleted file mode 100644 index ba3756a11d..0000000000 Binary files a/src/playbook/Executables/NSudoLC.exe and /dev/null differ diff --git a/src/playbook/Executables/PFP.ps1 b/src/playbook/Executables/PFP.ps1 index 876646cd68..833d61d7b3 100644 --- a/src/playbook/Executables/PFP.ps1 +++ b/src/playbook/Executables/PFP.ps1 @@ -30,6 +30,7 @@ function SetUserProfileImage($sid) { if (!(Test-Path $usrPfpDir)) { # New-Item -Path $usrPfpDir -ItemType Directory -Force | Out-Null # This doesn't overwrite users that have manually set profile pictures + Write-Host "Not applying Atlas profile picture to $sid..." return } @@ -41,6 +42,8 @@ function SetUserProfileImage($sid) { New-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\AccountPicture\Users\$sid" -Name "Image$resolution" ` -PropertyType String -Value "$usrPfpDir\$resolution`x$resolution.png" -Force | Out-Null + + Write-Host "Applied Atlas profile picture to $sid..." } } diff --git a/src/playbook/Executables/REMOVEBITMAP.ps1 b/src/playbook/Executables/REMOVEBITMAP.ps1 new file mode 100644 index 0000000000..6752d840fd --- /dev/null +++ b/src/playbook/Executables/REMOVEBITMAP.ps1 @@ -0,0 +1,11 @@ +# Removes 'Bitmap' from the 'New' context menu in Windows 11 +foreach ($userKey in $((Get-ChildItem -Path "Registry::HKEY_USERS").Name | Where-Object { $_ -like '*_Classes' })) { + foreach ($key in $(Get-ChildItem -Path "Registry::$userKey\Local Settings\MrtCache" -Recurse)) { + $key | Get-ItemProperty | ForEach-Object { + foreach ($value in $($_.PSObject.Properties.Name | Where-Object {$_ -like '*ShellNewDisplayName_Bmp*'})) { + Set-ItemProperty -Path $key.PSPath -Name $value -Value "" + Write-Host "Removed 'Bitmap' from 'New' context menu for $userKey..." + } + } + } +} \ No newline at end of file diff --git a/src/playbook/Executables/WIN11.cmd b/src/playbook/Executables/WIN11.cmd deleted file mode 100644 index 2c2042913c..0000000000 --- a/src/playbook/Executables/WIN11.cmd +++ /dev/null @@ -1,156 +0,0 @@ -@echo off - -:: Check if user is on Windows 11 -for /f "tokens=6 delims=[.] " %%a in ('ver') do (if %%a LSS 22000 set "win10=true") - -:: Set hidden Windows Settings pages -:: There's some specific Windows 11/10 additions or removals -:: https://learn.microsoft.com/en-us/windows/uwp/launch-resume/launch-settings-app#ms-settings-uri-scheme-reference - -set hiddenPages=hide:^ -crossdevice;^ -recovery;^ -autoplay;^ -usb;^ -maps;^ -maps-downloadmaps;^ -findmydevice;^ -privacy;^ -privacy-speech;^ -privacy-feedback;^ -privacy-activityhistory;^ -search-permissions;^ -privacy-location;^ -privacy-general;^ -sync;^ -printers;^ -cortana-windowssearch - -:: Set 10-only changes -if defined win10 ( - set "regVariable=USERREG10" - - rem Set dual boot menu description to AtlasOS 10 - bcdedit /set description "AtlasOS 10" > nul - - rem Delete 11-only tweaks - rd /s /q "%windir%\AtlasDesktop\3. Configuration\Background Apps" > nul 2>&1 - rd /s /q "%windir%\AtlasDesktop\3. Configuration\Power\Timer Resolution" > nul 2>&1 - rd /s /q "%windir%\AtlasDesktop\4. Optional Tweaks\File Explorer Customization\Compact View" > nul 2>&1 - rd /s /q "%windir%\AtlasDesktop\4. Optional Tweaks\File Explorer Customization\Gallery" > nul 2>&1 - rd /s /q "%windir%\AtlasDesktop\4. Optional Tweaks\Windows 11 Context Menu" > nul 2>&1 - del /f /q "%windir%\AtlasModules\Tools\TimerResolution.exe" > nul 2>&1 - - rem Set hidden Settings pages - reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v "SettingsPageVisibility" /t REG_SZ /d "%hiddenPages%;backup;" /f > nul -) else ( - set "regVariable=USERREG" -) - -:: If the "Volatile Environment" key exists, that means it is a proper user. Built in accounts/SIDs do not have this key. -for /f "usebackq tokens=2 delims=\" %%a in (`reg query HKU ^| findstr /r /x /c:"HKEY_USERS\\S-.*" /c:"HKEY_USERS\\AME_UserHive_[^_]*"`) do ( - reg query "HKU\%%a" | findstr /c:"Volatile Environment" /c:"AME_UserHive_" > nul && ( - echo Applying %regVariable% changes to "%%a"... - call :%regVariable% "%%a" - ) -) -if defined win10 exit /b - -::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -:: WINDOWS 11-ONLY CHANGES :: -::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: - -:: Remove volume flyout -rd /s /q "%windir%\AtlasDesktop\3. Configuration\4. Optional Tweaks\Volume Flyout" > nul 2>&1 - -:: Set hidden Settings pages -reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v "SettingsPageVisibility" /t REG_SZ /d "%hiddenPages%;family-group;deviceusage;home;" /f > nul - -:: Disable Windows Chat in the taskbar -reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Chat" /v "ChatIcon" /t REG_DWORD /d "3" /f > nul - -:: Disable Copilot -reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsCopilot" /v "TurnOffWindowsCopilot" /t REG_DWORD /d "1" /f > nul - -:: Set dual boot menu description to AtlasOS 11 -bcdedit /set description "AtlasOS 11" > nul - -:: Remove Gallery from Explorer -reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace_41040327\{e88865ea-0e1c-4e20-9aa6-edcd0212c87c}" /f > nul 2>&1 - -:: Re-enable Action Center on Win11, as it breaks calendar -reg delete "HKLM\SOFTWARE\Policies\Microsoft\Windows\Explorer" /v "DisableNotificationCenter" /f > nul 2>&1 - -:: Restore Music and Videos folders by clearing up Quick Access' cache -del /f /q "%APPDATA%\Microsoft\Windows\Recent\AutomaticDestinations\f01b4d95cf55d32a.automaticDestinations-ms" > nul 2>&1 - -exit /b - -::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -:: WINDOWS 10-ONLY USER REGISTRY CHANGES :: -::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: - -:USERREG10 -:: Set unpinned Notification Center items -reg add "HKU\%~1\Control Panel\Quick Actions\Control Center\Unpinned" /v "Microsoft.QuickAction.Connect" /t REG_NONE /d "" /f > nul -reg add "HKU\%~1\Control Panel\Quick Actions\Control Center\Unpinned" /v "Microsoft.QuickAction.Location" /t REG_NONE /d "" /f > nul -reg add "HKU\%~1\Control Panel\Quick Actions\Control Center\Unpinned" /v "Microsoft.QuickAction.ScreenClipping" /t REG_NONE /d "" /f > nul -reg add "HKU\%~1\Control Panel\Quick Actions\Control Center\QuickActionsStateCapture" /v "Toggles" /t REG_SZ /d "Toggles,Microsoft.QuickAction.BlueLightReduction:false,Microsoft.QuickAction.AllSettings:false,Microsoft.QuickAction.Project:false" /f > nul - -exit /b - -::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -:: WINDOWS 11-ONLY USER REGISTRY CHANGES :: -::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: - -:USERREG -:: Do not show recommendations for tips, shortcuts, new apps, and more in start menu -reg add "HKU\%~1\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "Start_IrisRecommendations" /t REG_DWORD /d "0" /f > nul - -:: Show more pins in Start menu -reg add "HKU\%~1\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "Start_Layout" /t REG_DWORD /d "1" /f > nul - -:: Compact mode in Explorer -reg add "HKU\%~1\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "UseCompactMode" /t REG_DWORD /d "1" /f > nul - -:: Put taskbar to the left -reg add "HKU\%~1\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "TaskbarAl" /t REG_DWORD /d "0" /f > nul - -:: Do not show account related notifications occasionally in start menu -reg add "HKU\%~1\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "Start_AccountNotifications" /t REG_DWORD /d "0" /f > nul - -:: Remove Widgets button from taskbar -reg add "HKU\%~1\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "TaskbarDa" /t REG_DWORD /d "0" /f > nul - -:: Remove Chat button from taskbar -reg add "HKU\%~1\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "TaskbarMn" /t REG_DWORD /d "0" /f > nul - -:: Do not show the voice typing microphone button -reg add "HKU\%~1\SOFTWARE\Microsoft\input\Settings" /v "IsVoiceTypingKeyEnabled" /t REG_DWORD /d "0" /f > nul - -:: Do not show files from Office.com -reg add "HKU\%~1\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer" /v "ShowCloudFilesInQuickAccess" /t REG_DWORD /d "0" /f > nul - -:: Restore old Windows 10 context menu -reg add "HKU\%~1\SOFTWARE\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" /f /ve > nul - -:: Add 'End task' option to the taskbar context menu -reg add "HKU\%~1\SOFTWARE\Microsoft\Windows\CurrentVersion\DeveloperSettings" /v "TaskbarEndTask" /t REG_DWORD /d "1" /f > nul - -:: Set unpinned Notification Center items -reg add "HKU\%~1\Control Panel\Quick Actions\Control Center\Unpinned" /v "Microsoft.QuickAction.Cast" /t REG_NONE /d "" /f > nul -reg add "HKU\%~1\Control Panel\Quick Actions\Control Center\Unpinned" /v "Microsoft.QuickAction.NearShare" /t REG_NONE /d "" /f > nul -reg add "HKU\%~1\Control Panel\Quick Actions\Control Center\QuickActionsStateCapture" /v "Toggles" /t REG_SZ /d "Toggles,Microsoft.QuickAction.BlueLightReduction:false,Microsoft.QuickAction.Accessibility:false,Microsoft.QuickAction.ProjectL2:false" /f > nul - -:: Remove 'Bitmap File' from 'New' context menu -set "mrtCache=HKEY_USERS\%~1\SOFTWARE\Classes\Local Settings\MrtCache" -echo %~1 | find "_Classes" > nul -if errorlevel 1 ( - for /f "tokens=*" %%a in ('reg query "%mrtCache%" /s 2^>nul ^| find /i "%mrtCache%" 2^>nul') do ( - for /f "tokens=1-2" %%b in ('reg query "%%a" /v * ^| find /i "ShellNewDisplayName_Bmp"') do ( - reg add "%%a" /v "%%b %%c" /t REG_SZ /d "" /f > nul - ) - ) -) - -exit /b \ No newline at end of file diff --git a/src/playbook/playbook.conf b/src/playbook/playbook.conf index e835b2488f..52b46dcbc9 100644 --- a/src/playbook/playbook.conf +++ b/src/playbook/playbook.conf @@ -22,6 +22,7 @@ PluggedIn true + false 64 15 https://github.com/Atlas-OS/Atlas