diff --git a/SystemExtensions/Security/ProcessInformation.cs b/SystemExtensions/Security/ProcessInformation.cs index e1e2bf7..2a3db3a 100644 --- a/SystemExtensions/Security/ProcessInformation.cs +++ b/SystemExtensions/Security/ProcessInformation.cs @@ -391,7 +391,7 @@ namespace SystemExtensions.Security ProcessStartInfo proc = new ProcessStartInfo(); proc.UseShellExecute = true; proc.WorkingDirectory = Environment.CurrentDirectory; - proc.FileName = Process.GetCurrentProcess().StartInfo.FileName; + proc.FileName = Process.GetCurrentProcess().MainModule.FileName; proc.Verb = "runas";