0x80070005 - Access is denied error message when scheduling a profile

When scheduling a profile you may receive this error.


There are several possible reasons for getting this error message from the Windows Task Scheduler:

  • You've entered the wrong password. The password you use must be the same one you use to login to Windows. If you do not have a login password then you do not need to enter any password. If you are on a domain check to make sure the username in the schedule is the same when you login as, e.g. domain\username
  • You have a blank/empty password and have not allowed SyncBackLite/SE/Pro to remove that security restriction in Windows. When you schedule a profile in SyncBackLite/SE/Pro, and it detects that security restriction is in place, it will prompt you to remove it unless you've configured it not to (see Preferences->Options, and the checkbox "Prompt me to remove the blank password restriction...").
  • You are using Windows 2003 and are not an administrator. In Windows 2003, only Administrator users can schedule tasks. The error message "SchedulingAgent.Enum Result: $80070005" is given when attempting to schedule a task as a non-administrator.
  • Vista and later versions of Windows also require Scheduled Tasks to be created by an Administrator. This is because Scheduled Tasks in these versions of Windows circumvent User Access Control (because no-one may be present to answer any UAC prompt), so that you need to be an Administrator to have the privileges to create such Tasks in the first place.
  • Depending on the security policy of your installation, you may also need to be an Administrator to create schedules.
  • If acceptable, you could try setting the profile to run only when you are logged in. This means no password is required and so it may resolve the issue.