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.

STC Failure Occurred Mid Transfer (6, 'closehandle', 'the handle is invalid.')



This article describes the cause and possible solution for the error: STC Failure Occurred Mid Transfer (6, 'closehandle', 'the handle is invalid.')


This error typically appears when there is an issue with the ShadowSnap agent communications. This is a Python error that could signify a corrupted ShadowSnap install.



  • If this error is a result of a first time backup, reinstall the ShadowSnap agent using the PsExec utility:
  • Ensure that there are antivirus exceptions for the StorageCraft directories and services.
  • Force a differential merge from the Advanced section under the Configure Agent Settings page.
  • If the error persists, contact Datto Technical Support.

Was this article helpful?

0 out of 0 found this helpful

You must sign in before voting on this article.

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