diff --git a/DS4Windows/DS4Forms/MainWindow.xaml.cs b/DS4Windows/DS4Forms/MainWindow.xaml.cs index cf233e6..defeb6f 100644 --- a/DS4Windows/DS4Forms/MainWindow.xaml.cs +++ b/DS4Windows/DS4Forms/MainWindow.xaml.cs @@ -180,7 +180,14 @@ Properties.Resources.DS4Update, MessageBoxButton.YesNo, MessageBoxImage.Question using (Process p = new Process()) { p.StartInfo.FileName = System.IO.Path.Combine(Global.exedirpath, "DS4Updater.exe"); - p.StartInfo.Arguments = "-autolaunch"; + bool isAdmin = Global.IsAdministrator(); + List argList = new List(); + argList.Add("-autolaunch"); + if (!isAdmin) + { + argList.Add("-user"); + } + p.StartInfo.Arguments = string.Join(" ", argList); if (Global.AdminNeeded()) p.StartInfo.Verb = "runas";