How To Change Desktop Icon Size Windows 11 ⚡ Real

How To Change Desktop Icon Size Windows 11 ⚡ Real

private void SetDesktopIconSize(int sizePx) { const string keyPath = @"HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics"; using (var key = Registry.CurrentUser.OpenSubKey(keyPath, true)) { if (key != null) { key.SetValue("Shell Icon Size", sizePx.ToString(), RegistryValueKind.String); // Restart Explorer Process.Start("taskkill", "/f /im explorer.exe"); Process.Start("explorer.exe"); } } }

This is the power user’s favorite method because it requires zero menus and offers the most range. It works directly on the desktop background. how to change desktop icon size windows 11

✅ No restart required – changes instantly. using (var key = Registry.CurrentUser.OpenSubKey(keyPath

Sometimes the issue isn't the icon itself, but the space between them. If icons feel too cramped, you can adjust the grid spacing, though this requires a quick trip into the Settings menu. // Restart Explorer Process.Start("taskkill"