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

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.