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.

StorageCraft / ShadowProtect Service Failure: Desktop Heap Allocation Issues


Issue Symptoms

On a Windows agent, the StorageCraft or ShadowProtect services might fail to start when invoked, leading to "Backup failed as Backup job was unable to be assigned (500, 401, 403, 404) / Job Assign Failed!" errors.

On investigation of the Windows Event Logs, an error similar to the following is observed:

Log Name: System
Source: Win32k
Date: 24-12-2013 20:51:59
Event ID: 243
Task Category: None
Level: Warning
Keywords: Classic
User: N/A
A desktop heap allocation failed.


From the Microsoft Developer Network:

"Every desktop object on the system has a desktop heap associated with it. The desktop object uses the heap to store menus, hooks, strings, and windows. The system allocates desktop heap from a system-wide 48-MB buffer. In addition to desktop heaps, printer, and font drivers also use this buffer.

Desktops are associated with window stations. A window station can contain zero or more desktops. The size of the desktop heap allocated for a desktop associated with a window station can be changed in the following registry value."

After this error occurs, the ShadowSnap agent software can not communicate with Windows correctly.


To correct this error, you will need to increase desktop heap moving forward. This error is a Microsoft error, and Datto is unable to make specific recommendations as to the amount of desktop heap which should be allocated to the protected system.

Additional Resources

MSDN: Desktop Heap Overview

Was this article helpful?

0 out of 0 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!