foreach (System.Diagnostics.Process p in System.Diagnostics.Process.GetProcessesByName("Server")) { p.Kill(); }