From e0d6912f3bbf1fd931dfaf7e974fea9bacb4db3b Mon Sep 17 00:00:00 2001 From: Przemek Grondek Date: Mon, 1 May 2023 01:03:45 +0200 Subject: [PATCH] Add customizations explorer taskbar --- src/Configuration/custom.yml | 2 + .../features/personalization/explorer.yml | 58 +++++++++++++++++++ .../features/personalization/taskbar.yml | 57 ++++++++++++++++++ 3 files changed, 117 insertions(+) create mode 100644 src/Configuration/features/personalization/explorer.yml create mode 100644 src/Configuration/features/personalization/taskbar.yml diff --git a/src/Configuration/custom.yml b/src/Configuration/custom.yml index 2ccf53a..b816005 100644 --- a/src/Configuration/custom.yml +++ b/src/Configuration/custom.yml @@ -11,3 +11,5 @@ features: - features\lite\scheduled-tasks.yml - features\lite\improvements.yml - features\personalization\dark-mode.yml + - features\personalization\explorer.yml + - features\personalization\taskbar.yml diff --git a/src/Configuration/features/personalization/explorer.yml b/src/Configuration/features/personalization/explorer.yml new file mode 100644 index 0000000..0dc048a --- /dev/null +++ b/src/Configuration/features/personalization/explorer.yml @@ -0,0 +1,58 @@ +--- +title: Windows explorer +description: Explorer customization +privilege: TrustedInstaller +actions: + # Show file extensions in File Explorer + - !registryValue: + path: 'HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced' + value: 'HideFileExt' + data: '0' + type: REG_DWORD + + # Disable show thumbnails instead of icons + - !registryValue: + path: 'HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced' + value: 'IconsOnly' + data: '1' + type: REG_DWORD + + # Disable sharing wizard + - !registryValue: + path: 'HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced' + value: 'SharingWizardOn' + data: '0' + type: REG_DWORD + + # Show more details in file transfer dialog + - !registryValue: + path: 'HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\OperationStatusManager' + value: 'EnthusiastMode' + data: '1' + type: REG_DWORD + + # Disable Windows Spotlight features + - !registryValue: + path: 'HKCU\SOFTWARE\Policies\Microsoft\Windows\CloudContent' + value: 'DisableWindowsSpotlightFeatures' + data: '1' + type: REG_DWORD + + # Do not suggest third-party content in Windows Spotlight + - !registryValue: + path: 'HKCU\SOFTWARE\Policies\Microsoft\Windows\CloudContent' + value: 'DisableThirdPartySuggestions' + data: '1' + type: REG_DWORD + + # Do not use diagnostic data for tailored experiences + - !registryValue: + path: 'HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Privacy' + value: 'TailoredExperiencesWithDiagnosticDataEnabled' + data: '0' + type: REG_DWORD + - !registryValue: + path: 'HKCU\SOFTWARE\Policies\Microsoft\Windows\CloudContent' + value: 'DisableTailoredExperiencesWithDiagnosticData' + data: '1' + type: REG_DWORD diff --git a/src/Configuration/features/personalization/taskbar.yml b/src/Configuration/features/personalization/taskbar.yml new file mode 100644 index 0000000..a358d81 --- /dev/null +++ b/src/Configuration/features/personalization/taskbar.yml @@ -0,0 +1,57 @@ +--- +title: Taskbar +description: Settings for taskbar personalization +privilege: TrustedInstaller +actions: + # Set search as icon on taskbar + - !registryValue: + path: 'HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Search' + value: 'SearchboxTaskbarMode' + data: '1' + type: REG_DWORD + + # Reduce menu show delay time + - !registryValue: + path: 'HKCU\Control Panel\Desktop' + value: 'MenuShowDelay' + data: '0' + type: REG_SZ + + # Do not allow pinning Microsoft Store app to taskbar + - !registryValue: + path: 'HKCU\SOFTWARE\Policies\Microsoft\Windows\Explorer' + value: 'NoPinningStoreToTaskbar' + data: '1' + type: REG_DWORD + + # Hide meet now button on taskbar + - !registryValue: + path: 'HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer' + value: 'HideSCAMeetNow' + data: '1' + type: REG_DWORD + + # Hide task view button on taskbar + - !registryValue: + path: 'HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MultiTaskingView\AllUpView' + value: 'Enabled' + operation: delete + - !registryValue: + path: 'HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced' + value: 'ShowTaskViewButton' + data: '0' + type: REG_DWORD + + # Disable news and interests on taskbar + # Explorer immediately reset ShellFeedsTaskbarViewMode otherwise + - !taskKill: + name: 'explorer' + - !registryValue: + path: 'HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Feeds' + value: 'ShellFeedsTaskbarViewMode' + data: '2' + type: REG_DWORD + operation: add + - !run: + exe: 'explorer.exe' + wait: false