// SetDisableSnapAssist.cs // // Disable Snap Assist Suggestions. // Stops Windows from suggesting other windows to snap next to one you just moved. // // Usage: dotnet new console -o SetDisableSnapAssist, replace Program.cs with this // file, then dotnet run. using System; using Microsoft.Win32; using RegistryKey key = Registry.CurrentUser.CreateSubKey(@"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced"); key.SetValue("SnapAssist", 0, RegistryValueKind.DWord); Console.WriteLine("Disable Snap Assist Suggestions applied.");