Skip to content

Commit 1349254

Browse files
committed
Add Support to Windows 11 23H2 (#137)
- Add tweak to keep the show desktop button enabled - When uninstalling WSL, also uninstall the optional feature - Insert Windows version for some tweaks - Update ROADMAP
1 parent c3888be commit 1349254

5 files changed

+19
-10
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Code located in the `main` branch is considered stable, the `develop` branch con
5050
<td>
5151
<h4><a href="https://github.com/LeDragoX/Win-Debloat-Tools/archive/main.zip">⬇️ Main</a></h4>(Stable)
5252
</td>
53-
<td rowspan="2">22H2 or Older</td>
53+
<td rowspan="2">23H2 or Older</td>
5454
<td rowspan="2">Home / Pro</td>
5555
<td rowspan="2"><img width=20px src="src/assets/powershell-icon.png" style="vertical-align: bottom" /> v5.1+</td>
5656
</tr>

ROADMAP.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
### Future
2+
3+
- [ ] Unpin All "mocked" apps (Apps on the Start Menu which are not installed, but are there).
4+
- [ ] Install Winget via Chocolatey as an another option.
5+
16
### 2023v2
27

38
- [x] Rename all powershell scripts to match it's naming convention.

WinDebloatTools.ps1

+1
Original file line numberDiff line numberDiff line change
@@ -1492,6 +1492,7 @@ function Show-GUI() {
14921492
Open-PowerShellFilesCollection -RelativeLocation "src\scripts\other-scripts" -Scripts @("Install-WSL.ps1") -DoneTitle $DoneTitle -DoneMessage $DoneMessage
14931493
} Else {
14941494
$AppsSelected.MSStoreApps.Add("9P9TQF7MRM4R")
1495+
Set-OptionalFeatureState -State 'Disabled' -OptionalFeatures @("Microsoft-Windows-Subsystem-Linux")
14951496
}
14961497
$InstallWSL.CheckState = "Unchecked"
14971498
}

