I have created a registry file in C# to configure a client email account. I then crated a process then started to execute the reg file, like so:
  var proc = new Process();
                var pi = new ProcessStartInfo();
                pi.UseShellExecute = true;
                pi.FileName = strRegPath;
                proc.StartInfo = pi;
                proc.Start();
This works fine, but however it requires the use to interact with the importing of the regustry file by clicking yes. Is there anyway I can run this in the background without interacting with the user?
 
    