No longer show option to disable start recommended on build 26200+

This setting was made redundant by the updated Start menu
This commit is contained in:
Raphire
2025-11-14 23:45:06 +01:00
parent 14ba4d529c
commit 2d9e8530eb

View File

@@ -1163,10 +1163,13 @@ function DisplayCustomModeOptions {
}
}
Write-Output ""
# Don't show option for users running build 26200 and above, as this setting was removed in this build
if ($WinVersion -lt 26200) {
Write-Output ""
if ($( Read-Host -Prompt " Disable the recommended section in the start menu? This applies to all users (y/n)" ) -eq 'y') {
AddParameter 'DisableStartRecommended' 'Disable the recommended section in the start menu.'
if ($( Read-Host -Prompt " Disable the recommended section in the start menu? This applies to all users (y/n)" ) -eq 'y') {
AddParameter 'DisableStartRecommended' 'Disable the recommended section in the start menu.'
}
}
Write-Output ""