taskschd.dll Error in Windows 10 and 11: Scheduled task errors

A scheduled backup or maintenance job reports a Task Scheduler error, or a COM client names taskschd.dll.
What taskschd.dll does
This Windows library exposes the newer Task Scheduler API used to register, start and inspect scheduled tasks.
Start with this check
Run the task once from Task Scheduler and record Last Run Result. Compare failure at registration, task launch and inside the launched program.
If a repeatable crash closes the app, open View reliability history in Start. Select the matching event and save its technical details if available, especially the faulting application, module path and exception code. Keep the full error from any installer or tool as well.
Choose the repair for your situation
Check the action’s executable and Start in folder, account, privileges and triggers. Keep credentials out of logs. If the manual task works under your account but the scheduled run fails, verify which authorized account the task uses.
If the same failure appears in several built-in Windows tools, record the separate errors and whether they began after an update. For suspected corruption of protected Windows files, follow Microsoft’s DISM and System File Checker instructions. Run DISM before SFC, read the results and restart before repeating the original test.
Confirm the repair
Run the task under its usual trigger or account and confirm the job actually produces its expected output. If the error returns, compare its wording, module and trigger with your original notes so the next repair can address the right failure.
Avoid standalone DLL downloads. Use the Windows servicing path, the hardware vendor’s supported driver, or the official application installer as appropriate for the affected component.
See wevtapi.dll troubleshooting and the DLL Errors & Fixes Library. Reference: Microsoft Learn’s Task Scheduler documentation.