Center Startup Task [hot] - Intel Graphics Command

CreateStartupTask();

using (TaskService ts = new TaskService()) ts.RootFolder.DeleteTask(TaskName, false); Console.WriteLine("Task removed.");

But writing directly is risky. Instead, launch the app with a specific command line (some versions support --apply-profile "Gaming" – check yours). intel graphics command center startup task

var dirs = Directory.GetDirectories(windowsAppsPath, "IntelGraphicsExperience*"); foreach (var dir in dirs) string exePath = Path.Combine(dir, "IntelGraphicsCommandCenter.exe"); if (File.Exists(exePath)) return exePath; return null;

// Create a new task TaskDefinition td = ts.NewTask(); td.RegistrationInfo.Description = "Launches Intel Graphics Command Center at user login"; td.Principal.LogonType = TaskLogonType.InteractiveToken; But writing directly is risky. Instead

$installPath = $appxPackage.InstallLocation $exePath = Join-Path $installPath "IntelGraphicsCommandCenter.exe"

static void Main()

// Action: start the EXE td.Actions.Add(new ExecAction(exePath, "", null));