// SetDisableTaskbarTransparency.cs // // Disable Taskbar Transparency. // Turns off the translucent taskbar/Start menu effect for a small performance gain. // // Usage: dotnet new console -o SetDisableTaskbarTransparency, replace Program.cs with this // file, then dotnet run. using System; using Microsoft.Win32; using RegistryKey key = Registry.CurrentUser.CreateSubKey(@"Software\Microsoft\Windows\CurrentVersion\Themes\Personalize"); key.SetValue("EnableTransparency", 0, RegistryValueKind.DWord); Console.WriteLine("Disable Taskbar Transparency applied.");