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

Error 0x80070520 occurs while saving a Protection Plan

You are creating 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.