Storm season is back, bringing with it the potential for significant weather events. If you have clients in areas prone to infrastructure disruption, visit the Disaster Recovery Resources guide for preparedness information. Datto recommends performing proactive disaster recovery testing to mitigate potential downtime. See our articles about the importance of disaster recovery testing and Preparing For A Cloud Virtualization Test: Policies, Procedures, And Partner Responsibilities to learn more. For live updates, follow @datto on Twitter.

Final Error (-2 The System Cannot Find The File Specified.)



This article describes the causes and solutions to the ShadowSnap Agent error "STC Failure occurred mid transfer. Final Error (-2 The System Cannot Find The File Specified.)"


  • ShadowSnap Agent


  • A common cause for this error is a damaged disk on the protected machine, or bad sectors on the physical-layer of a protected volume.
  • It can also indicate a corrupted ShadowProtect installation or conflicting ShadowProtect installs (Previous versions, Server, Desktop, non-MSP installs)
  • There is insufficient space in shadow storage to use the VSS snapshot during the ShadowProtect backup process. For additional information about troubleshooting Shadow Storage issues, review this StorageCraft Knowledge Base article (external link).


  1. Set Share Compatibility Mode from the advanced options tab on the agent, and ensure there is a public DNS entry in the Networking tab.
  2. Check the agent version running on the production machine, and update it if necessary.
  3. Make sure that no previous versions of the software have been installed and no ShadowProtect backup jobs are being run.
  4. Check Device Manager for any abandoned 'StorageCraft Snapshot' devices. These may be listed under 'Other devices' or 'System devices' and may require enabling 'Show hidden devices'. If they are grayed out, right click on the item and then choose Uninstall.
  5. Force a differential merge from the Advanced section under the Configure Agent Settings page.
  6. Run a chkdsk /r to fix and repair any bad disk sectors on the target server.

Advanced Solution

If all of the previous steps have failed, you can try an advanced solution.

This involves editing the Windows registry, so proceed with extreme caution.
  • Go to the Windows menu, and type regedit into the search bar.
  • In the Registry Editor, click the File menu, and click Export...
  • Save a backup of your registry.
  • Next, navigate to this key:

Delete the folders inside of this key, as shown in Figure 1.

Figure 1: Delete STC snapshot keys

If you receive a permissions error, try the following procedure:

  1. Download PsExec from
  2. From the command line in the same directory as psexec.exe, run the following command:
    psexec.exe -hsi regedit.exe
  3. Again, try to remove this key:

Repair agent communications with the protected system, and attempt the backup again.

Was this article helpful?

1 out of 2 found this helpful

You must sign in before voting on this article.

Calling all Partners! We want to hear your feedback! Please participate in this quick survey and help us build a better, more-relevant Knowledge Base!

Want to talk about it? Head on over to our Community Forum!