When you try to publish the SharePoint 2010 reusable or list workflow using SharePoint designer 2013 you will get following exception in UI. This could be because during the workflow publishing phase, SharePoint will create few temporary files under the temp folder. As part of the clean-up process the w3wp process will delete these temporary files at a later stage. Sometimes the process deletes the folder itself instead of deleting the files alone due to which the workflow may fail to publish. Solution: 1. Navigate to C:\Users\<service-acct>\AppData\Local\Temp on both the server (WFE1 and WFE2) 2. Create a text file inside the temp folder and in the properties check read-only option. 3. Reset iis /noforce 4. Publish the workflow. If the temp folder is not available, please create one and add the file inside it.