Hi,
I need to run browser with a different user. I do not want to use it like right clicking with shift. Is there any approach like using star application or process with some arguments.
Hi,
I need to run browser with a different user. I do not want to use it like right clicking with shift. Is there any approach like using star application or process with some arguments.
Please check in Google like any script is available to do this.
If yes then you can create one file and run this file using Start Process activity.
Hi
Hope this thread would help you resolve this
Cheers @mohammedamaan
you can use this Below Script for running the Browser in different user
Try
'New System.Diagnostics.Process().StartInfo.UseShellExecute=False
Dim procInfo As System.Diagnostics.Process= New System.Diagnostics.Process()
procInfo.StartInfo.FileName = "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe"
procInfo.StartInfo.Verb = "runas"
procInfo.StartInfo.UseShellExecute = False
procInfo.StartInfo.LoadUserProfile = True
'procInfo.StartInfo.RedirectStandardOutput=True
'procInfo.StartInfo.CreateNoWindow = True
procInfo.StartInfo.WorkingDirectory = "C:\Program Files (x86)\Google\Chrome\Application"
'procInfo.StartInfo.Arguments = ""
procInfo.StartInfo.UserName="username"
procInfo.StartInfo.Password=pass
procInfo.StartInfo.Domain="Domainname"
procInfo.Start()
Catch es As System.Exception
system.Windows.MessageBox.Show(es.Message)
End Try
Regards
Sanjay