// SetDisableStickyKeysPrompt.cs // // Disable Sticky Keys Shortcut Prompt. // Stops the Sticky Keys dialog from popping up when Shift is pressed 5 times. // // Usage: dotnet new console -o SetDisableStickyKeysPrompt, replace Program.cs with this // file, then dotnet run. using System; using Microsoft.Win32; using RegistryKey key = Registry.CurrentUser.CreateSubKey(@"Control Panel\Accessibility\StickyKeys"); key.SetValue("Flags", "506", RegistryValueKind.String); Console.WriteLine("Disable Sticky Keys Shortcut Prompt applied.");