Skip to content

Free, open-source Windows optimization tool for performance, privacy, and simplicity.

feat: Added UX optimization for disabling web search for Windows start menu

kelvin37203c832c5c4188
diff --git a/optimizerDuck/Domain/Optimizations/Categories/UserExperience.cs b/optimizerDuck/Domain/Optimizations/Categories/UserExperience.cs
index 6d0a1a7..20afdda 100644
--- a/optimizerDuck/Domain/Optimizations/Categories/UserExperience.cs
+++ b/optimizerDuck/Domain/Optimizations/Categories/UserExperience.cs
@@ -78,4 +78,28 @@ public class UserExperience : IOptimizationCategory
return Task.FromResult(CompleteFromScope());
}
}
+
+ [Optimization(
+ Id = "950cd979-7483-400b-a207-abd4741a1270",
+ Risk = OptimizationRisk.Safe,
+ Tags = OptimizationTags.System | OptimizationTags.Performance | OptimizationTags.Latency
+ )]
+ public sealed class DisableStartMenuWebSearch : BaseOptimization
+ {
+ public override Task<ApplyResult> ApplyAsync(
+ IProgress<ProcessingProgress> progress,
+ OptimizationContext context
+ )
+ {
+ RegistryService.Write(
+ new RegistryItem(
+ @"HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Explorer",
+ "DisableSearchBoxSuggestions",
+ 1
+ )
+ );
+ context.Logger.LogInformation("Disabled web search for Start Menu");
+ return Task.FromResult(CompleteFromScope());
+ }
+ }
}
diff --git a/optimizerDuck/Resources/Languages/Translations.Designer.cs b/optimizerDuck/Resources/Languages/Translations.Designer.cs
index d2ba8bd..bb96082 100644
--- a/optimizerDuck/Resources/Languages/Translations.Designer.cs
+++ b/optimizerDuck/Resources/Languages/Translations.Designer.cs
@@ -1,4 +1,4 @@
-//------------------------------------------------------------------------------
+//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
@@ -3600,6 +3600,24 @@ namespace optimizerDuck.Resources.Languages {
}
}
+ /// <summary>
+ /// Looks up a localized string similar to Disable Start Menu Web Search.
+ /// </summary>
+ internal static string Optimizer_UserExperience_DisableStartMenuWebSearch_Name {
+ get {
+ return ResourceManager.GetString("Optimizer.UserExperience.DisableStartMenuWebSearch.Name", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Turn off web search for Windows Start Menu to load the local search results faster..
+ /// </summary>
+ internal static string Optimizer_UserExperience_DisableStartMenuWebSearch_ShortDescription {
+ get {
+ return ResourceManager.GetString("Optimizer.UserExperience.DisableStartMenuWebSearch.ShortDescription", resourceCulture);
+ }
+ }
+
/// <summary>
/// Looks up a localized string similar to Disable Visual Effects.
/// </summary>
diff --git a/optimizerDuck/Resources/Languages/Translations.resx b/optimizerDuck/Resources/Languages/Translations.resx
index 59cde47..e8f5efe 100644
--- a/optimizerDuck/Resources/Languages/Translations.resx
+++ b/optimizerDuck/Resources/Languages/Translations.resx
@@ -772,6 +772,12 @@
<data name="Optimizer.UserExperience.SpeedUpExplorerAndMenus.ShortDescription" xml:space="preserve">
<value>Sets StartupDelayInMSec=0, MenuShowDelay=0 to eliminate Explorer startup delay and reduce menu hover delay to minimum.</value>
</data>
+ <data name="Optimizer.UserExperience.DisableStartMenuWebSearch.Name" xml:space="preserve">
+ <value>Disable Start Menu Web Search</value>
+ </data>
+ <data name="Optimizer.UserExperience.DisableStartMenuWebSearch.ShortDescription" xml:space="preserve">
+ <value>Turn off web search for Windows Start Menu to load the local search results faster.</value>
+ </data>
<data name="Optimizer.UserExperience.DisableVisualEffects.Name" xml:space="preserve">
<value>Disable Visual Effects</value>
</data>