Windows Task Scheduler - Value does not fall within the expected range.

When you create a scheduled task trigger using the Windows Task Scheduler you may see the error "Value does not fall within the expected range".



Whilst this looks like a serious error.


The issue appears to be when you create a "Monthly" scheduled task on specific days and tick the "<Select all days>" option.

Be warned the task is not updated, however if you double click the trigger again the user interface will have corrected itself by unticking the <Select all days> option, but leaving all of the days selected. You can then click OK and OK again and the task will be updated.

You can also manually check each of the days in the list.

This is the latest in a few issues I've found with the Windows Task Scheduler, as documented in this blog.



Comments

  1. You can potentially lose data because of this bug. If you create a new trigger 'On a schedule', pick 'Monthly', select a month, pick 'First' and 'Last', then select all days. Now press OK, then press OK again, the error appears. When you re-open this trigger, you will notice only 'First' is picked and 'Last' has been deselected!

    ReplyDelete

Post a Comment

Popular posts from this blog

Windows Server 2016, 2019, 2022, Windows 10 and Windows 11: Date and time "Some settings are managed by your organization".

TFTPD32 or TFTPD64 reports Bind error 10013 An attempt was made to access a socket in a way forbidden by its access permissions.

Windows Server 2019 desktop icons such as My Computer, Windows cannot access the specified device, path, or file.