Hi,
I am having very strange issue with Task Scheduler.
I can create run or delete scheduled stasks, but I cannot edit them.
Whatever edit to a task (my task) results in error 2147750680.
For example, change only the description.

I get same error also when I try to import task (xml).
I tried also with powershell, but there I got other error which I don't understand.
Set-ScheduledTask : The task XML contains a value which is incorrectly formatted or out of range.
(44,4):Task:
At line:1 char:9
+ $task | Set-ScheduledTask
+ ~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (PS_ScheduledTask:Root/Microsoft/...S_ScheduledTask) [Set-ScheduledTask],
CimException
+ FullyQualifiedErrorId : HRESULT 0x80041318,Set-ScheduledTask
My user have admin privileges. But even if I run Task scheduler or powershell as admin, I get the same issue.
As a workaround, I can delete the task and recreate it from scratch with whatever settings I need, but that is not very convenient.
I am running Windows 11 23H2 22631.2506, that was recently upgraded from 11 22H2. Before the upgrade, I think task scheduler was working fine. I have also another machine with same windows 11, but there is no such problem with task scheduler.
Need help to fix this issue without reinstalling my machine.