| Previous | Next |
| SCHED_E_UNKNOWN_OBJECT_VERSION | SCHED_E_SERVICE_NOT_RUNNING |
SCHED_E_UNSUPPORTED_ACCOUNT_OPTION
SCHED_E_UNSUPPORTED_ACCOUNT_OPTION means the task combines account settings and run-time options that Task Scheduler does not support together. The account can exist and the password can be correct while the selected logon model is still invalid for the requested configuration.
Common configuration boundary
Task Scheduler combines the principal, the user and password passed during registration, and a TASK_LOGON_TYPE. Microsoft documents restrictions for these choices: password and S4U registration do not use a group as the task security context, and S4U runs without stored credentials, network access, or access to encrypted files.
Fix the design, not only the value
- Decide whether the task must run interactively, under a stored password, under S4U, as a group, or as a service account.
- Then supply only the credentials and registration options compatible with that model.
- Test access to the actual network and protected resources from the task’s execution context, not from an administrator’s desktop.
Microsoft: Task Scheduler status codes · Microsoft: RegisterTaskDefinition · Microsoft: security contexts for tasks
Looking for a different code? Search another status or error code.