Hello,
When Task Scheduler prompts for a password to complete a task, it typically requires credentials for a user account with administrative privileges. If you're using the built-in Administrator account and still encountering issues, it's possible that the account is either disabled, lacks proper permissions, or is restricted by local security policies.
We recommend the following steps:
Ensure the built-in Administrator account is enabled and has a password set.
Try creating a new local administrator account and use its credentials when scheduling the task.
Confirm that User Account Control (UAC) settings are not preventing elevation.
If the task is set to run whether the user is logged in or not, make sure to check “Run with highest privileges” in the task properties.
If my answer is useful for you, please vote for it.
Best regards,
Quinnie Quoc.