Skip to content

Commit

Permalink
Upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
hellzerg committed Aug 12, 2022
1 parent 6c4e0ab commit d052f2d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Optimizer/Optimize.cs
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,8 @@ internal static void DisableTelemetryServices()
Registry.SetValue(@"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\WMI\AutoLogger\SQMLogger", "Start", "0", RegistryValueKind.DWord);
Registry.SetValue(@"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PolicyManager\current\device\System", "AllowExperimentation", 0);

Utilities.DisableProtectedService("WdiSystemHost");
// Responsible for battery usage functionality in Windows 10/11
//Utilities.DisableProtectedService("WdiSystemHost");
Utilities.DisableProtectedService("WdiServiceHost");
}

Expand Down

0 comments on commit d052f2d

Please sign in to comment.