We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

ShayanFiroozi
Posts: 3
Joined: Sat Aug 05, 2023 9:55 pm

Task Scheduler Priority

Please add Task Scheduler Priority to the Task Scheduler Settings.
The Default value is 7 ( when the task exported to the .xml file ) which is not suitable !
The app will run with low priority and has very bad performance , specially on Windows Server 2022.

This link may help -> https://learn.microsoft.com/en-us/windo ... s-priority

Thank You.
Liviu
Posts: 1420
Joined: Tue Jul 13, 2021 11:29 am
Contact: Website

Re: Task Scheduler Priority

Hello,

As I can see, there is also no way to change this setting from the UI of the Windows Task Scheduler.

What you can try is to create a custom action (e.g a PowerShell script) to set this parameter after task creation.

You can try using Set-ScheduledTask to modify an existing task.

For example:

Code: Select all

$task = Get-ScheduledTask -TaskName '...' // Your task's name
$settings = $task.Settings
$settings.Priority = 4
// For possible values see https://learn.microsoft.com/en-us/windows/win32/taskschd/tasksettings-priority#remarks
Set-ScheduledTask -TaskName $taskName -Settings $settings
Hope this helps!

Best regards,
Liviu
________________________________________
Liviu Sandu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”