if (key != null)
public static void ResetTaskbarColor()
Press Win + I or right-click the Start button and select Settings . change task bar colour
→ Make sure "Show color on Start, taskbar, and action center" is ON. → Try switching to Dark mode if using Windows 11. → Restart Windows Explorer via Task Manager. if (key