src/scripts/Optimize-Performance.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ function Optimize-Performance() {
4848

4949
Write-Section "System"
5050
Write-Caption "Display"
51-
Write-Status -Types "+", $TweakType -Status "Enable Hardware Accelerated GPU Scheduling... (Windows 10 20H1+ - Needs Restart)"
51+
Write-Status -Types "+", $TweakType, "20H1" -Status "Enable Hardware Accelerated GPU Scheduling... (Windows 10+ - Needs Restart)"
5252
Set-ItemPropertyVerified -Path "HKLM:\SYSTEM\CurrentControlSet\Control\GraphicsDrivers" -Name "HwSchMode" -Type DWord -Value 2
5353

5454
Write-Status -Types $EnableStatus[0].Symbol, $TweakType -Status "$($EnableStatus[0].Status) Remote Assistance..."

src/scripts/Register-PersonalTweaksList.ps1

+11-8
Original file line numberDiff line numberDiff line change
@@ -151,20 +151,20 @@ function Register-PersonalTweaksList() {
151151

152152
Write-Section "Task Bar Tweaks"
153153
Write-Caption "Task Bar - Windows 10 Compatible"
154-
Write-Status -Types $EnableStatus[0].Symbol, $TweakType -Status "$($EnableStatus[0].Status) the 'Search Box' from taskbar..."
154+
Write-Status -Types $EnableStatus[0].Symbol, $TweakType -Status "$($EnableStatus[0].Status) the 'Search Box' from Taskbar..."
155155
# [@] (0 = Hide completely, 1 = Show icon only, 2 = Show long Search Box, 3 = Search Icon and Label (Windows 11))
156156
Set-ItemPropertyVerified -Path "$PathToCUWindowsSearch" -Name "SearchboxTaskbarMode" -Type DWord -Value $Zero
157157

158-
Write-Status -Types $EnableStatus[0].Symbol, $TweakType -Status "$($EnableStatus[0].Status) Windows search highlights from taskbar..."
158+
Write-Status -Types $EnableStatus[0].Symbol, $TweakType -Status "$($EnableStatus[0].Status) Windows search highlights from Taskbar..."
159159
Set-ItemPropertyVerified -Path "$PathToLMPoliciesWindowsSearch" -Name "EnableDynamicContentInWSB" -Type DWord -Value $Zero
160160

161-
Write-Status -Types $EnableStatus[0].Symbol, $TweakType -Status "$($EnableStatus[0].Status) the 'Task View' icon from taskbar..."
161+
Write-Status -Types $EnableStatus[0].Symbol, $TweakType -Status "$($EnableStatus[0].Status) the 'Task View' icon from Taskbar..."
162162
# [@] (0 = Hide Task view, 1 = Show Task view)
163163
Set-ItemPropertyVerified -Path "$PathToCUExplorerAdvanced" -Name "ShowTaskViewButton" -Type DWord -Value $Zero
164164

165165
If (!$Revert) { Disable-NewsAndInterest } Else { Enable-NewsAndInterest }
166166

167-
Write-Status -Types $EnableStatus[0].Symbol, $TweakType -Status "$($EnableStatus[0].Status) 'People' icon from taskbar..."
167+
Write-Status -Types $EnableStatus[0].Symbol, $TweakType -Status "$($EnableStatus[0].Status) 'People' icon from Taskbar..."
168168
Set-ItemPropertyVerified -Path "$PathToCUExplorerAdvanced\People" -Name "PeopleBand" -Type DWord -Value $Zero
169169

170170
Write-Status -Types $EnableStatus[0].Symbol, $TweakType -Status "$($EnableStatus[0].Status) Live Tiles..."
@@ -173,18 +173,21 @@ function Register-PersonalTweaksList() {
173173
Write-Status -Types "*", $TweakType -Status "Enabling Auto tray icons..."
174174
Set-ItemPropertyVerified -Path "$PathToCUExplorer" -Name "EnableAutoTray" -Type DWord -Value 1
175175

176-
Write-Status -Types $EnableStatus[0].Symbol, $TweakType -Status "$($EnableStatus[0].Status) 'Meet now' icon on taskbar..."
176+
Write-Status -Types $EnableStatus[0].Symbol, $TweakType -Status "$($EnableStatus[0].Status) 'Meet now' icon on Taskbar..."
177177
# [@] (0 = Show Meet Now, 1 = Hide Meet Now)
178178
Set-ItemPropertyVerified -Path "$PathToLMPoliciesExplorer" -Name "HideSCAMeetNow" -Type DWord -Value $One
179179

180180
Write-Caption "Task Bar - Windows 11 Compatible"
181-
Write-Status -Types $EnableStatus[0].Symbol, $TweakType -Status "$($EnableStatus[0].Status) 'Widgets' icon from taskbar..."
181+
Write-Status -Types $EnableStatus[0].Symbol, $TweakType -Status "$($EnableStatus[0].Status) 'Widgets' icon from Taskbar..."
182182
# [@] (0 = Hide Widgets, 1 = Show Widgets)
183183
Set-ItemPropertyVerified -Path "$PathToCUExplorerAdvanced" -Name "TaskbarDa" -Type DWord -Value $Zero
184184

185-
Write-Status -Types $EnableStatus[0].Symbol, $TweakType -Status "$($EnableStatus[0].Status) 'Chat' icon from taskbar..."
185+
Write-Status -Types $EnableStatus[0].Symbol, $TweakType -Status "$($EnableStatus[0].Status) 'Chat' icon from Taskbar..."
186186
Set-ItemPropertyVerified -Path "$PathToCUExplorerAdvanced" -Name "TaskbarMn" -Type DWord -Value $Zero
187187

188+
Write-Status -Types "*", $TweakType, "23H2" -Status "Enabling 'Show Desktop Button' on the Taskbar corner..."
189+
Set-ItemPropertyVerified -Path "$PathToCUExplorerAdvanced" -Name "TaskbarSd" -Type DWord -Value 1
190+
188191
Write-Status -Types $EnableStatus[0].Symbol, $TweakType -Status "$($EnableStatus[0].Status) creation of Thumbs.db thumbnail cache files..."
189192
Set-ItemPropertyVerified -Path "$PathToCUExplorerAdvanced" -Name "DisableThumbnailCache" -Type DWord -Value $One
190193
Set-ItemPropertyVerified -Path "$PathToCUExplorerAdvanced" -Name "DisableThumbsDBOnNetworkFolders" -Type DWord -Value $One
@@ -193,7 +196,7 @@ function Register-PersonalTweaksList() {
193196

194197
If (!$Revert) { Enable-DarkTheme } Else { Disable-DarkTheme }
195198

196-
Write-Status -Types "*", $TweakType -Status "Restoring taskbar transparency..."
199+
Write-Status -Types "*", $TweakType -Status "Restoring Taskbar transparency..."
197200
Set-ItemPropertyVerified -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize" -Name "EnableTransparency" -Type DWord -Value 1
198201

199202
Write-Section "System"

0 commit comments

Comments
 (0)