You can't set the start info after the process has started. Create a ProcessStartInfo object first, set the appropriate properties and then pass that object as an argument when you call Process.Start.