time-clock-circle multiple-users-1 bin-paper-1 smiley-indifferent view-off alert-diamond envelope-letter rating-star network-browser pencil-write ticket-1 button-record headphones-customer-support close synchronize-arrows-1 common-file-stack close-quote arrow-down-2 multiple-circle attachment-1 folder-file-1 disable smiley-indifferent shield-warning love-it smiley-smile-1_1 check-circle-1 time-clock-midnight floppy-disk view smiley-unhappy book-star lock-unlock-1 arrow-right-1 archive smiley-unhappy send-email-1 hierarchy-9 open-quote add-circle-bold search remove-circle cog-1 filter-1 hyperlink-2 analytics-pie-2 flying-insect-honey navigation-menu-horizontal pencil-1 smiley-thrilled check-1 arrow-up-1 lock-2 navigation-menu add layout-module-1 archive arrow-left-1 wench arrow-down-1 multiple-neutral-1 expand-6 close drawer-send alarm-bell-1 social-media-twitter keyboard-arrow-up ticket-1 copy-paste rating-star download-thick-bottom information-circle smiley-sad-1 single-neutral-actions remove-square-1 file-code pencil-1 keyboard-arrow-down smiley-sad-1 cog single-neutral add-circle move-to-top list-bullets expand-6 undo tags-double smiley-happy view-1 messages-bubble-square print-text add-square smiley-happy credit-card-1 envelope-letter diagram-fall-down

Error 0x80070520 occurs while saving a Protection Plan

In Archive Manager, you create a new Protection Plan and when you click Finish a Task Scheduler dialog pops up with an error.

You are logged on to the Archive Server with a local or domain Admin account and you are running the Archive Manager to create a new protection plan. When you complete the Wizard, and click Finish and error occurs with message “An error occurred attempting to save the ‘Run As’ account information for the scheduled task… Please try again.” The specific error is “The specified logon session does not exist. It may have already been terminated. (Exception from HRESULT: 0x80070520)”.  Error code 0x80070520 is also known as error code 2147943712 or Windows Error 1312L.

The dialog displayed is shown below.

The error is the result of a local or global security policy setting has been configured to disallow saving account credentials. The policy setting is found under Security Options -> Network access: Do not allow storage of passwords and credentials for network authentication, as show below for Local Policies. The Default is ‘Disabled’ the specific error above occurs when the setting is ‘Enabled’.

To save the Windows Task Schedule for the Protection Plan configured, temporarily disable the setting. Try again to save the Protection Plan by clicking Finish, then enable the setting.

A system reboot is generally not required when changing the setting.

This security setting determines whether Credential Manager saves passwords and credentials for later use when it gains domain authentication.

The Archive Manager and will configure schedule task for various operation and require Domain Admin rights to access system and network resources to perform backup and restore functionality.

Details of the security setting are shown below.